Missing Legend Item in Pie Chart

2 posts, 0 answers
  1. Jarod
    Jarod avatar
    8 posts
    Member since:
    Oct 2013

    Posted 10 Mar 2014 Link to this post

    I have a pie chart where the labels are 0, 1, 2, 3, 4, 5+.  But the "0" category doesn't show up in the legend, even though it's showing up in the chart.  It works fine if I change the label to "Zero", but won't show up when it's "0".  It's also missing from the tool tip.  The client template for the tooltip is 
    "#=category#<br />#=dataItem.code_count# (#=value#%)".  Again, the tooltip shows up fine for "Zero", "1", "2", etc., but for "0", #=category# shows up blank.  Is there any way to display category labeled "0"?
  2. Danail Vasilev
    Danail Vasilev avatar
    1476 posts

    Posted 12 Mar 2014 Link to this post

    Hi Jarod,

    This seems to be an issue with the control, so that the NameField column from the data source is parsed initially to decimal values. I have logged this issue in our feedback portal here, so that you can monitor, comment and raise its priority by voting on it.

    As small token of gratitude for reporting this issue to us I have updated your Telerik points.

    Danail Vasilev

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

  3. DevCraft R3 2016 release webinar banner
Back to Top