I have Time series chart (CategoryXAxis and NumericYAxis) and user have an option to play the historical time data.
When user plays the historical data, he/she wants to see the moving vertical line that indicates the time.(as in the attached screen shot)
I am not sure whether this can be achieved by using Strip Lines, Could anyone have suggestion?
Hello,
Thank you for your post. I have been looking into it, but it seems like that I am missing something in your scenario. Could please be more specific what is your requirement? Do you want a vertical line that the user could move left and right with the mouse?
Looking forward for your reply.
Ok. I have a chart which has with CategoryXAxis and NumericYAxis. X axis to represent date time and Y axis for numeric value. In our UI user has an option to select the time period and see the data in chart. Let say user is viewing the data for the period from 10/1/2013 12:00AM to 10/2/2013 12:00 AM and the data points are available for each seconds.
We also have time player in the same screen, once the user loaded the data in chart we need to show some line or point (just call as time point) on first second of the selected date period, in above case the point or line should be on 10/1/2013 12:00:00. Once user clicks the play button we have to move the time point to next second and so on until user stop the player.
I tried by having timer running back round for every second, and move the point with adding 1 second and so on. so that user can see the time point is moving to next second on x-axis when timer is running.
I have created a sample project for you with the functionality you want. Basically I used ValueOverlay to place a vertical line on the first DataPoint and DispatcherTimer to animate it. Please let me know if this helps you or you need further assistance on this matter.
This is the one I was looking for, Thanks :)
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.