legendObject
The chart legend configuration options.
Example
pseudo
$("#chart").kendoChart({
legend: {
// set the background color to a dark blue
background: "#336699",
labels: {
// set the font to a size of 14px
font: "14px Arial,Helvetica,sans-serif",
// set the color to red
color: "red"
},
// move the legend to the left
position: "left",
// move the legend a bit closer to the chart by setting the x offset to 20
offsetX: 20,
// move the legend up to the top by setting the y offset to -100
offsetY: -100,
}
});
In this article