Bar chart DataPoint format for stacked chart

Bar chart DataPoint format for stacked chart


Hi all,

I am trying to implement a bar chart in stacked format. However I am having an issue probably with DataPoint input format.

I set the Stacked property to Entities.StackingType.Stacked and DataPoint record list with two values, for example:

    Label: "A",
    Value: 10,
    DataSeriesName: ,
    Tooltip: ,
    Color: "#8dd9ef"

My problem is that my graph despite being presented, it isn't in stacked format...

Can anyone help me please?

Thanks in advance

does it give errors in javascript?

you have to have a couple of different dataseries with same labels, otherwise it cannot stack.

so:  dataseries X1, label A, value: 10

dataseries X2, label A, value 23

and make sure the data is rightly ordered, otherwise you get javascript errors.