Skip to main content
Module

x/fresh_charts/deps.ts>ChartJs.ParsingOptions

A server-side-rendered charting library for Fresh
Go to Latest
interface ChartJs.ParsingOptions
import { type ChartJs } from "https://deno.land/x/fresh_charts@0.2.0/deps.ts";
const { ParsingOptions } = ChartJs;

Properties

parsing: { [key: string]: string; } | false

How to parse the dataset. The parsing can be disabled by specifying parsing: false at chart options or dataset. If parsing is disabled, data must be sorted and in the formats the associated chart type and scales use internally.

normalized: boolean

Chart.js is fastest if you provide data with indices that are unique, sorted, and consistent across datasets and provide the normalized: true option to let Chart.js know that you have done so.