ZingChart: How do I render a chart in SVG or Canvas?

Charts are rendered in SVG by default. Users that prefer can change the render output to Canvas.

To set the render output, add an output attribute to the render method. Specify how you want the chart rendered.

<code>zingchart.render({<br> id : 'myChart',<br> data : myConfig,<br> height : 400,<br> width : 600,<br> output : 'canvas', // 'svg', 'vml'<br>});

Relative Documentation

  1. See our documentation on the ZingChart Object and Methods for more information.

  2. How to export charts as a static image

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us