legend.title.backgroundString
(default: "white")
The background color of the title. Accepts a valid CSS color string, including hex and rgb.
Example
<div id="chart"></div>
<script>
$("#chart").kendoChart({
legend: {
title: {
text: "Legend",
background: "lightblue"
}
},
series: [
{ name: "Series 1", data: [1, 2, 3] },
{ name: "Series 2", data: [4, 5, 6] }
]
});
</script>
In this article