AreaSeries
An area series chart fills the region between data points and a baseline, making it effective for visualizing magnitudes, trends, and cumulative values over a continuous range. It combines line-based trend visibility with filled regions to emphasize volume, helping to reveal patterns and comparisons across series.
XYChart.AreaSeries
XYChart.AreaSeries provides a slot for defining an AreaSeries.
XYChartAreaSeriesProps
Signature:
export declare type Props = <, | | > & & {
x0Accessor?: ;
y0Accessor?: ;
x1Accessor?: ;
y1Accessor?: ;
seriesIdAccessor: ;
nameAccessor: ;
/**
* Show the datapoints always, or auto based on a threshold amount.
* @defaultValue
*/
pointsDisplay?: ;
/**
* Area interpolation curve type
*/
curve?: ;
/**
* Custom actions to be shown in the legend.
* (Upcoming for tooltip)
* For legend, the first parameter returns the first datapoint of the series and the second parameter returns the series object.
*/
actions?: (datapoint: , series?: ) => ;
};