Pre loader

Axis Title above Axis Ticks

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


Good day everybody!
I have got a problem. I need to place axis title above axis ticks. But I can’t find any method to do it. Could you help me?
Thank in advance.

  • You must to post comments

Hi Egor,

If really want to place a title over labels, you could try setting a negative margin for it inside a title template. Please, take a look at this article for more info how to template axes titles. Also it is demonstrated in the XAML Styling example . Hope this helps!

Please, find a code sample below:

           <Style x:Key="AxisTitleStyle" TargetType="s:AxisTitle">
            <Setter Property="Margin" Value="-100,0,0,0" />
            <s:NumericAxis AxisTitle="Axis Title" TitleStyle="{StaticResource AxisTitleStyle}"/>
  • Egor
    Thank you for the reply! Could you show an example of negative margin, please? Thank in advance!
    • Guest
    • 10 years ago
    Sure, just updated the answer.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.