Articles in this section
Category / Section

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

1 min read

This article explains how the WPF Chart (SfChart) supports displaying the visible range of axis labels while zooming with the scrollbar. 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>

 Output:

WPF Chart displays Visible Range of Label


Conclusion

I hope you enjoyed learning about how to display the visible range of axis labels while zooming in WPF Chart(SfChart).

You can refer to our WPF Chart’s feature tour page to know about its other groundbreaking feature representations. You can also explore our   WPF Chart documentation to understand how to present and manipulate data.


For current customers, you can check out our WPF components from the License and Downloads page. If you are new to Syncfusion®, you can try our 30-day free trial to check out our WPF Chart and other WPF components.


If you have any queries or require clarifications, please let us know in comments below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

 

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