Movatterモバイル変換


[0]ホーム

URL:


google

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:8Imported by:2

Details

Repository

github.com/grokify/gocharts

Links

Documentation

Index

Constants

View Source
const (TypeNumber = "number"TypeString = "string")
View Source
const (DefaultWidth    = 900DefaultHeight   = 500DefaultChartDiv = "chart_div"ChartsLoaderJS = "https://www.gstatic.com/charts/loader.js")

Variables

This section is empty.

Functions

This section is empty.

Types

typeChartadded inv2.19.6

type Chart interface {PageTitle()stringChartDivOrDefault()stringDataTableJSON() []byteOptionsJSON() []byteWriteFilePageHTML(filenamestring, permos.FileMode)error}

typeColumn

type Column struct {TypestringNamestring}

typeColumnsadded inv2.19.0

type Columns []Column

func (Columns)Namesadded inv2.19.0

func (colsColumns) Names() []string

func (Columns)NamesAnyadded inv2.19.0

func (colsColumns) NamesAny() []any

typeDataTableadded inv2.19.6

type DataTable [][]any

funcDataTableFromHistogramadded inv2.20.0

func DataTableFromHistogram(h *histogram.Histogram, inclUnordered, inclZeroCount, inclZeroCountTailbool) (DataTable,error)

DataTableFromHistogram is tested with barchart.

funcDataTableFromHistogramSetadded inv2.25.0

func DataTableFromHistogramSet(hset *histogram.HistogramSet, histogramTypestring) (DataTable,error)

DataTableFromHistogramSet is tested with columnchart.

funcDataTableFromTimeSeriesSetadded inv2.20.0

func DataTableFromTimeSeriesSet(namestring, sets []string, settimeseries.TimeSeriesSet) (DataTable,error)

func (DataTable)MustJSONadded inv2.19.6

func (dtDataTable) MustJSON() []byte

Source Files

View all Source files

Directories

PathSynopsis
examples

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