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

The border of the label.

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    series: [{
        type: "candlestick",
        data: [[new Date(2023, 0, 1), 100, 110, 95, 105]],
        notes: {
            data: [{
                value: new Date(2023, 0, 1),
                label: {
                    text: "Important note",
                    border: {
                        color: "#ff0000",
                        width: 2
                    }
                }
            }]
        }
    }]
});
</script>

The color of the border. Accepts a valid CSS color string, including hex and rgb.

Default: "black"

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    series: [{
        type: "candlestick",
        data: [[new Date(2023, 0, 1), 100, 110, 95, 105]],
        notes: {
            data: [{
                value: new Date(2023, 0, 1),
                label: {
                    text: "Important note",
                    border: {
                        color: "#ff0000"
                    }
                }
            }]
        }
    }]
});
</script>

The dash type of the border.

Default: "solid"

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    series: [{
        type: "candlestick",
        data: [[new Date(2023, 0, 1), 100, 110, 95, 105]],
        notes: {
            data: [{
                value: new Date(2023, 0, 1),
                label: {
                    text: "Important note",
                    border: {
                        dashType: "dash"
                    }
                }
            }]
        }
    }]
});
</script>

The following dash types are supported:

  • "dash" - a line consisting of dashes
  • "dashDot" - a line consisting of a repeating pattern of dash-dot
  • "dot" - a line consisting of dots
  • "longDash" - a line consisting of a repeating pattern of long-dash
  • "longDashDot" - a line consisting of a repeating pattern of long-dash-dot
  • "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot
  • "solid" - a solid line

The width of the border in pixels. By default the border width is set to zero which means that the border will not appear.

Default: 0

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    series: [{
        type: "candlestick",
        data: [[new Date(2023, 0, 1), 100, 110, 95, 105]],
        notes: {
            data: [{
                value: new Date(2023, 0, 1),
                label: {
                    text: "Important note",
                    border: {
                        width: 3
                    }
                }
            }]
        }
    }]
});
</script>