Numbers/Data Labels are not shown on Pie Chart in Android when Chart palette is set.

2 posts, 0 answers
  1. Ram Prasad
    Ram Prasad avatar
    6 posts
    Member since:
    Mar 2017

    Posted 03 May 2017 Link to this post

    Hello,

    we are using Xamarin forms Chart controls, the numbers/data labels are not showing on Pie Chart when Custom palette is given to Chart.

    I can reproduce this with Samples (SDKBrowser). Attached screenshot. Please let me know any alternative to show numbers on Chart.

     

    Thanks,

    Ram prasad

     

  2. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 08 May 2017 Link to this post

    Hi Ram,

    You need to specify StrokeColor in your custom palette entries. The same color will be used for foreground in labels, e.g. palette.Entries.Add(new PaletteEntry(Color.Red, Color.Black));

    Best regards,
    Ves
    Telerik by Progress
    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