This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Fortunately, in making a demo of this problem I found that I can work around this problem by sorting my items so their x-axis values are in ascending order. However, should ascending order should be required? To see the problem first run the demo as is--the graph should display properly. Then uncomment the line "items = revItems;" and rerun to see the incorrect display. Here is the XAML:
Here is the C#
|
|
|
Hello Peter The chart assumes that all series are ordered by the independent values (apart from scatter/bubble series which of course can be all over the place). The correct order of values allows the Chart to perform binary searches to aid virtualization, and overall keep the performance high. Sure this could still work in reverse order, but unfortunately it would take quite a while to implement this - as there are several places that assume the data ordering, so I'm sorry to say we don't plan to implement this - at least not for a while. As you pointed out, the solution to this is to make sure the independent values are in ascending order. -Jason Fauchelle |
|