Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBarProps ¶
func NewBarProps(values1, values2 []int64, categories []string, title string) cptype.ComponentProps
Types ¶
type Chart ¶
type Chart struct { base.DefaultProvider Values []string `json:"values"` Categories []string `json:"categories"` }
type DataZoom ¶
type DataZoom struct { EndValue int64 `json:"endValue"` HandleSize int64 `json:"handleSize"` Orient string `json:"orient"` ShowDataShadow bool `json:"showDataShadow"` ShowDetail bool `json:"showDetail"` StartValue int64 `json:"startValue"` Throttle int64 `json:"throttle"` Type string `json:"type"` Width int64 `json:"width"` ZoomLock bool `json:"zoomLock"` }
type Option ¶
type Option struct { Animation bool `json:"animation"` DataZoom []DataZoom `json:"dataZoom"` Grid Grid `json:"grid"` Series []Series `json:"series"` XAxis []XAxis `json:"xAxis"` YAxis []YAxis `json:"yAxis"` Tooltip map[string]interface{} `json:"tooltip"` Style map[string]interface{} `json:"style"` }
type Series ¶
type Series struct { Data []Data `json:"data"` Label map[string]interface{} `json:"label"` AreaStyle map[string]interface{} `json:"areaStyle"` Emphasis map[string]interface{} `json:"emphasis"` ItemStyle map[string]interface{} `json:"itemStyle"` Stack string `json:"stack"` Tooltip map[string]interface{} `json:"tooltip"` }
Click to show internal directories.
Click to hide internal directories.