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

Need for dataPoints in column chart with same X value to be stackedColumn

Viewing 6 posts - 1 through 6 (of 6 total)
  • #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/

    #14378

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

    #14381

    @acke57,

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

    __

    Suyash
    Team CanvasJS

    #14382

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

    #14383

    @acke57,

    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.

    —
    Suyash
    Team CanvasJS

    #14388

    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.