findAxisByName

Returns an axis from the pane with the specified name.

Parameters

name String

The axis name.

Returns

kendo.dataviz.ChartAxis The chart axis.

Example

<div id="chart"></div>
<script>
$("#chart").kendoChart({
    series: [{
        data: [1, 2, 3, 4, 5]
    }],
    valueAxis: {
        name: "primaryAxis"
    },
    render: function(e) {
        var chart = e.sender;
        var axis = chart.findAxisByName("primaryAxis");
        console.log("Found axis:", axis);
    }
});
</script>
In this article
findAxisByName
Not finding the help you need?
Contact Support