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

SfChart Spline Series strange behaviour

Thread ID:





125198 Jul 29,2016 06:32 AM UTC Aug 1,2016 11:51 AM UTC Xamarin.Android 1
Tags: SfChart
Milen Pavlov
Asked On July 29, 2016 06:32 AM UTC


I added this SfChart control using Spline Series with tooltip enabled and I'm getting this strange behaviour when I click on the data point the entire chart resizes (shrinks) itself and then few seconds later return back to its regular size. Strangely enough it is not happening all the time. My code:

              foreach (var taskGroup in _groupedByTask)
                    var currentColor = GetNextColor(position);

                    var lineSeries = new SplineSeries
                        StrokeWidth = 2,
                        DataSource = GetAggregatedDataForTaskName(taskGroup, searchCriteria),
                        TooltipEnabled = true,
                        Label = taskGroup.Key,
                        Color = currentColor,
                        DataMarker =
                            ShowMarker = true,
                            ShowLabel = true,
                            MarkerWidth = 5,
                            MarkerHeight = 5,
                            MarkerColor = currentColor


Attached archive with images demonstrating this resizing.  
The chart itself is programatically added to LinearLayout with height and width set to match parent.

                   var layoutParams = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MatchParent, ViewGroup.LayoutParams.MatchParent);
                    _reportView.AddView(_chartView, layoutParams);

What can I do to stop this from happening?

Many Thanks,

Attachment: BeforeAndAfterClick_d147b087.rar

Parthiban Sundaram [Syncfusion]
Replied On August 1, 2016 11:51 AM UTC

Hi Milen,

We have tested with different configurations and multiple cases and still we are unable to reproduce the reported issue at our end. Can you please reproduce the issue in the below sample? If not, please update us the modified sample or give us more details about the issue.

Sample: http://www.syncfusion.com/downloads/support/forum/125198/ze/Simplesample-1000070847 

Parthiban S.


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

or the page will be automatically redirected to 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