We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to display the axis labels in a particular format?

Description:

Chart allows you to customize axis labels to a particular format like controlling the decimal digits, date-time format, etc. This section describes how to format the axis labels.

Solution:

For instance, when the axis label needs to display the time value and two decimal points, you can set the LabelFormat property in the corresponding axis as shown in the following code example.

XAML

C#

Output:

Figure 1: Axes with formatted labels.

Article ID: Published Date: Last Revised Date: Platform: Control:
3319 01/20/2015 03/09/2018 Silverlight SfChart
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.