edit graphic bar title, order, color
This commit is contained in:
@@ -94,12 +94,12 @@ func (tkf *TabKelainanFisikHandler) HandleShowTabKelainanFisik(c echo.Context) e
|
||||
}
|
||||
|
||||
chartsxs := []templ.Component{
|
||||
chart.ShowChartFixed("bmixs", string(bmijson), "400px", "450px"),
|
||||
chart.ShowChartFixed("hprxs", string(hiperjson), "400px", "450px"),
|
||||
chart.ShowChartFixed("rfkxs", string(refraksijson), "400px", "450px"),
|
||||
chart.ShowChartFixed("alkxs", string(alkoholjson), "400px", "450px"),
|
||||
chart.ShowChartFixed("rkkxs", string(merokokjson), "400px", "450px"),
|
||||
chart.ShowChartFixed("olhxs", string(olahragajson), "400px", "450px"),
|
||||
chart.ShowChartFixed("bmixs", string(bmijson), "300px", "450px"),
|
||||
chart.ShowChartFixed("hprxs", string(hiperjson), "300px", "450px"),
|
||||
chart.ShowChartFixed("rfkxs", string(refraksijson), "300px", "450px"),
|
||||
chart.ShowChartFixed("alkxs", string(alkoholjson), "300px", "450px"),
|
||||
chart.ShowChartFixed("rkkxs", string(merokokjson), "300px", "450px"),
|
||||
chart.ShowChartFixed("olhxs", string(olahragajson), "300px", "450px"),
|
||||
}
|
||||
|
||||
chartsmd := []templ.Component{
|
||||
@@ -112,12 +112,12 @@ func (tkf *TabKelainanFisikHandler) HandleShowTabKelainanFisik(c echo.Context) e
|
||||
}
|
||||
|
||||
chartslg := []templ.Component{
|
||||
chart.ShowChartFixed("bmilg", string(bmijson), "600px", "450px"),
|
||||
chart.ShowChartFixed("hprlg", string(hiperjson), "600px", "450px"),
|
||||
chart.ShowChartFixed("rfklg", string(refraksijson), "600px", "450px"),
|
||||
chart.ShowChartFixed("alklg", string(alkoholjson), "600px", "450px"),
|
||||
chart.ShowChartFixed("rkklg", string(merokokjson), "600px", "450px"),
|
||||
chart.ShowChartFixed("olhlg", string(olahragajson), "600px", "450px"),
|
||||
chart.ShowChartFixed("bmilg", string(bmijson), "500px", "450px"),
|
||||
chart.ShowChartFixed("hprlg", string(hiperjson), "500px", "450px"),
|
||||
chart.ShowChartFixed("rfklg", string(refraksijson), "500px", "450px"),
|
||||
chart.ShowChartFixed("alklg", string(alkoholjson), "500px", "450px"),
|
||||
chart.ShowChartFixed("rkklg", string(merokokjson), "500px", "450px"),
|
||||
chart.ShowChartFixed("olhlg", string(olahragajson), "500px", "450px"),
|
||||
}
|
||||
|
||||
fisik, err := tkf.TabKelainanFisikServices.GetKelainanFisikPresentase(id)
|
||||
@@ -133,7 +133,7 @@ func (tkf *TabKelainanFisikHandler) HandleShowTabKelainanFisik(c echo.Context) e
|
||||
barchart := []templ.Component{
|
||||
chart.ShowChartFixed("fislg", string(fisikjson), "1000px", "450px"),
|
||||
chart.ShowChartFixed("fismd", string(fisikjson), "500px", "450px"),
|
||||
chart.ShowChartFixed("fisxs", string(fisikjson), "250px", "450px"),
|
||||
chart.ShowChartFixed("fisxs", string(fisikjson), "350px", "450px"),
|
||||
}
|
||||
|
||||
content := corporate_mcudetail.Tabkelainanfisik(
|
||||
|
||||
@@ -107,11 +107,11 @@ func (tkl *TabKelainanLabHandler) HandleShowTabKelainanLab(c echo.Context) error
|
||||
|
||||
chartslg := []templ.Component{
|
||||
chart.ShowChartFixed("dataprelg", string(dataprejson), "1000px", "450px"),
|
||||
chart.ShowChartFixed("hemalg", string(hemajson), "600px", "450px"),
|
||||
chart.ShowChartFixed("urinlg", string(urinjson), "600px", "450px"),
|
||||
chart.ShowChartFixed("hatilg", string(hatijson), "600px", "450px"),
|
||||
chart.ShowChartFixed("lemaklg", string(lemakjson), "600px", "450px"),
|
||||
chart.ShowChartFixed("glukoslg", string(glukosjson), "600px", "450px"),
|
||||
chart.ShowChartFixed("hemalg", string(hemajson), "500px", "450px"),
|
||||
chart.ShowChartFixed("urinlg", string(urinjson), "500px", "450px"),
|
||||
chart.ShowChartFixed("hatilg", string(hatijson), "500px", "450px"),
|
||||
chart.ShowChartFixed("lemaklg", string(lemakjson), "500px", "450px"),
|
||||
chart.ShowChartFixed("glukoslg", string(glukosjson), "500px", "450px"),
|
||||
}
|
||||
|
||||
content := corporate_mcudetail.TabKelainanLab(
|
||||
|
||||
@@ -78,7 +78,7 @@ func (tknl *TabKelainanNonLabHandler) HandleShowTabKelainanNonLab(c echo.Context
|
||||
}
|
||||
|
||||
chartsxs := []templ.Component{
|
||||
chart.ShowChartFixed("datanonxs", string(dataprejson), "300px", "450px"),
|
||||
chart.ShowChartFixed("datanonxs", string(dataprejson), "350px", "450px"),
|
||||
chart.ShowChartFixed("jantungxs", string(jantungjson), "300px", "450px"),
|
||||
chart.ShowChartFixed("thoraxxs", string(thrxjson), "300px", "450px"),
|
||||
chart.ShowChartFixed("spiroxs", string(autospirojson), "300px", "450px"),
|
||||
@@ -87,18 +87,18 @@ func (tknl *TabKelainanNonLabHandler) HandleShowTabKelainanNonLab(c echo.Context
|
||||
|
||||
chartsmd := []templ.Component{
|
||||
chart.ShowChartFixed("datanonmd", string(dataprejson), "500px", "450px"),
|
||||
chart.ShowChartFixed("jantungmd", string(jantungjson), "500px", "450px"),
|
||||
chart.ShowChartFixed("thoraxmd", string(thrxjson), "500px", "450px"),
|
||||
chart.ShowChartFixed("spiromd", string(autospirojson), "500px", "450px"),
|
||||
chart.ShowChartFixed("dengarmd", string(pendengaranjson), "500px", "450px"),
|
||||
chart.ShowChartFixed("jantungmd", string(jantungjson), "450px", "450px"),
|
||||
chart.ShowChartFixed("thoraxmd", string(thrxjson), "450px", "450px"),
|
||||
chart.ShowChartFixed("spiromd", string(autospirojson), "450px", "450px"),
|
||||
chart.ShowChartFixed("dengarmd", string(pendengaranjson), "450px", "450px"),
|
||||
}
|
||||
|
||||
chartslg := []templ.Component{
|
||||
chart.ShowChartFixed("datanonlg", string(dataprejson), "1000px", "450px"),
|
||||
chart.ShowChartFixed("jantunglg", string(jantungjson), "600px", "450px"),
|
||||
chart.ShowChartFixed("thoraxlg", string(thrxjson), "600px", "450px"),
|
||||
chart.ShowChartFixed("spirolg", string(autospirojson), "600px", "450px"),
|
||||
chart.ShowChartFixed("dengarlg", string(pendengaranjson), "600px", "450px"),
|
||||
chart.ShowChartFixed("jantunglg", string(jantungjson), "500px", "450px"),
|
||||
chart.ShowChartFixed("thoraxlg", string(thrxjson), "500px", "450px"),
|
||||
chart.ShowChartFixed("spirolg", string(autospirojson), "500px", "450px"),
|
||||
chart.ShowChartFixed("dengarlg", string(pendengaranjson), "500px", "450px"),
|
||||
}
|
||||
|
||||
content := corporate_mcudetail.TabKelainanNonLab(
|
||||
|
||||
@@ -66,9 +66,9 @@ func (tkh *TabKepersertaanHandler) HandleShowTabKepesertaan(c echo.Context) erro
|
||||
}
|
||||
|
||||
chartsxs := []templ.Component{
|
||||
chart.ShowChartFixed("charttotalxs", string(totaljson), "400px", "450px"),
|
||||
chart.ShowChartFixed("chartgenderxs", string(genderjson), "400px", "450px"),
|
||||
chart.ShowChartFixed("chartumurxs", string(umurjson), "400px", "450px"),
|
||||
chart.ShowChartFixed("charttotalxs", string(totaljson), "300px", "450px"),
|
||||
chart.ShowChartFixed("chartgenderxs", string(genderjson), "300px", "450px"),
|
||||
chart.ShowChartFixed("chartumurxs", string(umurjson), "300px", "450px"),
|
||||
}
|
||||
|
||||
chartsmd := []templ.Component{
|
||||
@@ -78,9 +78,9 @@ func (tkh *TabKepersertaanHandler) HandleShowTabKepesertaan(c echo.Context) erro
|
||||
}
|
||||
|
||||
chartslg := []templ.Component{
|
||||
chart.ShowChartFixed("charttotal", string(totaljson), "600px", "450px"),
|
||||
chart.ShowChartFixed("chartgender", string(genderjson), "600px", "450px"),
|
||||
chart.ShowChartFixed("chartumur", string(umurjson), "600px", "450px"),
|
||||
chart.ShowChartFixed("charttotal", string(totaljson), "500px", "450px"),
|
||||
chart.ShowChartFixed("chartgender", string(genderjson), "500px", "450px"),
|
||||
chart.ShowChartFixed("chartumur", string(umurjson), "500px", "450px"),
|
||||
}
|
||||
|
||||
content := corporate_mcudetail.TabKepesertaan(
|
||||
|
||||
Reference in New Issue
Block a user