Documentation menu

Class

Rule

A rule of a FerroPlot.

Methods

applyOptions

applyOptions(options: RuleOptions): void;

Changes options; absent keys keep their value.

remove

remove(): void;

Removes the rule.

Like every object of the API, a Rule holds WebAssembly memory. Objects returned by the chart are freed with it; free() (or using) releases one earlier.