Hi,
I am using the IntensityGraph in WPF and have the following problem:
- The horizontal axis is time and I want it to be from 0 to X seconds (say 5, for example).
- I want to update the graph every 0.2 seconds.
- When I reach the end of the graph I want it to roll over or scroll, so I need to remove some of the old points and replace them with new ones.
My question is:
How to configure the IntensityGraph and how to add data to the DataSource such that on the X axis I have 25 data points and the labels remain from 0 to 5 as initially set. In my attempts, I had the X axis display all labels form 0 to 25 or I could only display 5 points (setting the range 0,5 I see labels 1 to 5 and only 5 points).
Any example would be helpful.
Thank you,
Cosmin.