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

Min and max Value axis Label

1 Answer 377 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Neil
Top achievements
Rank 1
Neil asked on 11 May 2012, 04:20 PM
Hey,
Im trying to make a column chart which has values either 0 or 1. And the problem im encountering is that in the picture i attached. I turns out the minnimum value has to be 6. Even if I do min:0 max 1 step 1 it just doesnt do the job. Please help

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 14 May 2012, 07:53 AM
Hi Neil,

You could achieve the needed functionality using majorUnit configuration option of the valueAxis in Kendo UI Chart. For example: 
$("#chart").kendoChart({
   ...
   valueAxis: {
       majorUnit: 1,
       min: 0,
       max: 1
    }
   ...                  
});

Greetings,

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