Home forums Chart Support Need for dataPoints in column chart with same X value to be stackedColumn


Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #14377

    I have the following example of data with some Points having same x,y values which means they apear in the Column chart overlayed on each other – is there a way to have them appear stacked on top of each other like in stackedColumn chart type.

    see working sample to illustrate the issue: http://jsfiddle.net/yjxoLr9e/


    just a working fiddle: http://jsfiddle.net/acke57/um7n6dgb/



    You can use stackedColumn chart which automatically stacks the dataPoints with same X values in different dataSeries. Please refer this jsfiddle.


    Team CanvasJS


    No, since the datapoints are IN THE SAME dataSeries – see this fiddle: http://jsfiddle.net/acke57/um7n6dgb/



    In stackedColumn, dataPoints with same x-values will stack one on top of another. So by setting type to ‘stackedColumn’ will work fine in your case (with single dataSeries also). Please check this updated jsfiddle.

    Team CanvasJS


    OK, tested and works as you described – thanks for pointing this out.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.