Pre loader

AxisTitle HTML Formatting?

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

0
0

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.

  • You must to post comments
0
0

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

  • kakongas
    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 to post comments
0
0

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

  • kakongas
    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 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