Donut chart legend angular not showing

2 posts, 0 answers
  1. Baba
    Baba avatar
    10 posts
    Member since:
    Oct 2015

    Posted 20 Dec 2016 Link to this post

    Hello,

    I have a problem with kendo donut chart legend displaying. In this example http://demos.telerik.com/kendo-ui/donut-charts/angular there is specified "<div kendo-chartk-legend="{ position: 'bottom' }..." but the legend does not appear. 

    Please help.

    Thanks!

  2. Patrick
    Admin
    Patrick avatar
    204 posts

    Posted 21 Dec 2016 Link to this post

    Hi Baba,

    The reason the Chart's legend does not appear in this demo is because of the data used and the property series.visibleInLegendField.  The series.visibleInLegendField reads a field in the JSON and will display if it is set to true.  In this case, the "visibleInLegend" is being used, and all are set to false.

    I hope this clears things!

    Regards,
    Patrick
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top