can just supply inverted ranges.
This commit is contained in:
parent
21986dbce7
commit
78cbfa62bc
7 changed files with 66 additions and 29 deletions
5
axis.go
5
axis.go
|
|
@ -25,12 +25,15 @@ const (
|
|||
// Axis is a chart feature detailing what values happen where.
|
||||
type Axis interface {
|
||||
GetName() string
|
||||
SetName(name string)
|
||||
|
||||
GetStyle() Style
|
||||
SetStyle(style Style)
|
||||
|
||||
GetTicks() []Tick
|
||||
GenerateTicks(r Renderer, ra Range, vf ValueFormatter) []Tick
|
||||
|
||||
// GetGridLines returns the gridlines for the axis.
|
||||
// GenerateGridLines returns the gridlines for the axis.
|
||||
GetGridLines(ticks []Tick) []GridLine
|
||||
|
||||
// Measure should return an absolute box for the axis.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue