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?
- RTrade A asked 10 years ago
- last edited 10 years ago
- You must login to post comments
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
- Guest answered 10 years ago
- Thank you, Sounds reasonable. I will try that.
- You must login 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.
- RTrade A answered 10 years ago
- last edited 10 years ago
- You must login to post comments
Please login first to submit.