series.visibleInLegendBoolean(default: true)
A value indicating whether to show the series name in the legend.
Example
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
dataSource: {
data: [
{ date: "2013/01/01", value: 40 },
{ date: "2013/01/02", value: 42 }
]
},
legend: {
visible: true
},
series: [{
name: "Value",
field: "value",
visibleInLegend: false
}],
categoryAxis: {
field: "date"
}
});
</script>
In this article