add piechart dummy tab peserta
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user