interface ChartJs.LineOptions
implements CommonElementOptions
import { type ChartJs } from "https://deno.land/x/fresh_charts@0.3.0/deps.ts";
const { LineOptions } = ChartJs;
Properties
true to show the line as a stepped line (tension will be ignored).
fill: FillTarget | ComplexFillTarget
Both line and radar charts support a fill option on the dataset object which can be used to create area between two datasets or a dataset and a boundary, i.e. the scale origin, start or end
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.
segment: { backgroundColor: Scriptable<Color | undefined, ScriptableLineSegmentContext>; borderColor: Scriptable<Color | undefined, ScriptableLineSegmentContext>; borderCapStyle: Scriptable<CanvasLineCap | undefined, ScriptableLineSegmentContext>; borderDash: Scriptable<number[] | undefined, ScriptableLineSegmentContext>; borderDashOffset: Scriptable<number | undefined, ScriptableLineSegmentContext>; borderJoinStyle: Scriptable<CanvasLineJoin | undefined, ScriptableLineSegmentContext>; borderWidth: Scriptable<number | undefined, ScriptableLineSegmentContext>; }