Movatterモバイル変換


[0]ホーム

URL:


columnchart

package
v2.26.5Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2025 License:MITImports:6Imported by:0

Details

Repository

github.com/grokify/gocharts

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcColumnChartMaterialPage

func ColumnChartMaterialPage(chartgoogle.Chart)string

funcStreamColumnChartMaterialPage

func StreamColumnChartMaterialPage(qw422016 *qt422016.Writer, chartgoogle.Chart)

funcWriteColumnChartMaterialPage

func WriteColumnChartMaterialPage(qq422016qtio422016.Writer, chartgoogle.Chart)

Types

typeChart

type Chart struct {TitlestringChartDivstringDataTablegoogle.DataTableOptions   *Options}

Chart represents the chart at:https://developers-dot-devsite-v2-prod.appspot.com/chart/interactive/docs/gallery/barchart

func (*Chart)ChartDivOrDefault

func (chart *Chart) ChartDivOrDefault()string

func (*Chart)DataTableJSON

func (chart *Chart) DataTableJSON() []byte

func (*Chart)OptionsJSON

func (chart *Chart) OptionsJSON() []byte

func (*Chart)PageTitle

func (chart *Chart) PageTitle()string

func (*Chart)WriteFilePageHTML

func (chart *Chart) WriteFilePageHTML(filenamestring, permos.FileMode)error

typeIsStacked

type IsStackedstring
const (IsStackedAbsoluteIsStacked = "absolute"IsStackedPercentIsStacked = "percent"IsStackedRelativeIsStacked = "relative"IsStackedDefaultIsStacked =IsStackedAbsolute)

typeOptions

type Options struct {ChartOptionsChart  `json:"chart,omitempty"`Titlestring        `json:"title,omitempty"`Subtitlestring        `json:"subtitle,omitempty"`Widthuint          `json:"width,omitempty"`Heightuint          `json:"height,omitempty"`LegendOptionsLegend `json:"legend,omitempty"`BarOptionsBar    `json:"bar"`IsStackedIsStacked     `json:"isStacked"`HorizontalAxisOptionsHAxis  `json:"hAxis"`}

funcOptionsDefault

func OptionsDefault()Options

func (*Options)MustJSON

func (opts *Options) MustJSON() []byte

typeOptionsBar

type OptionsBar struct {GroupWidthstring `json:"groupWidth,omitempty"`// e.g. "95%"}

typeOptionsChart

type OptionsChart struct {Titlestring `json:"title"`Subtitlestring `json:"subtitle"`}

typeOptionsHAxis

type OptionsHAxis struct {MinValueint   `json:"minValue"`Ticks    []int `json:"ticks"`}

typeOptionsLegend

type OptionsLegend struct {Positionstring `json:"position,omitempty"`// ["none"]MaxLinesint    `json:"maxLines,omitempty"`}

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp