chart

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Col

type Col struct {
	Name string
	Row  []Row
}

type Row

type Row struct {
	Name  string
	Value float64
}

type Table

type Table struct {
	Name string
	Col  []Col
}

func BuildTable added in v1.1.3

func BuildTable(data []map[string]string) (*Table, error)

由 xorm QueryString 结果 生成 *chart.Table

func (*Table) Sers

func (t *Table) Sers(srcSers []*etree.Element, chartType string) (sers []*etree.Element, err error)

LineChartSeries 列表

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL