Chris Kooken
Chris Kooken

Reputation: 33870

MSChart X-Axis Dates

I am plotting a simple line graph like the following:

enter image description here

Recently a Customer had the requirement to change the interval on the graph so that each data point was right next to each other, and no dates are between them.

For example, the graph below would have 6 x-values and they would all be evenly spaced, and have the same dates 3-8-12, 3-24-12,4-4-12,4-13-12,4-15-12,4-17-12. We don't care about the dates in-between.

How can I do this in MSChart?

Upvotes: 1

Views: 2239

Answers (1)

Quantbuff
Quantbuff

Reputation: 847

Try setting the Series.IsXValueIndexed = true;

http://support2.dundas.com/Default.aspx?article=909

Upvotes: 1

Related Questions