Hi, is it possible to use html or other kind of formatting on a NumericAxis.AxisTitle? I would like to have text in different colors and bold/normal options. Thanks.
- kakongas asked 10 years ago
- You must login to post comments
Hi there,
You can set the following properties to affect chart titles:
<s:SciChartSurface FontWeight="Bold" FontSize="13" Foreground="Red" ChartTitle="CustomTitle text"/>
and the following properties to affect axis titles:
<s:NumericAxis TitleFontWeight="Bold" TitleFontSize="13" TickTextBrush="Red" AxisTitle="Custom Title text"/>
Best regards,
Andrew
- Andrew Burnett-Thompson answered 10 years ago
- Hi Andrew, thanks for your reply. I need to have different color text on one axis label, because I have more than one graph per axis, with multiple axes and graphs and need to be able to separate between the graphs. Is it possible? Thanks
- You must login to post comments
Hi there,
Take a look at our examples, we have one with 8 Y-Axes with different label colours per axis.
Update June 2014
From SciChart v3.0 we support customization of axis labels and title via appropriate styles. For more information please take a look on this article Styling Axis Labels, Axis Titles, Rotating Axis Labels
Best regards,
Andrew
- Andrew Burnett-Thompson answered 10 years ago
- Hi, Thank you for the fast replies. I have checked out the sample but the question remains, how to have different colors on one axis label? For example: (pseudo code) axis.AxisTitle = "Celsius ([red]Indoor temperature[/red], [blue]outdoor temperature[/blue])" Thanks
- You must login to post comments
Please login first to submit.