categoryAxis.axisCrossingValue Object|Date|Array
Category index at which the first value axis crosses this axis (when set as an object).
Category indices at which the value axes cross the category axis (when set as an array).
Set an index greater than or equal to the number of categories to denote the far end of the axis.
If the Chart uses multiple panes, the crossing values are not scoped to a pane. To be able to customize the crossing values in a given pane, you first need to provide placeholder values for the previous pane axes and then the crossing values for the current pane.
Example - set the category axis crossing values
<div id="chart"></div>
<script>
$("#chart").kendoChart({
categoryAxis: {
categories: [ "2012", "2013"],
axisCrossingValue: [0, 10]
},
valueAxis: [{}, {}],
series: [
{ data: [1, 2, 3] }
]
});
</script>
Example - set the crossing values in a multi-pane Chart
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [
{ data: [1, 7, 5, 3] },
{ data: [1, 2, 3, 4], axis: "bottom-2" },
{ data: [10, 20, 13, 14], axis: "bottom-2" }
],
valueAxis: [
{ pane: "top-pane" },
{ pane: "bottom-pane", name: "bottom-1" },
{ pane: "bottom-pane", name: "bottom-2" }
],
panes: [
{ name: "top-pane" },
{ name: "bottom-pane" }
],
categoryAxis: [{
pane: "top-pane",
categories: [2000, 2001, 2002, 2003]
},{
axisCrossingValues: [0, 0, 10000],
categories: [2002, 2003, 2004, 2005],
pane: "bottom-pane"
}]
});
</script>