Pre loader

Y-Axis Price Indicator

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

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.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies