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

Categories in empty column chart

3 Answers 43 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Jos
Top achievements
Rank 1
Jos asked on 29 Aug 2013, 08:07 AM
Hello,

I've got a question about the categories in an empty column chart.
They show up as if it was a linechart when the chart is empty.

Is their a way to show the categories in the correct way, even if the chart is empty?
For an example please see the attached image.

3 Answers, 1 is accepted

Sort by
0
Accepted
Hristo Germanov
Telerik team
answered on 02 Sep 2013, 07:03 AM
Hi Jos,

I think that in your example you have line chart with justified: true but the bar chart doesn't support justified options. The suggested workaround is to set justified: false if you haven't any data in your line chart.

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
Jos
Top achievements
Rank 1
answered on 02 Sep 2013, 11:57 AM
Hi Hristo,

This solves my problem indeed!
I need to manually set justified to false, true seems to be the default.
(Even tough I believe the default chart is a column chart).

http://jsfiddle.net/JosVinke/7qSwV/

Thanks!
0
Hristo Germanov
Telerik team
answered on 02 Sep 2013, 12:43 PM
Hi Jos,

This is strange behavior and I will try to fix it. Thank you for the reporting this issue.

I have updated your points.

Regards,
Hristo Germanov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Jos
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Jos
Top achievements
Rank 1
Share this question
or