refactor: support custom value formatter
This commit is contained in:
parent
74a47a9858
commit
a88e607bfc
8 changed files with 30 additions and 4 deletions
|
|
@ -74,6 +74,8 @@ type ChartOption struct {
|
|||
FillArea bool
|
||||
// The child charts
|
||||
Children []ChartOption
|
||||
// The value formatter
|
||||
ValueFormatter ValueFormatter
|
||||
}
|
||||
|
||||
// OptionFunc option function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue