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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ChartTrackballBehavior label format

Thread ID:

Created:

Updated:

Platform:

Replies:

120864 Oct 23,2015 09:40 AM UTC Oct 26,2015 01:13 PM UTC Xamarin.Forms 1
loading
Tags: SfChart
Marco
Asked On October 23, 2015 09:40 AM UTC

Hi,
is it possible to have the label of the trackBall on two lines?
I'm trying with this code:
ChartTrackballBehaviorExt trackBall = new ChartTrackballBehaviorExt();
trackBall.LabelStyle = new ChartTrackballLabelStyle()
{
BackgroundColor = Color.FromRgb(124, 149, 161),
LabelFormat = "A\nB\nC"
};
but with no luck, I see "A B C" on a single line.
Thank you

Manivannan Elangovan [Syncfusion]
Replied On October 26, 2015 01:13 PM UTC

Hi Marco,

Thanks for using Syncfusion products.

We are able to achieve your requirement by workaround using CustomRenderer for Andriod and WinPhone. For iOS, instead of Custom Renderer we have used CustomDelegate.

We have prepared a sample based on your requirement. Please download from the following location

Sample: TrackBallLabelCustomize

Regards,
Manivannan.E

CONFIRMATION

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.

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

;