legend.positionString
(default: "right")
The positions of the chart legend.
The supported values are:
-
"top" - the legend is positioned on the top.
-
"bottom" - the legend is positioned on the bottom.
-
"left" - the legend is positioned on the left.
-
"right" - the legend is positioned on the right.
-
"custom" - the legend is positioned using legend.offsetX and legend.offsetY.
Example
<div id="chart"></div>
<script>
$("#chart").kendoChart({
legend: {
position: "top"
},
series: [
{ name: "Series 1", data: [1, 2, 3] },
{ name: "Series 2", data: [4, 5, 6] }
]
});
</script>
In this article