Skip to content

Commit

Permalink
fix: treemap align to other data types (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
Koooooo-7 committed Feb 5, 2024
1 parent 5b19468 commit 55c37f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opts/charts.go
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ type TreeData struct {
Name string `json:"name,omitempty"`

// Value of the data item.
Value int `json:"value,omitempty"`
Value interface{} `json:"value,omitempty"`

Children []*TreeData `json:"children,omitempty"`

Expand Down

0 comments on commit 55c37f2

Please sign in to comment.