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

Pie Chart - Don't show item on chart if value lower than specified range

2 Answers 110 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Kyriakos
Top achievements
Rank 1
Kyriakos asked on 10 Jan 2013, 09:45 AM
Hi , is there a possibility for a pie chart to avoid showing on the chart data that have very low value numbers?
 if for a example you want to design a pie chart with a array of 150 items and display the percentage of them in the pie chart;
 if some items have the value lets say 0.01% you don't want to show them on the chart .
Because the slice will be neglictable and also will be too much information around the pie chart that would make it difficult to read.
So the question deep down is if you can set a minimum and a maximum range of values for the pie chart and fetch display data only that belong to that range.

2 Answers, 1 is accepted

Sort by
0
Accepted
Hristo Germanov
Telerik team
answered on 10 Jan 2013, 11:44 AM
Hi Kyrikos,

You need to:
  • Hook up to parse() of the dataSource and there you can modify chart's data before rendering.

Can you examine this jsbin and if you find something wrong please tell me?

Regards,
Hristo Germanov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Kyriakos
Top achievements
Rank 1
answered on 11 Jan 2013, 08:49 AM
looks fine to me thanks for the quick reply !
Tags
Charts
Asked by
Kyriakos
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Kyriakos
Top achievements
Rank 1
Share this question
or