SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

0
0

Hello!

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.

Thanks.

Images
  • You must to post comments
0
0

Hi again,

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.

Usage:

<s:SciChartSurface.ChartModifier>
<!– Provides axis markers per series –>
<s:SeriesValueModifier/>
</s:SciChartSurface.ChartModifier>

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

Best regards,
Andrew

Images
Showing 1 result
Your Answer

Please first to submit.