Skip to content
pixi-silk
GitHub repository
Interface

AreaOptions

import type { AreaOptions } from 'pixi-silk';

Options of area(): monotone smoothing of the series and its sample spacing.

Properties#

PropertyTypeDescriptionDefined in
smooth?false | "monotone"monotone draws a smooth curve through the points that never overshoots. Default false.SilkGraphics.ts:181
step?numberSample spacing for smoothing, local units. Default 2.SilkGraphics.ts:183