locked
Chart Control point sorting RRS feed

  • General discussion

  • Hi everyone

    I'm using the silverlight 5 toolkit and I need to plot a curve on the chart control. The chart with a line series seems to sort the x coordinates causing the points to be drawn in the incorrect order. In the diagram below the blue line is what I would like to plot (not worried about the curve as yet) in the order 1, 2, 3. The red is what I get 2, 1, 3. If i enumerate through the lineseries itemsource (PointCollection) the points are returned in the correct sequence (1,2,3) which is the order I added them. Can this be achieved with this chart control? The dev express chart control has this functionality but I don't want to go that route just yet. Thanks for any assistance.

    Curve Example

    Thursday, January 26, 2012 2:58 AM

All replies

  • refer Building a Line chart section in below link.

    http://sharepointdragons.com/2011/12/12/about-the-chart-controls-in-the-silverlight-5-toolkit/

    Thursday, January 26, 2012 3:59 AM
  • Thanks, I shall have a look.

    Friday, January 27, 2012 4:39 AM