Hi,
I've tried to use the chart annotations exactly as described in this example. Unfortunately, creating the annotations and adding them to the chart from the code behind does not work. When doing so, an exception happens:
An exception of type 'System.InvalidCastException' occurred in System.Private.CoreLib.dll but was not handled in user code
Unable to cast object of type 'Telerik.XamarinForms.Chart.CartesianGridLineAnnotation' to type 'Telerik.XamarinForms.Chart.ChartSeries'.
As soon as I declare the annotations in XAML, it just works fine. As we need the possibility to adapt the annotations in the code behind, any support would be appreciated.