paneDefaults.background String

The background color of all chart panes. Accepts a valid CSS color string, including hex and rgb.

Example - set the default panes background

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [
    { data: [1, 2, 3] },
    { data: [1, 2, 3, 4], axis: "bottom" }
  ],
  valueAxis: [
    { pane: "top-pane" },
    { pane: "bottom-pane", name: "bottom" }
  ],
  paneDefaults: {
    background: "#00ff00"
  },
  panes: [
    { name: "top-pane" },
    { name: "bottom-pane" }
  ]
});
</script>
In this article
Not finding the help you need? Improve this article