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 apply label formatting to the trackball labels?

Description:

This article describes how to customize the trackball and apply the label formats to the trackball label.

 

Solution:

The trackball label can be customized by using the TrackBallLabelTemplate property, which is available in series and chart axes. The ChartPointInfo uses as a data context for this template. You can get the X and Y values from the ValueX and ValueY, respectively.

The convertor is used where the label formatting is done for the trackball labels.

 

XAML

C#

 

 

The following screenshot demonstrates customizing the trackball label information in which the ValueY is rounded off to six digits.

 

C:\Users\sureshs\Desktop\sshot-2.png

Figure 1 : TrackBall label customization.

Article ID: Published Date: Last Revised Date: Platform: Control:
5363 08/18/2015 03/12/2018 WinRT 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.