Hi,
I have a line chart and add NumericSeries in this chart.
the data like these: (7500, 16.1), (7600, 10.2), (7700, 19.9)
and then the user add (7300, 10.1).
the last data will be displayed in the last of the line, can it be inserted in front of 7500?
in other words, auto sort the labels in x-axis.
The chart itself will not perform any kind of sorting, but you can sort your datasource before you bind it to the chart. The chart displays the items in the same order as they are in the datasource.
Thanks for your reply.
because of implementing dragging the data point in this line chart, it didn't bind any datasource, in other words, it program added series and datapoints.
I referred to DraggingDataPointTool.cs in the local sample code to implement this dragging function, and when I bound to datasource, this function doesn't work.
could you provide the example for how to drag the data point when it bound to a datasource?