Documentation ¶
Index ¶
- type Axis
- type Bubble
- type BubbleBuilder
- func (bb *BubbleBuilder) Build() *Bubble
- func (bb *BubbleBuilder) WithDimension(dimension string) *BubbleBuilder
- func (bb *BubbleBuilder) WithGroup(group string) *BubbleBuilder
- func (bb *BubbleBuilder) WithSize(size *BubbleSize) *BubbleBuilder
- func (bb *BubbleBuilder) WithValueSize(v float64) *BubbleBuilder
- func (bb *BubbleBuilder) WithValueX(v interface{}) *BubbleBuilder
- func (bb *BubbleBuilder) WithValueY(v interface{}) *BubbleBuilder
- func (bb *BubbleBuilder) WithX(x *Axis) *BubbleBuilder
- func (bb *BubbleBuilder) WithY(y *Axis) *BubbleBuilder
- type BubbleSize
- type CustomData
- type CustomInParams
- type CustomState
- type Data
- type DataBuilder
- type IBubbleGraph
- type IBubbleGraphStdOps
- type Options
- type OptionsBuilder
- func (o *OptionsBuilder) Build() *Options
- func (o *OptionsBuilder) WithDimension(dimension string) *OptionsBuilder
- func (o *OptionsBuilder) WithEnable(enable bool) *OptionsBuilder
- func (o *OptionsBuilder) WithPrecision(precision structure.Precision) *OptionsBuilder
- func (o *OptionsBuilder) WithType(dataType structure.Type) *OptionsBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bubble ¶
type Bubble struct { X *Axis `json:"x"` Y *Axis `json:"y"` Size *BubbleSize `json:"size"` Group string `json:"group"` Dimension string `json:"dimension"` }
Bubble .
type BubbleBuilder ¶
type BubbleBuilder struct {
// contains filtered or unexported fields
}
BubbleBuilder .
func (*BubbleBuilder) WithDimension ¶
func (bb *BubbleBuilder) WithDimension(dimension string) *BubbleBuilder
WithDimension .
func (*BubbleBuilder) WithGroup ¶
func (bb *BubbleBuilder) WithGroup(group string) *BubbleBuilder
WithGroup .
func (*BubbleBuilder) WithSize ¶
func (bb *BubbleBuilder) WithSize(size *BubbleSize) *BubbleBuilder
WithSize .
func (*BubbleBuilder) WithValueSize ¶
func (bb *BubbleBuilder) WithValueSize(v float64) *BubbleBuilder
WithValueSize .
func (*BubbleBuilder) WithValueX ¶
func (bb *BubbleBuilder) WithValueX(v interface{}) *BubbleBuilder
WithValueX .
func (*BubbleBuilder) WithValueY ¶
func (bb *BubbleBuilder) WithValueY(v interface{}) *BubbleBuilder
WithValueY .
type BubbleSize ¶
type BubbleSize struct { Value float64 `json:"value"` Structure *structure.DataStructure `json:"structure"` }
BubbleSize .
type CustomData ¶
type CustomData interface { CustomDataPtr() interface{} EncodeFromCustomData(customDataPtr interface{}, stdDataPtr *Data) DecodeToCustomData(stdDataPtr *Data, customDataPtr interface{}) }
CustomData is custom data handler of bubble graph.
type CustomInParams ¶
type CustomInParams interface { CustomInParamsPtr() interface{} EncodeFromCustomInParams(customInParamsPtr interface{}, stdInParamsPtr *cptype.ExtraMap) DecodeToCustomInParams(stdInParamsPtr *cptype.ExtraMap, customInParamsPtr interface{}) }
CustomInParams is custom inParams handler of bubble graph.
type CustomState ¶
type CustomState interface { CustomStatePtr() interface{} EncodeFromCustomState(customStatePtr interface{}, stdStatePtr *cptype.ExtraMap) DecodeToCustomState(stdStatePtr *cptype.ExtraMap, customStatePtr interface{}) }
CustomState is custom state handler of bubble graph.
type Data ¶
type Data struct { Title string `json:"title"` List []*Bubble `json:"list"` XOptions *Options `json:"xOptions"` YOptions []*Options `json:"yOptions"` }
Data includes List.
type DataBuilder ¶
type DataBuilder struct {
// contains filtered or unexported fields
}
DataBuilder .
func (*DataBuilder) WithBubble ¶
func (d *DataBuilder) WithBubble(bubbles ...*Bubble) *DataBuilder
WithBubble .
func (*DataBuilder) WithTitle ¶
func (d *DataBuilder) WithTitle(title string) *DataBuilder
WithTitle .
func (*DataBuilder) WithXOptions ¶
func (d *DataBuilder) WithXOptions(options *Options) *DataBuilder
WithXOptions .
func (*DataBuilder) WithYOptions ¶
func (d *DataBuilder) WithYOptions(options ...*Options) *DataBuilder
WithYOptions .
type IBubbleGraph ¶
type IBubbleGraph interface { cptype.IComponent IBubbleGraphStdOps }
IBubbleGraph bubble graph interface
type Options ¶
type Options struct { Dimension string `json:"dimension,omitempty"` Structure *structure.DataStructure `json:"structure"` }
Options .
type OptionsBuilder ¶
type OptionsBuilder struct {
// contains filtered or unexported fields
}
OptionsBuilder .
func (*OptionsBuilder) WithDimension ¶
func (o *OptionsBuilder) WithDimension(dimension string) *OptionsBuilder
WithDimension .
func (*OptionsBuilder) WithEnable ¶
func (o *OptionsBuilder) WithEnable(enable bool) *OptionsBuilder
WithEnable .
func (*OptionsBuilder) WithPrecision ¶
func (o *OptionsBuilder) WithPrecision(precision structure.Precision) *OptionsBuilder
WithPrecision .
func (*OptionsBuilder) WithType ¶
func (o *OptionsBuilder) WithType(dataType structure.Type) *OptionsBuilder
WithType .
Click to show internal directories.
Click to hide internal directories.