add xs layout echarts

This commit is contained in:
2024-07-08 08:47:56 +07:00
parent f2d8207f25
commit e4364f0c4f
17 changed files with 518 additions and 336 deletions

View File

@@ -246,7 +246,7 @@ func (tkl *TabKelainanLabServices) GetDataPresentaseKelainanLab(mcuID string) (m
defer logger.Sync()
logger.Info("resp data", zap.Any("data", data))
title := ""
title := "Data Presentase Kelainan Lab"
chartData := models.BarDataset{
Source: [][]interface{}{
{"score", "amount", "product", "percentage"},

View File

@@ -64,7 +64,7 @@ func (tknl *TabKelainanNonLabServices) GetBarChartConf(title string, data models
X string "json:\"x\""
Y string "json:\"y\""
}{
X: "score",
X: "amount",
Y: "product",
},
},
@@ -243,7 +243,7 @@ func (tknl *TabKelainanNonLabServices) GetDataKelNonLab(mcuID string) (models.Ba
defer logger.Sync()
logger.Info("resp data", zap.Any("data", data))
title := ""
title := "Data Presentase Kelainan Non Lab"
chartData := models.BarDataset{
Source: [][]interface{}{
{"score", "amount", "product", "percentage"},