StackedAreaSeries<TModel, TVisual>
Class

Assembly LiveChartsCore.SkiaSharpView
Namespace LiveChartsCore.SkiaSharpView

Summary:
Defines a stacked area series in the user interface.

Type parameters:
TModel The type of the points, you can use any type, the library already knows how to handle the most common numeric types, to use a custom type, you must register the type globally (Coordinate})) or at the series level (Mapping).
TVisual The type of the geometry of every point of the series.
Inheritance:
Object =>
ChartElement =>
Series<TModel, TVisual, LabelGeometry> =>
CartesianSeries<TModel, TVisual, LabelGeometry> =>
StrokeAndFillCartesianSeries<TModel, TVisual, LabelGeometry> =>
CoreLineSeries<TModel, TVisual, LabelGeometry, CubicBezierAreaGeometry, LineGeometry> =>
CoreStackedAreaSeries<TModel, TVisual, LabelGeometry, CubicBezierAreaGeometry, LineGeometry> =>
StackedAreaSeries<TModel, TVisual, LabelGeometry> =>
StackedAreaSeries<TModel, TVisual>
Implements:
ISeries<TModel>

Constructors

// Initializes a new instance of the StackedAreaSeries`3 class.
// Initializes a new instance of the StackedAreaSeries`3 class, with a given collection of values.
IReadOnlyCollection<TModel> values// The values to plot.
)

Properties

Gets or sets the size of the geometry.
Type: Double
Gets or sets the line smoothness, where 0 is a straight line, and 1 the most curved line, default is 0.65
Type: Double
Gets or sets a value indicating whether the line should split every null point, enabling it has a performance impact, default is true.
Type: Boolean
Gets or sets the geometry fill.
Type: Paint
Gets or sets the geometry stroke.
Type: Paint
Gets or sets a value indicating whether to show the error mark, to set the color use the ErrorPaint property, the ErrorPaint property could be defined by the theme when not explicitly set. Default is false.
Type: Boolean
Gets or sets the error paint.
Type: Paint
Gets or sets the stroke.
Type: Paint
Gets or sets the fill.
Type: Paint
Gets or sets the axis index where the series is scaled in the X plane, the index must exist in the XAxes collection.
Type: Int32
Gets or sets the axis index where the series is scaled in the Y plane, the index must exist in the YAxes collection.
Type: Int32
Gets or sets the data labels position.
Type: DataLabelsPosition
Gets or sets the data labels translate transform, the property is of type LvcPoint, where the X property is in normalized units (from 0 to 1), where 1 is the width of the label and the Y property is also in normalized units (from 0 to 1), where 1 is the height of the label.
Type: Nullable<LvcPoint>
Gets or sets the tooltip label formatter in the X axis, the function receives a ChartPoint instance and must return a string.
Type: Func<ChartPoint<TModel, TVisual, LabelGeometry>, String>
Gets or sets the tooltip label formatter in the Y axis, the function receives a ChartPoint instance and must return a string.
Type: Func<ChartPoint<TModel, TVisual, LabelGeometry>, String>
Gets or sets the clipping mode, clipping restricts the series and labels for being drawn outside of the chart area (DrawMargin), default is XY, and means that anything outside the chart bounds will be ignored.
Type: ClipMode
Gets the properties of the series.
Type: SeriesProperties
Gets or sets the name of the series, the name is normally used by IChartTooltip or IChartLegend, the default value is set automatically by the library.
Type: String
Gets or sets the values.
Type: IReadOnlyCollection<TModel>
Gets or sets the value where the direction of the axis changes, by default is 0.
Type: Double
Gets or sets the mapping.
Type: Func<TModel, Int32, Coordinate>
Gets or sets the series geometry svg, this property requires the series visual to be an IVariableSvgPath instance.
Type: String
Gets or sets the z index position.
Type: Int32
Gets or sets the data labels formatter, the function receives a ChartPoint instance and must return a string.
Type: Func<ChartPoint<TModel, TVisual, LabelGeometry>, String>
Gets or sets a value indicating whether this instance will show up in tool tips when the pointer is over a point. default value is true.
Type: Boolean
Gets or sets a value indicating whether this instance will show up in legends. default value is true.
Type: Boolean
Gets or sets the data padding, the distance from the edge of the chart to where the series is drawn, both coordinates (X and Y) from 0 to 1, where 0 is nothing and 1 is the axis tick (the separation between every label).
Type: LvcPoint
Gets or sets the animations speed, if this property is null, the ActualAnimationsSpeed property will be used.
Type: Nullable<TimeSpan>
Gets or sets the easing function to animate the series, if this property is null, the ActualEasingFunction property will be used.
Type: Func<Single, Single>
Gets the data factory.
Type: DataFactory<TModel>
Gets or sets the size of the legend shape.
Type: Double
Gets or sets the miniature stroke thickness.
Type: Double
Indicates whether the data labels are visible, to set the color use the DataLabelsPaint property, the DataLabelsPaint property could be defined by the theme when not explicitly set. Default is false.
Type: Boolean
Gets or sets the data labels paint.
Type: Paint
Gets or sets the size of the data labels.
Type: Double
Gets or sets the data labels rotation in degrees.
Type: Double
Gets or sets the data labels padding.
Type: Padding
Gets or sets the max width of the data labels.
Type: Double
Gets the visual states, states define the look of chart points when they are in a certain state, for example the hover, active, or selected states.
Type: VisualStatesDictionary
Tag
Gets or sets the object that contains data about the control.
Type: Object
Gets or sets a value indicating whether the element is visible.
Type: Boolean

Events

Occurs when an instance of ChartPoint is measured.
Handler definition: Action<ChartPoint<TModel, TVisual, LabelGeometry>>
Occurs when an instance of ChartPoint is created.
Handler definition: Action<ChartPoint<TModel, TVisual, LabelGeometry>>
Occurs when the pointer goes down over a chart point(s).
Handler definition: ChartPointsHandler<TModel, TVisual, LabelGeometry>
Occurs when the pointer is over a chart point.
Handler definition: ChartPointHandler<TModel, TVisual, LabelGeometry>
Occurs when the pointer left a chart point.
Handler definition: ChartPointHandler<TModel, TVisual, LabelGeometry>
Occurs when the pointer goes down over a chart point, if there are multiple points, the closest one will be selected.
Handler definition: ChartPointHandler<TModel, TVisual, LabelGeometry>
Occurs when a property value changes.
Handler definition: PropertyChangedEventHandler

Methods

// Invalidates the IChartElement in the user interface.
Chart chart// The chart.
)
// Returns a geometry that represents the series in a tooltip or legend.
ChartPoint point// The target point.
)
// Deletes the series from the user interface.
IChartView chart// *summary not found*
)
// Removes the element from the UI.
Chart chart// The chart.
)
// Gets the series bounds.
Chart chart, // The chart.
ICartesianAxis secondaryAxis, // The x.
ICartesianAxis primaryAxis// The y.
)
// Gets the tool tip text for a give chart point.
ChartPoint point// The chart point.
)
// Gets the tool tip text for a give chart point.
ChartPoint point// The chart point.
)
// Gets the stack group, normally used internally to handled the stacked series.
// Clears the visuals in the cache and re-starts animations.
// Gets the data label content for a given chart point.
ChartPoint point// The chart point.
)
// Converts a chart to a strong-typed version of it.
ChartPoint point//
)
// Deletes the Paint instances that changed from the user interface.
IChartView chart// The chart.
)