Home forums Using CanvasJS Getting wrong values of months of 2 array in bar chart

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Bivek Singh 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15168

    Hi,
    I am using canvasjs bar chart to populate the chart.
    I am stuck at this point- i have 2 arrays 1 shows values from july – june thats working and second array have value from january – dec.
    I want to show the chart from july -june its working. But when i add the values of second array into chart then it shows the value of january in the july coulmn as my chart starts from july. Let me describe more. My first bar chart value starts from july and my second bar chart values starts from january. So i want to start the chart from july and the january value of second array should show at the january not on july. Can you please suggest me something?

    #15171

    Bivek Singh
    Moderator

    @gautamchawla81

    Please take a look at this jsFiddle.

    —-
    Bivek Singh

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

You must be logged in to reply to this topic.