The Chart supports two modes for rendering its data—Canvas (bitmap) and SVG (vector graphics).
By default, the Chart delivers its data in SVG. You can navigate between the rendering modes and modify them by setting the
The default SVG rendering mode is recommended for general use.
Using vector graphics ensures that:
- The browser zoom does not degrade the image.
- The prints are crisp regardless of the resolution.
When performance is critical—when rendering large dashboards and frequently updated charts—it is recommended to use Canvas.
The browser does not have to maintain a live DOM tree for the Chart which results in:
- Quicker screen updates.
- Lower memory usage.
On the downside, rendering to a fixed resolution bitmap results in:
- Blurry images on zoom.
- Poor print quality.