valueAxis.majorUnit Number
The interval between major divisions.
If the valueAxis.type is set to "log"
, the majorUnit value will be used for the base of the logarithm.
Example - set the value axis major unit
<div id="chart"></div>
<script>
$("#chart").kendoChart({
valueAxis: {
majorUnit: 1
},
series: [
{ data: [1, 2, 3] }
]
});
</script>
Example - set the base of the logarithm for a logarithmic value axis.
<div id="chart"></div>
<script>
$("#chart").kendoChart({
valueAxis: {
type: "log",
majorUnit: 2
},
series: [
{ data: [5, 8, 1024] }
]
});
</script>