New to Kendo UI for jQuery? Start a free 30-day trial

Mousewheel zoom settings for the selection.

<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 },
            { date: new Date("2012/01/04"), close: 330, volume: 55000 },
            { date: new Date("2012/01/05"), close: 340, volume: 60000 }
        ]
    },
    dateField: "date",
    categoryAxis: {
        select: {
            mousewheel: {
                reverse: false,
                zoom: "both"
            }
        }
    },
    series: [{
        type: "candlestick",
        field: "close"
    }]
});
</script>

Reverses the mousewheel zoom direction. Normal direction is down for "zoom out", up for "zoom in".

Default: true

<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 },
            { date: new Date("2012/01/04"), close: 330, volume: 55000 },
            { date: new Date("2012/01/05"), close: 340, volume: 60000 }
        ]
    },
    dateField: "date",
    categoryAxis: {
        select: {
            mousewheel: {
                reverse: false
            }
        }
    },
    series: [{
        type: "candlestick",
        field: "close"
    }]
});
</script>

The zoom direction. Possible values:

"both"

Zooming expands and contracts the selection both sides.

"left"

Zooming expands and contracts the selection left side only.

"right"

Zooming expands and contracts the selection right side only.

Default: "both"

<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 },
            { date: new Date("2012/01/04"), close: 330, volume: 55000 },
            { date: new Date("2012/01/05"), close: 340, volume: 60000 }
        ]
    },
    dateField: "date",
    categoryAxis: {
        select: {
            mousewheel: {
                zoom: "left"
            }
        }
    },
    series: [{
        type: "candlestick",
        field: "close"
    }]
});
</script>