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

TooltipTemplate issues with iOS

Thread ID:

Created:

Updated:

Platform:

Replies:

127204 Nov 2,2016 11:57 AM Nov 3,2016 09:02 AM Xamarin.Forms 2
loading
Tags: SfChart
Stefano Passatordi
Asked On November 2, 2016 11:57 AM

Hi,

If I update from SfChart version 14.2.0.28 to the latest one (14.3.0.52), TooltipTemplate gets some issues on iOS.

While it was working well with version 14.2.0.28, with the latest one the tooltip is just empty. Same code, nothing is changed but the version.

On Android it works well, as before. On iOS the issue comes up. Attached you will find two images that shows the tooltip working well on Android and the empty one on iOS.

The code to generate the DataTemplate is the following:

DataTemplate template = new DataTemplate(() => {
                StackLayout stack = new StackLayout() { BackgroundColor = Color.White, Padding = new Thickness(5, 5, 5, 5) };
                Label category = new Label() { BackgroundColor = Color.White, TextColor = Color.Black, FontAttributes = FontAttributes.Bold };

                if (!xAxisDate)
                {
                    category.SetBinding(Label.TextProperty, "XValue",
                        stringFormat: "{0}:");
                }
                else
                {
                    category.SetBinding(Label.TextProperty, "XValue",
                       stringFormat: "{0:d}:");
                }

                Label value = new Label() { BackgroundColor = Color.White, TextColor = Color.Black };
                value.SetBinding(Label.TextProperty, "YValue", converter: new CurrencyConverter());
                                                      
                stack.Children.Add(category);
                stack.Children.Add(value);

                Label description = new Label() { BackgroundColor = Color.White, TextColor = Color.Black };
                if (customModel)
                {
                    description.SetBinding(Label.TextProperty,
                        "Description");

                    stack.Children.Add(description);
                }

                return stack;
            });

Please help!

Thanks,
Stefano


Attachment: TooltipTemplate_issue_cfab1c2d.zip

Stefano Passatordi
Replied On November 2, 2016 12:00 PM

I forgot to say that it happens only with PieChart and DoughnutChart. LineChart and Column work well.

Thanks,
Stefano

Sivaram Ganesan [Syncfusion]
Replied On November 3, 2016 09:02 AM

Hi Stefano,

We have created a support incident under your account to track the status of this query. Please log on to our support website to check for further updates.

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


Regards,
Jaikrishna C


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

;