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 Stackoverflow.com where you can earn rep for your questions!

Answered
0
0

Is there anyway to make the ChartTitle render, but take no space in the layout? I want to YAxis to extend up into the area of the ChartTitle.

Images
  • You must to post comments
Best Answer
0
0

Yes, there is. Don’t use a ChartTitle at all, instead place a TextAnnotation with CoordinateMode.Relative on the chart

<s:SciChartSurface>

    <s:SciChartSurface.XAxis>
        <s:NumericAxis/>
    </s:SciChartSurface.XAxis>

    <s:SciChartSurface.YAxis>
        <s:NumericAxis/>
    </s:SciChartSurface.YAxis>

    <s:SciChartSurface.Annotations>
        <s:TextAnnotation CoordinateMode="Relative" X1="0.02" Y1="0.02" FontSize="16" 
                            HorizontalAnchorPoint="Left" VerticalAnchorPoint="Top" Text="Hello World!"/>
    </s:SciChartSurface.Annotations >

</s:SciChartSurface>
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.