edit graphic bar title, order, color

This commit is contained in:
2024-08-15 15:50:59 +07:00
parent 72c7e714f5
commit 31b2d6c793
13 changed files with 135 additions and 91 deletions

View File

@@ -49,6 +49,7 @@ type Piechart struct {
type Barchart struct {
Title struct {
Text string `json:"text"`
Left string `json:"left"`
} `json:"title"`
Dataset struct {
Source [][]interface{} `json:"source"`
@@ -110,6 +111,7 @@ type BarDataset struct {
type BarchartV2 struct {
Title struct {
Text string `json:"text"`
Left string `json:"left"`
} `json:"title"`
Dataset struct {
Source [][]interface{} `json:"source"`