valueAxis.narrowRange Boolean

If set to true the chart will prevent the automatic axis range from snapping to 0. Setting it to false will force the automatic axis range to snap to 0.

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