//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // This file is autogenerated. DO NOT EDIT. // // To regenerate, run "make gen-cue" from the repository root. //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ import * as ui from '@grafana/schema'; export const PanelModelVersion = Object.freeze([0, 0]); export enum PieChartType { Donut = 'donut', Pie = 'pie', } export enum PieChartLabels { Name = 'name', Percent = 'percent', Value = 'value', } export enum PieChartLegendValues { Percent = 'percent', Value = 'value', } export interface PieChartLegendOptions extends ui.VizLegendOptions { values: PieChartLegendValues[]; } export const defaultPieChartLegendOptions: Partial = { values: [], }; export interface PanelOptions extends ui.OptionsWithTooltip, ui.SingleStatBaseOptions { displayLabels: PieChartLabels[]; legend: PieChartLegendOptions; pieType: PieChartType; } export const defaultPanelOptions: Partial = { displayLabels: [], }; export interface PanelFieldConfig extends ui.HideableFieldConfig {}