Skip to content

PieChartLegendOptionsBuilder🔗

Constructor🔗

func NewPieChartLegendOptionsBuilder() *PieChartLegendOptionsBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *PieChartLegendOptionsBuilder) Build() (PieChartLegendOptions, error)

AsTable🔗

func (builder *PieChartLegendOptionsBuilder) AsTable(asTable bool) *PieChartLegendOptionsBuilder

Calcs🔗

func (builder *PieChartLegendOptionsBuilder) Calcs(calcs []string) *PieChartLegendOptionsBuilder

DisplayMode🔗

func (builder *PieChartLegendOptionsBuilder) DisplayMode(displayMode common.LegendDisplayMode) *PieChartLegendOptionsBuilder

IsVisible🔗

func (builder *PieChartLegendOptionsBuilder) IsVisible(isVisible bool) *PieChartLegendOptionsBuilder

Placement🔗

func (builder *PieChartLegendOptionsBuilder) Placement(placement common.LegendPlacement) *PieChartLegendOptionsBuilder

ShowLegend🔗

func (builder *PieChartLegendOptionsBuilder) ShowLegend(showLegend bool) *PieChartLegendOptionsBuilder

SortBy🔗

func (builder *PieChartLegendOptionsBuilder) SortBy(sortBy string) *PieChartLegendOptionsBuilder

SortDesc🔗

func (builder *PieChartLegendOptionsBuilder) SortDesc(sortDesc bool) *PieChartLegendOptionsBuilder

Values🔗

func (builder *PieChartLegendOptionsBuilder) Values(values []piechart.PieChartLegendValues) *PieChartLegendOptionsBuilder

Width🔗

func (builder *PieChartLegendOptionsBuilder) Width(width float64) *PieChartLegendOptionsBuilder

See also🔗