Visifire Forums: Sorted Data Points for Chart - Visifire Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Sorted Data Points for Chart

#1 User is offline   dawit Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 11
  • Joined: 29-January 10

Posted 30 July 2010 - 01:02 PM

I have a small problem with Visifire charts,

I have a stream of data that is time based that I need to represent with a line chart. Now, the data may or may not come in the time order (meaning I might have data for 2PM in the afternnon and a little later data might come in that belongs for 1 PM). This might happen live, or associated to an event.

Now while it is cool that Visifire DataPoint collection is an observable collection, and hence adding and removing points will change the chart accordingly without any effort, it seems that the chart draws the line based on the location of the pints in the collection and it is drawing a list that is a zig zag.

Is there a built in way to make the chart plot the points sorted by their x values? Can anyone suggest a workaround?

Attached File(s)


0

#2 User is offline   sharmila Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 46
  • Joined: 16-June 10

Posted 30 July 2010 - 01:41 PM

Hi Dawit,

Quote

Is there a built in way to make the chart plot the points sorted by their x values? Can anyone suggest a workaround?


Visifire does not support sorting of DataPoints. You must sort the points manually before adding them to DataSeries.


Regards,
Sharmila
0

#3 User is offline   dawit Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 11
  • Joined: 29-January 10

Posted 30 July 2010 - 02:12 PM

View Postsharmila, on 30 July 2010 - 02:41 PM, said:

Hi Dawit,


Visifire does not support sorting of DataPoints. You must sort the points manually before adding them to DataSeries.


Regards,
Sharmila



Thanks for the reply.


0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users