Edit this page

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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy