VizLegendOptionsBuilder
Constructor
func NewVizLegendOptionsBuilder() *VizLegendOptionsBuilder
Methods
Build
Builds the object.
func (builder *VizLegendOptionsBuilder) Build() (VizLegendOptions, error)
AsTable
func (builder *VizLegendOptionsBuilder) AsTable(asTable bool) *VizLegendOptionsBuilder
Calcs
func (builder *VizLegendOptionsBuilder) Calcs(calcs []string) *VizLegendOptionsBuilder
DisplayMode
func (builder *VizLegendOptionsBuilder) DisplayMode(displayMode common.LegendDisplayMode) *VizLegendOptionsBuilder
IsVisible
func (builder *VizLegendOptionsBuilder) IsVisible(isVisible bool) *VizLegendOptionsBuilder
Placement
func (builder *VizLegendOptionsBuilder) Placement(placement common.LegendPlacement) *VizLegendOptionsBuilder
ShowLegend
func (builder *VizLegendOptionsBuilder) ShowLegend(showLegend bool) *VizLegendOptionsBuilder
SortBy
func (builder *VizLegendOptionsBuilder) SortBy(sortBy string) *VizLegendOptionsBuilder
SortDesc
func (builder *VizLegendOptionsBuilder) SortDesc(sortDesc bool) *VizLegendOptionsBuilder
Width
func (builder *VizLegendOptionsBuilder) Width(width float64) *VizLegendOptionsBuilder
See also