navigator.categoryAxisObject
The category axis configuration options.
Example
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
dataSource: {
data: [
{ date: new Date("2023/1/1"), value: 100 },
{ date: new Date("2023/1/2"), value: 105 },
{ date: new Date("2023/1/3"), value: 102 }
]
},
navigator: {
categoryAxis: {
labels: {
color: "red"
},
background: "#f0f0f0"
},
series: {
type: "line",
field: "value"
}
},
series: [{
field: "value",
type: "line"
}]
});
</script>
In this article