Articles in this section
Category / Section

How to display the visible range of labels while zooming in WPF Chart (SfChart)?

1 min read

WPF Chart (SfChart) provides support to display the visible range of labels while zooming using scroll bar. You can enable the labels by setting the ThumbLabelVisibility property to Visible.

XAML

<!--ThumbLabelVisibility property is used to show the Visible range of Label while zooming -->
<Syncfusion:SfChart.PrimaryAxis>
    <Syncfusion:CategoryAxis  Header="April 1st week in 2014" EnableTouchMode="True" ThumbLabelVisibility="Visible" EnableScrollBar="True" FontSize="18"  LabelTemplate="{StaticResource labelTemplate}" Foreground="Black"/>
</Syncfusion:SfChart.PrimaryAxis>
<Syncfusion:SfChart.SecondaryAxis>
    <Syncfusion:NumericalAxis  FontSize="18" EnableTouchMode="True" ThumbLabelVisibility="Visible" EnableScrollBar="True" LabelTemplate="{StaticResource labelTemplate}" Header="Share Details"/>
</Syncfusion:SfChart.SecondaryAxis>

 

WPF Chart displays Visible Range of Label

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied