Categories in empty column chart

4 posts, 1 answers
  1. Jos
    Jos avatar
    4 posts
    Member since:
    Feb 2012

    Posted 29 Aug 2013 Link to this post

    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.
  2. Answer
    Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 02 Sep 2013 Link to this post

    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!
  3. Jos
    Jos avatar
    4 posts
    Member since:
    Feb 2012

    Posted 02 Sep 2013 Link to this post

    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!
  4. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 02 Sep 2013 Link to this post

    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!
Back to Top