add tab kelainan fisik echarts

This commit is contained in:
2024-07-01 15:58:35 +07:00
parent 1c7e223195
commit 7a22f5e4d0
20 changed files with 1012 additions and 75 deletions

View File

@@ -41,6 +41,7 @@ type Piechart struct {
Top string `json:"top"`
Left string `json:"left"`
Orient string `json:"orient"`
Height int `json:"height"`
} `json:"legend"`
Series []Series `json:"series"`
}
@@ -85,3 +86,7 @@ type Barchart struct {
} `json:"encode"`
} `json:"series"`
}
type BarDataset struct {
Source [][]interface{} `json:"source"`
}

View File

@@ -0,0 +1,7 @@
package models
type KelainanFisikDataModel struct {
Test string `db:"test"`
Total int `db:"total"`
Mcu_KelainanClasification string `db:"Mcu_KelainanClasification"`
}

View File

@@ -0,0 +1,11 @@
package models
type KelainanGlobalMCUModel struct {
Test string `db:"Test"`
Total int `db:"total"`
}
type KelainanGlobalFisikModel struct {
Mcu_KelainanName string `db:"Mcu_KelainanName"`
Total int `db:"total"`
}