This is a migrated thread and some comments may be shown as answers.

Missing Legend Item in Pie Chart

1 Answer 92 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Jarod
Top achievements
Rank 1
Jarod asked on 10 Mar 2014, 02:33 PM
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"?

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 12 Mar 2014, 01:13 PM
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.

Regards,
Danail Vasilev
Telerik
 

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

 
Tags
Chart (HTML5)
Asked by
Jarod
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or