Hello, i have a very simple xamDataChart. (See attachment)
I have added a button to this xaml. When i press the button i need to add 2 lineSeries.
If i only add 1 lineSeries it works. But when i add 2 lineSeries i dont see any data.
Can anyone help me with this.
Thanks.
A little update:
When i use the CategoryDateTimeXAxis, i cant add more LineSeries. But when i change this into a CategoryXAxis, it works.
I think i have to use the CategoryDateTimeXAxis because i can set a minimum and maximum value and an interval.
Can anyone help me further.
Thanks,
Kevin
Kevin,
when using the CategoryDateTimeXAxis, unless each series has exactly the same number of entries with the same dates in the same order, you should use a seperate CategoryDateTimeXAxis per series. You would then synchronize their ranges by using the MinimumValue and MaximumValue.
Since the CategoryDateTimeXAxis handles reordering of unordered data and auto-min/max, you can't share it between series unless their data alignment is identical.
-Graham