Documentation ¶
Index ¶
- Constants
- func BarChartMaterialPage(chart google.Chart) string
- func DataTableFromHistogram(h *histogram.Histogram, inclUnordered, inclZeroCount, inclZeroCountTail bool) (google.DataTable, error)
- func DataTableFromTimeSeriesSet(name string, sets []string, set timeseries.TimeSeriesSet) (google.DataTable, error)
- func StreamBarChartMaterialPage(qw422016 *qt422016.Writer, chart google.Chart)
- func WriteBarChartMaterialPage(qq422016 qtio422016.Writer, chart google.Chart)
- type Chart
- type Options
- type OptionsBar
- type OptionsHAxis
- type OptionsLegend
Constants ¶
View Source
const ( IsStackedAbsolute = "absolute" IsStackedPercent = "percent" IsStackedRelative = "relative" IsStackedDefault = IsStackedAbsolute )
Variables ¶
This section is empty.
Functions ¶
func BarChartMaterialPage ¶
func DataTableFromHistogram ¶ added in v2.20.0
func DataTableFromTimeSeriesSet ¶ added in v2.20.0
func DataTableFromTimeSeriesSet(name string, sets []string, set timeseries.TimeSeriesSet) (google.DataTable, error)
func DataTableFromTimeSeriesSet(name string, sets []string, set timeseries.TimeSeriesSet) (google.DataTable, error) {
func WriteBarChartMaterialPage ¶
func WriteBarChartMaterialPage(qq422016 qtio422016.Writer, chart google.Chart)
Types ¶
type Chart ¶ added in v2.20.0
Chart represents the chart at: https://developers-dot-devsite-v2-prod.appspot.com/chart/interactive/docs/gallery/barchart
func (*Chart) ChartDivOrDefault ¶ added in v2.20.0
func (*Chart) DataTableJSON ¶ added in v2.20.0
func (*Chart) OptionsJSON ¶ added in v2.20.0
type Options ¶ added in v2.20.0
type Options struct { Width uint `json:"width"` Height uint `json:"height"` Legend OptionsLegend `json:"legend,omitempty"` Bar OptionsBar `json:"bar"` IsStacked string `json:"isStacked"` HorizontalAxis OptionsHAxis `json:"hAxis"` }
func OptionsDefault ¶ added in v2.20.0
func OptionsDefault() Options
type OptionsBar ¶ added in v2.20.0
type OptionsBar struct {
GroupWidth string `json:"groupWidth,omitempty"`
}
type OptionsHAxis ¶ added in v2.20.0
type OptionsLegend ¶ added in v2.20.0
Click to show internal directories.
Click to hide internal directories.