refactor: support custom value formatter

This commit is contained in:
vicanso 2022-10-21 20:37:09 +08:00
parent 74a47a9858
commit a88e607bfc
8 changed files with 30 additions and 4 deletions

View file

@ -55,6 +55,7 @@ func TestMarkLine(t *testing.T) {
StrokeColor: drawing.ColorBlack,
Series: series,
Range: NewRange(AxisRangeOption{
Painter: p,
Min: 0,
Max: 5,
Size: p.Height(),