com.grafana.foundation.piechart.PieChartLegendValues 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 values to display in the legend.
// - Percent: The percentage of the whole.
// - Value: The raw numerical value.
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PieChartLegendValues {
VALUE("value"),
PERCENT("percent"),
_EMPTY("");
private final String value;
private PieChartLegendValues(String value) {
this.value = value;
}
@JsonValue
public String Value() {
return value;
}
}