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

Answered
1
0

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?

Images
  • You must to post comments
Great Answer
1
0

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,
Yuriy

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

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.

Try SciChart Today

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

Start TrialCase Studies