Pre loader

SeriesValueModifier tuning

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


Please look at screenshot. There is SeriesValueModifier with 27.68 price, but it is not fit into YAxis. Questinos:
1) How can I bind YAxis width to always fit SeriesValueModifier ?
2) How can I set font size and text formatting for value in SeriesValueModifier , not changing text on YAxis labels?

  • You must to post comments
Great Answer

Hi there,

Thanks for your request. Unfortunately, our support site is down, and Knowledgebase with articles on this topic are temporally inaccessible. However, we hope it will be back alive soon.

So as to your questions, there is the AxisMarkerStyle property in SeriesValueModifier. You should create a new style with AxisMarkerAnnotation as TargetType and set any styling properties like font size there. To change text formatting of labels, you should either set CursorTextFormatting on an axis or re-template a label setting LabelTemplate/PointerTemplate in the style.

It is not possible to make an axis to adjust its width automatically; it would have a negative impact on performance. You could try a preset Width or making CursorTextFormatting shorter than TextFormatting on the axis.

Please let us know if any of these suggestions is suitable for you,

Best regards,

  • RTrade A
    Thank you, Sounds reasonable. I will try that.
  • You must to post comments

For those who have same problem. Easiest solution I find which is suitable for me was setting Margin -8 or so in AxisMarkerStyle of SeriesValueModifier. By doing this arrow marker will be moved a little bit left inside the chart.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.