mychart

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartLine

type ChartLine struct {
	ChartA []float64
	ChartB []float64
	Line1  []float64
	Line2  []float64
	Line3  []float64
	Line4  []float64
}

func (*ChartLine) CreatePNG

func (cl *ChartLine) CreatePNG() error

type TimeLine

type TimeLine struct {
	Name  string
	Data  map[int64]float64
	Color style.Color
}

type TimeLineChart

type TimeLineChart struct {
	TimestampList []int64
	TimeData      []TimeLine
	UpperValue    float64
	LowerValue    float64
	YAxisName     string
	NoUpperLower  bool
	ShowCI        bool
	DP            uint // 小數位數

	Width  int
	Height int
	// contains filtered or unexported fields
}

func (*TimeLineChart) Draw

func (tlc *TimeLineChart) Draw(fontfile string, ioWriter io.Writer)

Jump to

Keyboard shortcuts

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