Pre loader

Showing Calculate Value using SeriesValueModifier and DefaultSeriesInfoProvider on Y Axis

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

Like in this SeriesValueModifier article
https://www.scichart.com/documentation/win/current/SeriesValueModifier.html

and example
https://www.scichart.com/documentation/win/current/webframe.html#SeriesValueModifier.html

Is is possible to show Calculate DataColumnInfo
eg: % based on (Open – Close) / Open

or get Metadata and show metadata ?

thanks
Praveen

Version
8.6.0.28199
  • Lex
    • Lex
    • 2 months ago
    Hi Praveen, Thanks for your question. I’ll discuss it with our team and will get back to you with an update. Kind regards, Lex, SciChart Technical Support Engineer
  • You must to post comments
0
0

Hi Praveen,

We discussed your inquiry and logged a task in our tracking system to prepare a small example showing how to display custom values with the SeriesValueModifier.

We’ll get back to you as soon as it will be ready.

Kind regards,
Lex,
SciChart Technical Support Engineer

  • You must to post comments
0
0

Hi Praveen,

I hope this message finds you well.
I’m glad to inform you that we’ve prepared an example project for you showing how to display custom values with the SeriesValueModifier.
Please find it attached.

Here is also a brief description of how this functionality can be enabled:

  1. Create a new MarkerInfo class, which would have a property “Value”
  2. Create a custom CustomSeriesInfoProvider to be able to store DataColumnInfo in the Tag property of the Аnnotation.
  3. Override the OnAppendDataColumnInfo method of the CustomSeriesInfoProvider and set the newly added “Value” there.
  4. Create a custom Style/Template for the SeriesValueAxisMarkerAnnotation and set LabelTemplate with two TextBlocks, which use Tag for binding data.

The mentioned steps were implemented in the shared example.
Please try it out and let us know your feedback.

Kind regards,
Lex,
SciChartTechnicalSupportEngineer

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.