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

Series minimum visual space

2 Answers 37 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 21 May 2014, 07:04 PM
Hi,

I have several categories. The series value for some of the categories can be a lot larger than the values for other series.
Example:
[
    { type: "foo", count: 6589 },
    { type: "bar", count: 2 },
     ... more series
]

In the case of a pie chart, this results in the "bar" slice being very small. The problem is that I want to capture series click events. But, these small slices are unusable in that way.

Is there a way to configure bar, pie and similar charts to have these series with small values always take up some minimum space?

2 Answers, 1 is accepted

Sort by
0
Accepted
Hristo Germanov
Telerik team
answered on 23 May 2014, 01:41 PM
Hello Josh,

This is unsupported functionality by the Kendo UI Chart. The workaround is to set different data for the chart with labels/tooltip template that will show you the original value. Could you try this approach and tell me if it works for you?

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Josh
Top achievements
Rank 1
answered on 23 May 2014, 02:06 PM
Hristo,

This is the workaround we already have in place, so we will stick to this approach.

Thanks,
Josh
Tags
Charts
Asked by
Josh
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Josh
Top achievements
Rank 1
Share this question
or