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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Custom format or content of labels shown besides the TrackBallInfo

Thread ID:





121765 Jan 22,2016 02:06 PM UTC Jan 25,2016 11:42 AM UTC WPF 1
Tags: Chart
Pavel Filip
Asked On January 22, 2016 02:06 PM UTC


I am struggling big time with TrackBallInfo.
I want to achieve, what seems to be a very simple thing:
I have a numerical Y-axis, which I configured this way:

    <chart:NumericalAxis EdgeLabelsVisibilityMode="Default"
                                       Minimum="{Binding Path=MinimumY}"
                                       Maximum="{Binding Path=MaximumY}"

Now, I want the TrackBallInfo not to contain the Y-Value in the format that is shown on the Y-axis, but I would like to format it in the way, that I decide, or rather configure in my config file.
So to say, I want to be able to change it to scientific format, or 7-digit precision, or some text (e.g.: GOOD, BAD, SUPER, DANGER, ... whatever, you got the point, right?).

How can I achieve this?

I mean, If I set the format in LabelFormat for the axis, it is fine in the TrackBallInfos, but wrong on the Y-Axis labels, where I only need to show 2 decimal points.

Thanks for your help!

P. Filip

Sumathi Jayaraj [Syncfusion]
Replied On January 25, 2016 11:42 AM UTC

Hi Pavel,

Thanks for contacting Syncfusion support.

We are able to achieve your requirement with label format configuration and to select which axis label need to display in the trackball info, by defining CustomTrackBallBehavior. We have prepared a sample to achieve your requirements and please find the sample in the following location.

Sample: TrackBallInfos

Sumathi J


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon