Home forums Using CanvasJS Bar Chart

This topic contains 3 replies, has 2 voices, and was last updated by  Vishwas R 8 months, 3 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22083

    Hi,
    Currently I have this bar graph in this picture… https://imgur.com/o0xgujH
    I want this bar graph… https://imgur.com/FcSeD37
    I want the purple and burgundy bars in the first picture to look like the green and brown bars in the second picture.
    Does anyone know how to get the second picture?

    #22091

    @derissl,

    You can use stackedColumn chart as shown in this jsfiddle. You can customize color of dataPoint (columns) by using color property.


    Vishwas R
    Team CanvasJS

    #22099

    I know how to do the stacked bar chart. I want the column in the front to have a certain width so it looks like the front two columns are next to each other. Like in this picture.

    View post on imgur.com

    #22104

    @derissl,

    Please take a look at updated jsfiddle showing chart similar to the image that you have shared – achieved using stackedColumn Chart.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.