series.legendItem Object
The configuration of the Chart legend item for this series.
Example - override the legend item type for the series
<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",
legendItem: {
type: "line"
}
}],
legend: {
visible: true,
position: 'bottom'
}
});
</script>
Related Properties
- series.legendItem.area
- series.legendItem.area.background
- series.legendItem.area.opacity
- series.legendItem.cursor
- series.legendItem.highlight
- series.legendItem.highlight.markers
- series.legendItem.highlight.markers.background
- series.legendItem.highlight.markers.border
- series.legendItem.highlight.markers.border.color
- series.legendItem.highlight.markers.border.dashType
- series.legendItem.highlight.markers.borderRadius
- series.legendItem.highlight.markers.type
- series.legendItem.highlight.markers.visible
- series.legendItem.highlight.markers.visual
- series.legendItem.highlight.visible
- series.legendItem.line
- series.legendItem.line.color
- series.legendItem.line.dashType
- series.legendItem.line.opacity
- series.legendItem.markers
- series.legendItem.markers.background
- series.legendItem.markers.border
- series.legendItem.markers.border.color
- series.legendItem.markers.border.dashType
- series.legendItem.markers.borderRadius
- series.legendItem.markers.type
- series.legendItem.markers.visible
- series.legendItem.markers.visual
- series.legendItem.type
- series.legendItem.visual