Documentation ¶ Index ¶ type Point type PointSet func NewPointSet() PointSet func (ps *PointSet) Inflate() func (ps *PointSet) Slice(sortDesc bool) []Point func (ps *PointSet) TotalValueFloat() float64 type PointXY type PointXYs func (pts PointXYs) XAndYSeries() ([]float64, []float64) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Point ¶ type Point struct { Name string IsFloat bool AbsoluteInt int64 AbsoluteFloat float64 Percentage float64 PercentageNot float64 } type PointSet ¶ type PointSet struct { IsFloat bool PointsMap map[string]Point } func NewPointSet ¶ func NewPointSet() PointSet func (*PointSet) Inflate ¶ func (ps *PointSet) Inflate() func (*PointSet) Slice ¶ func (ps *PointSet) Slice(sortDesc bool) []Point func (*PointSet) TotalValueFloat ¶ func (ps *PointSet) TotalValueFloat() float64 type PointXY ¶ added in v2.18.0 type PointXY struct { X float64 Y float64 } type PointXYs ¶ added in v2.18.0 type PointXYs []PointXY func (PointXYs) XAndYSeries ¶ added in v2.18.0 func (pts PointXYs) XAndYSeries() ([]float64, []float64) Source Files ¶ View all Source files point.go pointxy.go Click to show internal directories. Click to hide internal directories.