CartesianGridLineAnnotation - not shown correctly

2 posts, 0 answers
  1. Thomas
    Thomas avatar
    1 posts
    Member since:
    Mar 2009

    Posted 19 Oct 2018 Link to this post


    I have an issue with the Telerik Chart control in Xamarin on Android - please see the attached screenshot.
    I added a CartesianGridLineAnnotation using the following code:

    chartCounter.Annotations.Add(new CartesianGridLineAnnotation() { Axis = verticalAxis, Value = fColorMaxContract, Stroke = Color.FromHex("EB6909"), StrokeThickness = 2, DashArray = new double[] { 8, 8 } });

    The line should be at value 200 but is "hanging down" on the right side. I magnified this a little so it is easier to see.
    I had this issue with older versions but still in Telerik.UI.for.Xamarin v2018.3.1018.1 to which I upgraded now.

    This seems like a bug to me.


    Best regards,


  2. Didi
    Didi avatar
    384 posts

    Posted 23 Oct 2018 Link to this post

    Hi Thomas,

    Thank you for the provided code and screenshot.

    I have tested the described scenario and I reproduced the issue on Android when GridLineAnnotation is used. I have logged this in our Feedback portal and you could follow the item on the provided link: Chart: [Android] The CartesianGridLineAnnotation is not showing correctly. Currently there is no suitable workaround I could suggest. Please find your Telerik points updated for this report.

    Let me know if you have any other questions or concerns. 

    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top