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.

Line Chart - SecondaryAxis - STRING SUPPORT

Thread ID:

Created:

Updated:

Platform:

Replies:

123241 Feb 29,2016 09:49 AM Mar 7,2016 07:19 AM Xamarin.Forms 3
loading
Tags: SfChart
Charlin
Asked On February 29, 2016 09:49 AM

Hi, 
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)" 

Karthikeyan V [Syncfusion]
Replied On March 1, 2016 03:50 AM

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.

 

{downloadlocation}\Xamarin_Packages\sample\Forms\SampleBrowser\SampleBrowser\Samples\Chart\TooltipCustomization

 

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:

{downloadlocation}\Xamarin_Packages\sample\Forms\SampleBrowser\SampleBrowser.Droid\Chart

 

WindowsPhone and WinRT CustomRenderer location:

{downloadlocation}\Xamarin_Packages\sample\Forms\SampleBrowser\SampleBrowser.WinPhone\Renderer

 

iOS CustomDelegate location:

{downloadlocation}\Xamarin_Packages\sample\Forms\SampleBrowser\SampleBrowser.iOS\Chart

 

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

 

Regards,

Karthikeyan V.


Charlin
Replied On March 4, 2016 03:57 PM

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 



Manivannan Elangovan [Syncfusion]
Replied On March 7, 2016 07:19 AM

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:

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Thanks,
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.

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.

;