I have attempted to change the text format on the cursors that show the Y-Intercept on my vertical line annotations. WIthin by ModifierGroup, I added the following:
<s:CursorModifier ContentStringFormat="0.000"/>
I suspect that since the Y intercept is a double or float, it is causing the ContentStringFormat functionality not fire (can’t deal with a non-string). Is there a way to set the format of these cursors to a 0.000 format? Right now they are showing as 0.00.
Thank you
- Ryan Woods asked 8 years ago
- You must login to post comments
Hi Ryan,
Have a look at the SciChart WPF documentation on TextFormatting. We present a couple of ways you can do this.
- Using AxisBase.CursorTextFormatting (simple string format)
- Using AxisBase.LabelProvider which allows for complex string formatting
- By templating the CursorModifier AxisLabels.
Please let me know if this helps.
Best regards,
Andrew
- Andrew Burnett-Thompson answered 8 years ago
- last edited 5 years ago
-
This applies to the axis, right? I am looking to format the cursor on the verticalLineAnnotation intersection with the Renderable Series. Within Scichart, does the term axis have a more relaxed meaning than X-axis and Y-axis?
- You must login to post comments
Please login first to submit.