categoryAxis.notes.data.positionString

The position of the category axis note.

  • "top" - The note is positioned on the top.
  • "bottom" - The note is positioned on the bottom.
  • "left" - The note is positioned on the left.
  • "right" - The note is positioned on the right.

Example

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    dataSource: {
        data: [
            { date: "2012/01/01", open: 10, high: 15, low: 8, close: 12, volume: 1000 },
            { date: "2012/01/02", open: 12, high: 18, low: 10, close: 16, volume: 1500 }
        ]
    },
    dateField: "date",
    categoryAxis: {
        notes: {
            data: [
                { value: new Date("2012/01/01"), text: "Start date", position: "top" }
            ]
        }
    },
    series: [{
        type: "candlestick",
        openField: "open",
        highField: "high",
        lowField: "low",
        closeField: "close"
    }]
});
</script>
  • "right" - The note is positioned on the right.
In this article
categoryAxis.notes.data.position
Not finding the help you need?
Contact Support