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

ChartTrackballBehavior label format

Thread ID:





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

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



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