Home › forums › Using CanvasJS › Multi data on x axis
This topic contains 6 replies, has 2 voices, and was last updated by aarya81 1 year, 2 months ago.
i have trying to show the number of registrations for institution. for each month. i have created 12 data points to display data for 12 months. In x axis it is showing the City name correctly but the value in columns in mixing between the cities like Mysore data is showing in BBSR or bangalore. I have created for fiddle for the same.
The dataPoints in multi-series charts need to be aligned, i.e. there should be the same number of dataPoints in all the data-series. In cases where y values are missing in some of the data-series adding a dataPoint will null y value should work fine. I have updated your jsfiddle, please take a look.
Thanks Suyash for the update. I have updated the sample data. Now if you observe the data of BBSR is showing in both BBR and Bangalore on x axis. how to fix this one
Can you please provide the link to jsfiddle with sample data?
here is link
You can either keep the data-points in the same sequence in all the data-series as in this
jsfiddle, or add x values in all the data-points as in this example.
Thanks that solve my issue.
You must be logged in to reply to this topic.