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.


Hello, I am evaluating your product and would like to know if there is a way to use superscript or subscript characters in the titles on the chart. We use chemical terminology that we would like to represent. For example we would represent Phosphorus as PO4-P and the 4 would be a subscript character.

  • You must to post comments
Best Answer

Hi Michael,

It is possible to template the Axis Title to put any WPF Control in there, so if you can create a simple control or group of WPF controls that represent your title with superscript, then you can place it in an axis title.

To find out how, please see Styling Axis Labels, Axis Titles, Rotating Axis Labels

How to Template the Axis Title

To insert a custom Control into the Axis Title, you can use this code

<Style x:Key="BottomAxisTitleStyle" TargetType="s:AxisTitle">
    <Setter Property="ContentTemplate">
                    <TextBlock Margin="0,3,0,0" FontSize="9" Text="Showing time on"/>
                    <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="XAxis"/>
                    <TextBlock Margin="0,0,0,3" FontSize="9" Text="(daily Timeframe)"/>
<s:DateTimeAxis TitleStyle="{StaticResource BottomAxisTitleStyle}" />

Hope this helps!

Best regards,

  • Michael Hevey
    Much appreciated! Nice, I was hoping for this flexibility. Thank you.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.