The zoom direction. Possible values:
Zooming expands and contracts the selection both sides.
Zooming expands and contracts the selection left side only.
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>