linechart
package v2.26.5
Go to latest Published: Nov 23, 2025 License:MIT
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:13 Opens a new window with list of imports.
Imported by:1 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
- func LineChartMaterialPage(chart Chart) string
- func LineChartPage(chart google.Chart) string
- func StreamLineChartMaterialPage(qw422016 *qt422016.Writer, chart Chart)
- func StreamLineChartPage(qw422016 *qt422016.Writer, chart google.Chart)
- func TimeSeriesSetToLineChartMaterial(tss *timeseries.TimeSeriesSet, fn func(t time.Time) string) ([]google.Column, [][]any, error)
- func WriteLineChartMaterialPage(qq422016 qtio422016.Writer, chart Chart)
- func WriteLineChartPage(qq422016 qtio422016.Writer, chart google.Chart)
- type Chart
- func (chart *Chart) ChartDivOrDefault() string
- func (chart *Chart) DataMatrixJSON() []byte
- func (chart *Chart) DataTableJSON() []byte
- func (chart *Chart) LoadTimeSeriesSetMonth(tss *timeseries.TimeSeriesSet, fn func(t time.Time) string) error
- func (chart *Chart) OptionsJSON() []byte
- func (chart *Chart) PageHTML() string
- func (chart *Chart) PageTitle() string
- func (chart *Chart) WriteFilePageHTML(filename string, perm os.FileMode) error
- type Options
- type OptionsChart
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
funcLineChartPage¶added inv2.20.0
funcStreamLineChartPage¶added inv2.20.0
funcTimeSeriesSetToLineChartMaterial¶
func TimeSeriesSetToLineChartMaterial(tss *timeseries.TimeSeriesSet, fn func(ttime.Time)string) ([]google.Column, [][]any,error)
funcWriteLineChartMaterialPage¶
func WriteLineChartMaterialPage(qq422016qtio422016.Writer, chartChart)
funcWriteLineChartPage¶added inv2.20.0
func WriteLineChartPage(qq422016qtio422016.Writer, chartgoogle.Chart)
Types¶
typeChart¶added 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
funcChartFromTimeSeriesSet¶added inv2.20.0
func ChartFromTimeSeriesSet(tsstimeseries.TimeSeriesSet, yearLabelstring) (Chart,error)
func (*Chart)ChartDivOrDefault¶added inv2.20.0
func (*Chart)DataMatrixJSON¶added inv2.20.0
func (*Chart)DataTableJSON¶added inv2.20.0
func (*Chart)LoadTimeSeriesSetMonth¶added inv2.20.0
func (chart *Chart) LoadTimeSeriesSetMonth(tss *timeseries.TimeSeriesSet, fn func(ttime.Time)string)error
func (*Chart)OptionsJSON¶added inv2.20.0
typeOptions¶added inv2.20.0
type Options struct {ChartOptionsChart `json:"chart,omitempty"`Heightuint `json:"height,omitempty"`Widthuint `json:"width,omitempty"`}typeOptionsChart¶added inv2.20.0
Click to show internal directories.
Click to hide internal directories.