chart

package
v0.0.0-...-13b120a Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AreaChartDataSeries

func AreaChartDataSeries(db *sqlx.DB, ref string, limit int) (*[]AreaChart, error)

Types

type AreaChart

type AreaChart struct {
	Name  string  `json:"name"`
	Point []point `json:"series"`
}

type LineChart

type LineChart struct {
	Labels           []string           `json:"labels"`
	LineChartDataset []lineChartDataset `json:"lineChartdataset"`
}

func LineDataSeries

func LineDataSeries(db *sqlx.DB, ref string, limit int) (*LineChart, error)

Jump to

Keyboard shortcuts

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