How Charming renderers work
mainCharming provides three types of renderers to output charts in different environments. Note that the ssr and wasm features are mutually exclusive.
- HtmlRenderer: Renders a chart into HTML fragments. The actual rendering is offloaded to the user's web browser, making it ideal for interactive client-side web applications.
- ImageRenderer: Renders a chart into an image file (SVG, PNG, etc.) using an embedded
deno_coreengine. This requires thessrfeature flag. - WasmRenderer: Renders a chart within a WebAssembly runtime. This requires the
wasmfeature flag.