0
Answer

Wpf charting toolkit static not moving tickmarks

Ask a question
Holali

Holali

11y
1.2k
1
Hi,
I have created a chart in my wpf app, using System.Windows.Controls.DataVisualization.Toolkit. I have several lineseries in this chart, with DateTime X-Axis and decimal Y-Axis, and every step, lets say every second, I add one more value to the line, and I remove the oldest one at the same time. So visualy the line in chart is shifting to the left, as new points are being added and old removed.
What I need is to make tickmarks remain at the same position on X-Axis all the time. Now, every time the line is updated, tickmarks keep displaying the same time value (at their labels), and they just shift to the left with the line. I want them to "hold their position" and just change the values of their labels.

Is it possible? I hope it is.
Thank you for replies.