Bar chart date category hide bars without values

2 posts, 1 answers
  1. Marco
    Marco avatar
    1 posts
    Member since:
    Jun 2015

    Posted 02 Dec 2015 Link to this post


    I have a bar chart with day as category but I don't have data for all the days.

    Is it possible to show only the bars with values?



  2. Answer
    Eduardo Serra
    Eduardo Serra avatar
    41 posts

    Posted 02 Dec 2015 Link to this post

    Hello Marco,

    It is not possible to skip days if the category axis is of date type because that would be like removing values from the x axis, it would skew the data. What can be done to achieve what you want is to treat the dates as strings. I have modified the sample you provided to satisfy your needs; take a look at it here.

    Also, since I see you're working with charts and are interested in their design, I encourage you to take a look at a great article that was recently written by a colleague; read 6 Rules for Awesome Data Visualizations with Kendo UI here.

    I hope this helps!

    Eduardo Serra
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top