series.legendItem.line.colorString
The color of the legend item of type line. Accepts a valid CSS color string, including HEX and RGB.
Defaults to the series color.
Example - set the line legend item color
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
type: "line",
name: "Series A",
data: [1, 2, 3],
legendItem: {
line: {
color: "red"
}
}
}]
});
</script>
In this article