categoryAxis.nameString(default: "primary")

The unique axis name.

Example

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    dataSource: {
        data: [
            { date: new Date("2012/01/01"), close: 300, volume: 40000 },
            { date: new Date("2012/01/02"), close: 310, volume: 50000 },
            { date: new Date("2012/01/03"), close: 320, volume: 45000 }
        ]
    },
    dateField: "date",
    categoryAxis: {
        name: "mainCategory"
    },
    series: [{
        type: "candlestick",
        field: "close"
    }]
});
</script>
In this article
categoryAxis.name
Not finding the help you need?
Contact Support