WPF line chart: Data points order

Jan 15, 2013 at 3:43 PM

Hi everyone,

i have a problem to render the list of data points to a linechart in the right order.

The chart automatically reorder the data points to render the lines between them.

Here's a simple example with 3 points:

P1 Y: 10 X: 10

P2 Y: 20 X: 20

P3 Y: 30 X: 15

The result is that the connection lines are not P1>P2>P3 but P1>P3>P2.

Is there a way to display the line in the "right" order ?

Thank you for your help !