valueAxis.narrowRange Boolean (default: true)

If set to true the Chart will narrow the value axis range in order to display data points in better detail. Setting it to false will force the automatic axis range to start from 0 or the explicitly specified valueAxis.min value.

Example - prevent automatic axis range snapping

<div id="chart"></div>
<script>
    $("#chart").kendoChart({
        valueAxis: {
            narrowRange: true
        },
        series: [{
            data: [1000, 2000]
        }]
    });
</script>

Example - force automatic axis range snapping

<div id="chart"></div>
<script>
    $("#chart").kendoChart({
        valueAxis: {
            narrowRange: false
        },
        series: [{
            data: [1000, 1100]
        }]
    });
</script>
In this article
Not finding the help you need? Improve this article