add piechart dummy tab peserta

This commit is contained in:
2024-06-26 17:02:27 +07:00
parent 9008cac97d
commit 2a25c60cc2
9 changed files with 61 additions and 26 deletions

View File

@@ -38,7 +38,7 @@ func (tkh *TabKepersertaanHandler) HandleShowTabKepesertaan(c echo.Context) erro
Left string `json:"left"`
}{
Text: "Testing",
SubText: "Total Peserta 506",
SubText: "Total Peserta 560",
Left: "center",
},
Tooltip: struct {
@@ -53,7 +53,7 @@ func (tkh *TabKepersertaanHandler) HandleShowTabKepesertaan(c echo.Context) erro
}{
Top: "bottom",
Left: "center",
Orient: "vertical",
Orient: "horizontal",
},
Series: []models.Series{
{
@@ -106,7 +106,11 @@ func (tkh *TabKepersertaanHandler) HandleShowTabKepesertaan(c echo.Context) erro
return err
}
content := corporate_mcudetail.TabKepesertaan(chart.ShowChart("1", string(json)))
content := corporate_mcudetail.TabKepesertaan(
chart.ShowChart("alpha", string(json)),
chart.ShowChart("beta", string(json)),
chart.ShowChart("delta", string(json)),
)
return utils.View(c, content)
}