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 where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.


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.