SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
I’m in the process of building a live trading charting tool and one of the most requested features the traders have is a last traded price indicator on the right side of the chart (on the top of the Y-Axis).
I was looking at the “Create Annotations Dynamically” demo, and I think using the Axis Marker could be a solution.
Is that an approach you recommend? Can I make those markers read-only so that traders cannot move them around?
I just need to place the marker in the Y-Axis and move it automatically according to the last traded price.
I attached an screenshot so you have an idea of what I am trying to achieve.
We actually have a built in modifier to do this already. This is called the SeriesValueModifier. The SeriesValueModifier iterates over the RenderableSeries, gets their latest values and outputs them to AxisMarkerAnnotations on the Y-Axis.
In SciChart v2.1.1 we have greatly improved this modifier.
<!– Provides axis markers per series –>
Take a look at the live demo: http://http://www.scichart.com/Abt.Controls.SciChart.SL.ExampleTestPage.html#/Abt.Controls.SciChart.Example;component/Examples/IWantTo/CreateRealtimeChart/UsingSeriesValueModifier.xaml
Please login first to submit.