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.
Syncfusion Feedback

IndexOutOfBoundsException when TooltipEnabled = true

Thread ID:

Created:

Updated:

Platform:

Replies:

128305 Jan 12,2017 11:02 PM UTC Jan 18,2017 03:46 AM UTC Xamarin.Android 3
loading
Tags: SfChart
Martin Dusek
Asked On January 12, 2017 11:02 PM UTC

Hello,
set TooltipEnabled = true

add 0th to 100th point to the graph.
remove 0th to 50th point from graphs datasource
add 101st to 150th point to the graph

Now, when you click on 101st to 150th point you will get Java.Lang.IndexOutOfBoundsException

Also, for chart.SelectionChanged event one can get P1.SelectedDataPointIndex bigger than the count of points in the graph if some points were removed previously.


Best regards

Martin

Saravana Pandian Murugan [Syncfusion]
Replied On January 13, 2017 05:04 PM UTC

Hi Martin,

Thanks for contacting Syncfusion support.

We are unable to reproduce the reported issue at our end and we have prepared a sample for this. Please update us with the modified sample to reproduce the issue which will be helpful for providing further assistance on this.

Sample : http://www.syncfusion.com/downloads/support/forum/128305/ze/TooltipSample-613984973  

Thanks,
Saravana Pandian M.
 


Martin Dusek
Replied On January 16, 2017 06:18 PM UTC

I changed line 83 in MainActivity.cs to:

DataPoints.Remove(DataPoints.Get(0));

and then I got the exception.

Yuvaraj Palanisamy [Syncfusion]
Replied On January 18, 2017 03:46 AM UTC

Hi Martin,

We have created an incident under your Direct Trac account. So, we request to follow 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  

Regards,
Yuvaraj

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

;