Hello,
If series added after constructor, e.g. from Appearing event, then vertical axis labels are not displayed.
Here is a small sample project:
https://github.com/VitalyKnyazev/ios-chart-issue
In addition, on both Android and iOS if existing series is removed and added back - it is not displayed and on iOS all series can just disappear.
Yours faithfully
Vitaly Knyazev
13 Answers, 1 is accepted
Thank you for creating the sample project, with it I managed to reproduce both issues with the Chart regarding dynamically added series.
As to the first issue with the vertical axis labels - I logged it in our Feedback Portal, you could follow the feedback item here: https://feedback.telerik.com/Project/168/Feedback/Details/239304-chart-ios-vertical-axis-labels-are-not-displayed-if-the-series-is-added-dynami in order to get notified when there is progress on it.
As a workaround you could create the LineSeries in the constructor, but set their ItemsSource property at a later stage, here is a sample snippet:
chart2.Series.Add(lineSeries11);
chart2.Series.Add(lineSeries22);
Appearing += (sender, args) =>
{
lineSeries11.ItemsSource = points1;
lineSeries22.ItemsSource = points2;
};
Let me know whether such an approach would be suitable for you.
Regarding the second issue with removing/adding series - again, I logged it, you can find the feedback item here: https://feedback.telerik.com/Project/168/Feedback/Details/239310-chart-dynamically-removed-and-added-series-is-not-displayed-properly
You could find your Telerik points updated for reporting both issues with the Chart control.
Could you please give us more details on the exact scenario you have with removing/adding the series, so we could think of a possible workaround?
I'm looking forward to your reply.
Regards,
Yana
Progress Telerik
Hi Yana,
Thank you for logging the issues.
Currently all series are created dynamically when user switches to Charts tab to avoid UI thread blocking, workaround is not really usable in this scenario.
There is accounts tracking application where you can show/hide series for some accounts, see for example "Account Balances" report: https://play.google.com/store/apps/details?id=com.ktechsystems.moneytrackerpro
Not that it is critical functionality but it would be nice to get it fixed, it works just fine for native UWP charts.
Kind regards
Vitaly Knyazev
Thank you for sending the additional information. Indeed, the workaround I suggested previously will not help in this case.
I am afraid I cannot offer a suitable solution to this scenario at this stage, again I'd encourage you to follow the items in the Feedback Portal in order to receive notifications when the development team start working on them.
Let me know if you have any additional questions or concerns.
Regards,
Yana
Progress Telerik
Hi guys,
Please fix the issue, it is 6+ months already!
Thinking about Infragistics...
Cheers
Vitaly
I am afraid we didn't manage to get to the discussed in this thread issues within the past release due to other tasks with higher priority. I'd like to assure you each of the reported issues as well as feature requests in the public portal is carefully reviewed and prioritized by our product management and various factors, such as severity, demand, available resources, etc. are taken into consideration during this process.
I have raised the priority of these issues internally, so hopefully we'll manage to resolve them for some of the upcoming releases.
Thank you for your patience and understanding.
Regards,
Yana
Progress Telerik
Hi Yana,
Any news? It is ridiculous to wait for about a year to have a simple issue fixed in one of the main Telerik XF controls.
Regards
Vitaly
The second issue with dynamically removed and added series (https://feedback.telerik.com/Project/168/Feedback/Details/239310-chart-dynamically-removed-and-added-series-is-not-displayed-properly) is currently in progress and will be shipped with the upcoming minor release (expected next week) . I've just updated its status to "In Development" and as you're following the item, you'll receive a notification when we mark it as "Completed"
The first issue with axis labels is not scheduled, however we're having it in mind and I'm positive a fix will be included in some of the next versions of Telerik UI for Xamairn.
Let me know if I can assist with anything else.
Regards,
Yana
Progress Telerik
Hi Yana,
Thank you very much, I confirm that dynamically removed/added series issue is now fixed in 2018.3.1018.310.
Looking forward to axis issue fix.
By the way, can you please review one more charts issue again?
I am pretty sure the fix is one-liner, but the bug has been there for a long time: https://www.telerik.com/forums/crash-when-russian-culture-is-set
Regards
Vitaly
I understand the mentioned issue with the Chart exception on Android is an important one - I have raised its priority as well, at this point I cannot comment on its complexity, however, our dev team will definitely look into it.
Regards,
Yana
Progress Telerik
Hi Yana,
Any news? It is now more than 1 year, 1.5 for localization issue... Epic.
Regards
Vitaly
I completely understand your disappointment regarding these issues and I am so sorry we didn't manage to resolve them so far.
Honestly, we have those in mind, still, in the past release we tried first to resolve the issues with more impact. I've updated both the localization and dynamic series issues, so they will be treated with high priority.
Again, please take our apology for the causes inconvenience.
Regards,
Yana
Progress Telerik
Hi Yana,
Any news?..
Regards
Vitaly
I have checked what's the status of the discussed in this thread issues:
The exception with the localization on Android is resolved shortly after R1 2019: https://feedback.telerik.com/xamarin/1366019-chart-android-exception-is-thrown-when-the-points-have-decimal-field-and-the-cultureinfo-is-set-to-culture-that-use-comma-as-decimal-separator
What's left is the issue with labels on iOS: https://feedback.telerik.com/xamarin/1366178-chart-ios-vertical-axis-labels-are-not-displayed-if-the-series-is-added-dynamically.
I understand this makes the chart look strange, but I am afraid at this point we have planned other more critical issues regarding RadChart component. Still, we have this issue in mind and will check it at the earliest opportunity.
Sorry for any inconvenience caused.
Regards,
Yana
Progress Telerik