Edit this page

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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy