Documentation
¶
Index ¶
- func ColumnChartMaterialPage(chart google.Chart) string
- func StreamColumnChartMaterialPage(qw422016 *qt422016.Writer, chart google.Chart)
- func WriteColumnChartMaterialPage(qq422016 qtio422016.Writer, chart google.Chart)
- type Chart
- type IsStacked
- type Options
- type OptionsBar
- type OptionsChart
- type OptionsHAxis
- type OptionsLegend
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColumnChartMaterialPage ¶
func WriteColumnChartMaterialPage ¶
func WriteColumnChartMaterialPage(qq422016 qtio422016.Writer, chart google.Chart)
Types ¶
type Chart ¶
Chart represents the chart at: https://developers-dot-devsite-v2-prod.appspot.com/chart/interactive/docs/gallery/barchart
func (*Chart) ChartDivOrDefault ¶
func (*Chart) DataTableJSON ¶
func (*Chart) OptionsJSON ¶
type IsStacked ¶
type IsStacked string
const ( IsStackedAbsolute IsStacked = "absolute" IsStackedPercent IsStacked = "percent" IsStackedRelative IsStacked = "relative" IsStackedDefault IsStacked = IsStackedAbsolute )
type Options ¶
type Options struct {
Chart OptionsChart `json:"chart,omitempty"`
Title string `json:"title,omitempty"`
Subtitle string `json:"subtitle,omitempty"`
Width uint `json:"width,omitempty"`
Height uint `json:"height,omitempty"`
Legend OptionsLegend `json:"legend,omitempty"`
Bar OptionsBar `json:"bar"`
IsStacked IsStacked `json:"isStacked"`
HorizontalAxis OptionsHAxis `json:"hAxis"`
}
func OptionsDefault ¶
func OptionsDefault() Options
type OptionsBar ¶
type OptionsBar struct {
GroupWidth string `json:"groupWidth,omitempty"` // e.g. "95%"
}
type OptionsChart ¶
type OptionsHAxis ¶
type OptionsLegend ¶
Click to show internal directories.
Click to hide internal directories.