seriesDefaults.borderObject
The border of the series.
Example
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
dateField: "date",
seriesDefaults: {
border: {
color: "#ff0000",
width: 5
}
},
series: [{
type: "column",
color: "yellow",
data: [
{ date: new Date(2000, 1, 1), value: 300 },
{ date: new Date(2000, 1, 2), value: 200 }
]
}]
});
</script>
seriesDefaults.border.colorString(default: "black")
The color of the border.
Example
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
dateField: "date",
seriesDefaults: {
border: {
color: "black",
}
},
series: [{
type: "column",
color: "yellow",
data: [
{ date: new Date(2000, 1, 1), value: 300 },
{ date: new Date(2000, 1, 2), value: 200 }
]
}]
});
</script>
seriesDefaults.border.dashTypeString(default: "solid")
The dash type of the border.
Example
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
dateField: "date",
seriesDefaults: {
border: {
color: "black",
dashType: "dash"
}
},
series: [{
type: "column",
color: "yellow",
data: [
{ date: new Date(2000, 1, 1), value: 300 },
{ date: new Date(2000, 1, 2), value: 200 }
]
}]
});
</script>
"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.
seriesDefaults.border.widthNumber(default: 0)
The width of the border.
Example
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
dateField: "date",
seriesDefaults: {
border: {
color: "black",
width: 5
}
},
series: [{
type: "column",
color: "yellow",
data: [
{ date: new Date(2000, 1, 1), value: 300 },
{ date: new Date(2000, 1, 2), value: 200 }
]
}]
});;
</script>