Skip to main content
Module

x/fresh_charts/core.ts>chart

A server-side-rendered charting library for Fresh
Go to Latest
function chart
import { chart } from "https://deno.land/x/fresh_charts@0.1.0/core.ts";

Render a chart, returning a SVG string representation of the chart.

This is a lower level function, where the Chart component and renderChart are intended for use within a Fresh application.

Parameters

optional
unnamed 0: ChartConfiguration = [UNSUPPORTED]

Returns

string