legend.item.line Object
Sets the configuration of the legend items of type line
.
This is the default legend item type for all line and scatter series.
Example - override the color of line
legend items
<div id="chart"></div>
<script>
$("#chart").kendoStockChart({
dataSource: {
data: [{
"Date": "2016/01/01",
"Open": 41.62,
"High": 41.69,
"Low": 39.81,
"Close": 40.12,
"Volume": 2632000
}, {
"Date": "2016/03/01",
"Open": 40.62,
"High": 39.69,
"Low": 40.81,
"Close": 39.12,
"Volume": 2631986
}]
},
dateField: "Date",
series: [{
name: "Series 1",
type: "candlestick",
openField: "Open",
highField: "High",
lowField: "Low",
closeField: "Close"
}],
legend: {
visible: true,
position: 'bottom',
item: {
line: {
color: "#777",
}
}
}
});
</script>