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. Image for the cookie policy date
close icon

Line Chart - SecondaryAxis - STRING SUPPORT

I have two questions about Line Chart:

1-In Secondary Axis is possible have a string? 
Specifically i want to have Salaries in my Y point.
2-Is there a way to customise the Tooltip, and have a format like "(mYpointX - MypointY)" 

3 Replies

KV Karthikeyan V Syncfusion Team March 1, 2016 08:50 AM UTC

Hi Charlin,


Thanks for using the Syncfusion products.


Query 1: In Secondary Axis is possible have a string?  Specifically I want to have Salaries in my Y point.


We are able to achieve your requirement by using chart axis LabelCreated event. Please refer KB from the following location.


KB: https://www.syncfusion.com/kb/5926/how-to-add-custom-axis-labels-in-numerical-axis


Query2: Customizing the tooltip with ChartDataPoint itemsSource.


We have provided a sample for customizing the tooltip in our Xamarin forms sample browser. Please find the sample from the below location.




Tooltip customization has been achieved by using CustomRenderer for Andriod, WinRT and WinPhone. For iOS, instead of CustomRenderer we have used CustomDelegate.


Android CustomRenderer location:



WindowsPhone and WinRT CustomRenderer location:



iOS CustomDelegate location:



Please let us know if you need further assistance on this.



Karthikeyan V.

CH Charlin March 4, 2016 08:57 PM UTC

Thank you so much!! 

Works perfect, i see the tooltip disappears after 3-4 seconds, how can i change this time, or better don't hide it until clicked in another one 

ME Manivannan Elangovan Syncfusion Team March 7, 2016 12:19 PM UTC

Hi Charlin,

We have created an incident under your Direct Trac account. Our support engineer will assist you through incident. So, we request you to follow with the incident for further details.

Our Direct Trac support system can be accessed from the following link:


Manivannan E.

Live Chat Icon For mobile
Up arrow icon