findPaneByIndex

Returns a pane with specific index.

Parameters

index Number

The pane index.

Returns

kendo.dataviz.ChartPane The chart pane.

Example - use the pane chartsVisual to draw a circle behind series points

<div id="chart"></div> <script> var chart = $("#chart").kendoChart({ series: [{ data: [1, 2] }] }).getKendoChart(); var pane = chart.findPaneByIndex(0); var circle = new kendo.drawing.Circle(new kendo.geometry.Circle([200, 200], 100), { fill: { color: "red" }}); pane.chartsVisual.insert(0, circle); </script>
In this article
findPaneByIndex
Not finding the help you need?
Contact Support