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

Panes.title.border

configuration

The border of the title.

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    dataSource: {
        data: [{
            date: new Date(2016, 0, 1),
            close: 41,
            volume: 2632000
        }, {
            date: new Date(2016, 0, 2),
            close: 42,
            volume: 2631000
        }]
    },
    series: [{
        field: "close",
        name: "Price"
    }],
    panes: [{
        name: "default",
        title: {
            text: "Stock Price",
            border: {
                color: "blue",
                width: 1
            }
        }
    }]
});
</script>

The color of the border. Any valid CSS color string will work here, including hex and rgb.

Default: "black"

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    dataSource: {
        data: [{
            date: new Date(2016, 0, 1),
            close: 41,
            volume: 2632000
        }, {
            date: new Date(2016, 0, 2),
            close: 42,
            volume: 2631000
        }]
    },
    series: [{
        field: "close",
        name: "Price"
    }],
    panes: [{
        name: "default",
        title: {
            text: "Stock Price",
            border: {
                color: "red"
            }
        }
    }]
});
</script>

The dash type of the border.

"solid"

Specifies a solid line.

"dot"

Specifies a line consisting of dots.

"dash"

Specifies a line consisting of dashes.

"longDash"

Specifies a line consisting of a repeating pattern of long-dash.

"dashDot"

Specifies a line consisting of a repeating pattern of dash-dot.

"longDashDot"

Specifies a line consisting of a repeating pattern of long-dash-dot.

"longDashDotDot"

Specifies a line consisting of a repeating pattern of long-dash-dot-dot.

Default: "solid"

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    dataSource: {
        data: [{
            date: new Date(2016, 0, 1),
            close: 41,
            volume: 2632000
        }, {
            date: new Date(2016, 0, 2),
            close: 42,
            volume: 2631000
        }]
    },
    series: [{
        field: "close",
        name: "Price"
    }],
    panes: [{
        name: "default",
        title: {
            text: "Stock Price",
            border: {
                dashType: "dash"
            }
        }
    }]
});
</script>

The width of the border.

Default: 0

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    dataSource: {
        data: [{
            date: new Date(2016, 0, 1),
            close: 41,
            volume: 2632000
        }, {
            date: new Date(2016, 0, 2),
            close: 42,
            volume: 2631000
        }]
    },
    series: [{
        field: "close",
        name: "Price"
    }],
    panes: [{
        name: "default",
        title: {
            text: "Stock Price",
            border: {
                width: 2
            }
        }
    }]
});
</script>