Movatterモバイル変換


[0]ホーム

URL:


linechart

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:13Imported by:1

Details

Repository

github.com/grokify/gocharts

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcLineChartMaterialPage

func LineChartMaterialPage(chartChart)string

funcLineChartPageadded inv2.20.0

func LineChartPage(chartgoogle.Chart)string

funcStreamLineChartMaterialPage

func StreamLineChartMaterialPage(qw422016 *qt422016.Writer, chartChart)

funcStreamLineChartPageadded inv2.20.0

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

funcTimeSeriesSetToLineChartMaterial

func TimeSeriesSetToLineChartMaterial(tss *timeseries.TimeSeriesSet, fn func(ttime.Time)string) ([]google.Column, [][]any,error)

funcWriteLineChartMaterialPage

func WriteLineChartMaterialPage(qq422016qtio422016.Writer, chartChart)

funcWriteLineChartPageadded inv2.20.0

func WriteLineChartPage(qq422016qtio422016.Writer, chartgoogle.Chart)

Types

typeChartadded inv2.20.0

type Chart struct {TitlestringSubtitlestringChartDivstringWidthintHeightintColumns       []google.ColumnDatagoogle.DataTableGoogleOptions *Options}

Chart provides data for Google Material Line Charts described here:https://developers.google.com/chart/interactive/docs/gallery/linechart#examples

funcChartFromTimeSeriesSetadded inv2.20.0

func ChartFromTimeSeriesSet(tsstimeseries.TimeSeriesSet, yearLabelstring) (Chart,error)

funcNewChartadded inv2.20.0

func NewChart()Chart

func (*Chart)ChartDivOrDefaultadded inv2.20.0

func (chart *Chart) ChartDivOrDefault()string

func (*Chart)DataMatrixJSONadded inv2.20.0

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

func (*Chart)DataTableJSONadded inv2.20.0

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

func (*Chart)LoadTimeSeriesSetMonthadded inv2.20.0

func (chart *Chart) LoadTimeSeriesSetMonth(tss *timeseries.TimeSeriesSet, fn func(ttime.Time)string)error

func (*Chart)OptionsJSONadded inv2.20.0

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

func (*Chart)PageHTMLadded inv2.20.0

func (chart *Chart) PageHTML()string

func (*Chart)PageTitleadded inv2.20.0

func (chart *Chart) PageTitle()string

func (*Chart)WriteFilePageHTMLadded inv2.20.2

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

typeOptionsadded inv2.20.0

type Options struct {ChartOptionsChart `json:"chart,omitempty"`Heightuint         `json:"height,omitempty"`Widthuint         `json:"width,omitempty"`}

func (*Options)Inflateadded inv2.20.0

func (opts *Options) Inflate()

func (*Options)MustJSONadded inv2.20.0

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

typeOptionsChartadded inv2.20.0

type OptionsChart struct {Titlestring `json:"title,omitempty"`Subtitlestring `json:"subtitle,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