Skip to main content
Module

x/fresh_charts/deps.ts>ChartJs.LineControllerChartOptions

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

Properties

spanGaps: boolean | number

If true, lines will be drawn between points with no or null data. If false, points with NaN data will create a break in the line. Can also be a number specifying the maximum gap length to span. The unit of the value depends on the scale used.

showLine: boolean

If false, the lines between points are not drawn.