piechart

package
v2.20.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 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 PieChartData

type PieChartData struct {
	Data    []PieChartDatum
	IsFloat bool
}

func (*PieChartData) AddInt64

func (d *PieChartData) AddInt64(s string, v int64)

func (*PieChartData) AddInts

func (d *PieChartData) AddInts(v map[string]int)

func (*PieChartData) Sort

func (d *PieChartData) Sort()

type PieChartDatum

type PieChartDatum struct {
	Name     string
	ValInt   int64
	ValFloat float64
	IsFloat  bool
}

func (PieChartDatum) NameWithCount

func (datum PieChartDatum) NameWithCount(defaultName string) string

Jump to

Keyboard shortcuts

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