The chart below is rendered with a transparent background. The chart is rendered inside a container with a purple background which is visible beyond the chart elements.
The above sample showcases how to use setTransparent function in JavaScript. Click here to know more on how the code of this example works.