Category / Section
How to show tooltip when segment is underneath axis line of WPF Chart (SfChart)?
1 min read
When the axis is moved into the chart area by using the Origin and ShowAxisNextToOrigin properties, any segment can be rendered near or underneath this axis, and the tooltip is not displayed for that segment. If you want to display the tooltip, you need to set the IsHitTextVisible property to false for that axis in WPF Chart (SfChart).
XAML
<chart:SfChart.SecondaryAxis>
<chart:NumericalAxis ShowAxisNextToOrigin="True" Origin="2" IsHitTestVisible="False" />
</chart:SfChart.SecondaryAxis>
C#
this.sampleChart.SecondaryAxis.ShowAxisNextToOrigin =true;
this.sampleChart.SecondaryAxis.Origin = 2;
this.sampleChart.SecondaryAxis.IsHitTestVisible = false;
Did not find the solution
Contact Support