com.grafana.foundation.piechart.PieChartLabels Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grafana-foundation-sdk Show documentation
Show all versions of grafana-foundation-sdk Show documentation
A set of tools, types and libraries for building and manipulating Grafana objects.
// Code generated - EDITING IS FUTILE. DO NOT EDIT.
package com.grafana.foundation.piechart;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonValue;
// Select labels to display on the pie chart.
// - Name - The series or field name.
// - Percent - The percentage of the whole.
// - Value - The raw numerical value.
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PieChartLabels {
NAME("name"),
VALUE("value"),
PERCENT("percent"),
_EMPTY("");
private final String value;
private PieChartLabels(String value) {
this.value = value;
}
@JsonValue
public String Value() {
return value;
}
}