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

Showing x Axis label with no bar with kendo bar chart

1 Answer 82 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Hitesh
Top achievements
Rank 1
Hitesh asked on 01 Oct 2015, 06:56 AM

Hi 

We have a requirement to show week,month wise data with the kendo chart.

Currently we are showing the data as per data we have in Database, lets have an example as below.

we have data of "June, July and September" for the year "2015" in database, so with kendo chart we are showing the data of the same with "June, July and Sept" on x Axis label and value on Y Axis.

Now here we need to customize X Axis to show "August" month label too with no data, as data is not present in the database.

Any kendo property support to enable it. 

 

Regards,

Hitesh

 

1 Answer, 1 is accepted

Sort by
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 01 Oct 2015, 04:02 PM
Hello Hitesh,

Take a look at my sample illustrating how to display a category with no value.

Notice:  "Aug" needed to be in the CategoryAxis, and the data of null was defined as its value in Series.Data

Hopefully this helps clear things.  

Regards,
Pat
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
Hitesh
Top achievements
Rank 1
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Share this question
or