Skip to content

piechart🔗

Objects🔗

Builders🔗

Functions🔗

NewPieChartLegendOptions🔗

NewPieChartLegendOptions creates a new PieChartLegendOptions object.

func NewPieChartLegendOptions() *PieChartLegendOptions

NewOptions🔗

NewOptions creates a new Options object.

func NewOptions() *Options

NewFieldConfig🔗

NewFieldConfig creates a new FieldConfig object.

func NewFieldConfig() *FieldConfig

VariantConfig🔗

VariantConfig returns the configuration related to piechart panels.

This configuration describes how to unmarshal it, convert it to code, …

func VariantConfig() variants.PanelcfgConfig

PieChartLegendOptionsConverter🔗

PieChartLegendOptionsConverter accepts a PieChartLegendOptions object and generates the Go code to build this object using builders.

func PieChartLegendOptionsConverter(input PieChartLegendOptions) string

PanelConverter🔗

PanelConverter accepts a Panel object and generates the Go code to build this object using builders.

func PanelConverter(input dashboard.Panel) string