Skip to content

Documentation / @finchart/core / index / areaSeries

Function: areaSeries() ​

Call Signature ​

areaSeries(style?): AreaSeries<LineDataPoint>

Defined in: packages/core/src/series/area-series.ts:126

The default wiring for LineDataPoint, or an area over any point shape given coordinates — the same two calls as lineSeries.

Parameters ​

style? ​

StyleOverridesOf<{ fill: { css: "--chart-area"; fallback: "rgba(59, 130, 246, 0.16)"; }; fillBottom: { css: "--chart-area-bottom"; fallback: ""; }; line: { color: { css: "--chart-area-line"; fallback: "#3b82f6"; }; dashArray: { css: "--chart-area-line-dash"; fallback: ""; }; width: { css: "--chart-area-line-width"; fallback: 2; }; }; }> & object

Returns ​

AreaSeries<LineDataPoint>

Call Signature ​

areaSeries<T>(options): AreaSeries<T>

Defined in: packages/core/src/series/area-series.ts:129

The default wiring for LineDataPoint, or an area over any point shape given coordinates — the same two calls as lineSeries.

Type Parameters ​

T ​

T extends BaseDataPoint

Parameters ​

options ​

AreaSeriesOptions<T> & object

Returns ​

AreaSeries<T>