types

package
v2.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 0 Imported by: 101

Documentation

Index

Constants

View Source
const (
	ChartBar           = "bar"
	ChartBar3D         = "bar3D"
	ChartBoxPlot       = "boxplot"
	ChartCartesian3D   = "cartesian3D"
	ChartEffectScatter = "effectScatter"
	ChartFunnel        = "funnel"
	ChartGauge         = "gauge"
	ChartGeo           = "geo"
	ChartGraph         = "graph"
	ChartHeatMap       = "heatmap"
	ChartKline         = "candlestick"
	ChartLine          = "line"
	ChartLine3D        = "line3D"
	ChartLiquid        = "liquidFill"
	ChartMap           = "map"
	ChartParallel      = "parallel"
	ChartPie           = "pie"
	ChartRadar         = "radar"
	ChartSankey        = "sankey"
	ChartScatter       = "scatter"
	ChartScatter3D     = "scatter3D"
	ChartSurface3D     = "surface"
	ChartThemeRiver    = "themeRiver"
	ChartWordCloud     = "wordCloud"
	ChartTree          = "tree"
	ChartTreeMap       = "treemap"
	ChartSunburst      = "sunburst"
	ChartCustom        = "custom"
)

Chart Type contains string representations of chart types.

View Source
const (
	ThemeChalk         = "chalk"
	ThemeEssos         = "essos"
	ThemeInfographic   = "infographic"
	ThemeMacarons      = "macarons"
	ThemePurplePassion = "purple-passion"
	ThemeRoma          = "roma"
	ThemeRomantic      = "romantic"
	ThemeShine         = "shine"
	ThemeVintage       = "vintage"
	ThemeWalden        = "walden"
	ThemeWesteros      = "westeros"
	ThemeWonderland    = "wonderland"
)

Theme Type contains string representations of theme types.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool added in v2.3.0

type Bool *bool

Bool a wrapper type of *bool, use opts.Bool to simply convert it.

type Float added in v2.4.0

type Float *float32

Bool a wrapper type of *bool, use opts.Bool to simply convert it.

type FuncStr added in v2.4.0

type FuncStr string

FuncStr a pure JavaScrip function string or special formatted string use opts.FuncOpts or opts.FuncStripCommentsOpts to embed JavaScript.

type Index added in v2.3.1

type Index struct {
	// contains filtered or unexported fields
}

type Int added in v2.4.0

type Int *int

Bool a wrapper type of *bool, use opts.Bool to simply convert it.

type OrderedSet

type OrderedSet struct {
	Values []string
	// contains filtered or unexported fields
}

OrderedSet represents an ordered set.

func (*OrderedSet) Add

func (o *OrderedSet) Add(item string)

Add adds a new item into the ordered set

func (*OrderedSet) Clear added in v2.4.0

func (o *OrderedSet) Clear()

func (*OrderedSet) Contains added in v2.3.1

func (o *OrderedSet) Contains(item string) bool

func (*OrderedSet) Init

func (o *OrderedSet) Init(items ...string)

Init creates a new OrderedSet instance, and adds any given items into this set.

func (*OrderedSet) Remove added in v2.3.0

func (o *OrderedSet) Remove(item string)

func (*OrderedSet) Size added in v2.3.1

func (o *OrderedSet) Size() int

type String added in v2.4.0

type String string

Bool a wrapper type of *bool, use opts.Bool to simply convert it.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL