But only the first series(i.e. series of index 0) got the right x values, the x values of other series seems to be set to the same random series that I don't know where it come from.
According to your description, I had written a demo on my computer.
I find if I don't set Series.XValueType to ChartValueType.DateTime, it will show the result as image 2 shows.
So I suggest you change your codes and set Series.XValueType to each series.
More details about my test demo, you could refer to follow codes:
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
Star
9831 Points
3120 Posts
Re: how to use DataBindTable method to populate X-values to mutiple series?
Aug 25, 2016 02:30 PM|Brando ZWZ|LINK
Hi Zachary.Chen,
According to your description, I had written a demo on my computer.
I find if I don't set Series.XValueType to ChartValueType.DateTime, it will show the result as image 2 shows.
So I suggest you change your codes and set Series.XValueType to each series.
More details about my test demo, you could refer to follow codes:
Chart:
Code-behind:
Best Regards,
Brando