valueAxis.minorUnit Number
The interval between minor divisions. It defaults to 1/5 of the valueAxis.majorUnit.
If the valueAxis.type is set to "log"
, the minorUnit value represents the number of divisions between two major units and defaults to the major unit minus one.
Example - set the value axis minor unit
<div id="chart"></div>
<script>
$("#chart").kendoChart({
valueAxis: {
minorUnit: 2
},
series: [
{ data: [1, 2, 3] }
]
});
</script>
Example - set the logarithmic value axis minor unit
<div id="chart"></div>
<script>
$("#chart").kendoChart({
valueAxis: {
type: "log",
minorUnit: 2,
minorGridLines: {
visible: true
}
},
series: [
{ data: [1, 10] }
]
});
</script>