Skip to content

PieChartType🔗

Select the pie chart display style.

Definition🔗

package com.grafana.foundation.piechart.PieChartType;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonValue;


// Select the pie chart display style.
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PieChartType {
    PIE("pie"),
    DONUT("donut"),
    _EMPTY("");

    private final String value;

    private PieChartType(String value) {
        this.value = value;
    }

    @JsonValue
    public String Value() {
        return value;
    }
}