PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → [WB19]grColumnStacked
[WB19]grColumnStacked
Débuté par Ericus, 11 fév. 2016 15:46 - Aucune réponse
Posté le 11 février 2016 - 15:46
Hi

How would I pass the data to a chart for a Column stacked type. Let's say there are 4 series and each series can have 1 or more values that must be stacked.

I thought this will work:

grCategoryLabel("Chart1", 1 , "ERICUS")
grAddData("Chart1", 1,1, 10)
grAddData("Chart1", 1,2, 20)
grAddData("Chart1", 1,3, 30)
grCategoryLabel("Chart1", 2 , "ZELDA")
grAddData("Chart1", 2,1, 5)
grAddData("Chart1", 2,2, 7)
grAddData("Chart1", 2,3, 9)
grCategoryLabel("Chart1", 3 , "ZANTE")
grAddData("Chart1", 3,1, 0)
grAddData("Chart1", 3,2, 0)
grAddData("Chart1", 3,3, 20)
grCategoryLabel("Chart1", 4 , "IVAN")
grAddData("Chart1", 4,1,0)
grAddData("Chart1", 4,2,9)
grAddData("Chart1", 4,3,0)

But it obviously does not.

Thanks in advance.


Ericus Steyn