StackedColumnSeries<TModel, TVisual>
Class
Assembly LiveChartsCore.SkiaSharpView
Namespace LiveChartsCore.SkiaSharpView
Summary:
Defines a stacked column series in the user interface.
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 (ChartPoint})) or at the series level (Mapping). |
TVisual | The type of the geometry of every point of the series. |
Object
=>
Series<TModel, TVisual, LabelGeometry, SkiaSharpDrawingContext>
=>
ChartSeries<TModel, TVisual, LabelGeometry, SkiaSharpDrawingContext>
=>
CartesianSeries<TModel, TVisual, LabelGeometry, SkiaSharpDrawingContext>
=>
StrokeAndFillCartesianSeries<TModel, TVisual, LabelGeometry, SkiaSharpDrawingContext>
=>
BarSeries<TModel, TVisual, LabelGeometry, SkiaSharpDrawingContext>
=>
ColumnSeries<TModel, TVisual, LabelGeometry, SkiaSharpDrawingContext, LineGeometry>
=>
StackedColumnSeries<TModel, TVisual, LabelGeometry, SkiaSharpDrawingContext, LineGeometry>
=>
StackedColumnSeries<TModel, TVisual, LabelGeometry>
=>
StackedColumnSeries<TModel, TVisual>
Constructors
// Initializes a new instance of the StackedColumnSeries`5 class.
Properties
Gets or sets the stack group.
Type: Int32
Type: Int32
Gets or sets the padding for each group of bars that share the same secondary coordinate.
Type: Double
Type: Double
Gets or sets the maximum width of the bar.
Type: Double
Type: Double
Gets or sets a value indicating whether the bar position respects the other bars that share
the same SecondaryValue.
Type: Boolean
Type: Boolean
Gets or sets the error paint.
Type: IPaint<SkiaSharpDrawingContext>
Type: IPaint<SkiaSharpDrawingContext>
Gets or sets the stroke.
Type: IPaint<SkiaSharpDrawingContext>
Type: IPaint<SkiaSharpDrawingContext>
Gets or sets the fill.
Type: IPaint<SkiaSharpDrawingContext>
Type: IPaint<SkiaSharpDrawingContext>
Gets or sets the data labels position.
Type: DataLabelsPosition
Type: DataLabelsPosition
Gets or sets the tool tip label formatter for the X axis, this function will build the label when a point in this series
is shown inside a tool tip.
Type: Func<ChartPoint<TModel, TVisual, LabelGeometry>, String>
Type: Func<ChartPoint<TModel, TVisual, LabelGeometry>, String>
Gets or sets the tool tip label formatter for the Y axis, this function will build the label when a point in this series
is shown inside a tool tip.
Type: Func<ChartPoint<TModel, TVisual, LabelGeometry>, String>
Type: Func<ChartPoint<TModel, TVisual, LabelGeometry>, String>
Gets or sets the data labels paint.
Type: IPaint<SkiaSharpDrawingContext>
Type: IPaint<SkiaSharpDrawingContext>
Gets or sets the size of the data labels.
Type: Double
Type: Double
Gets or sets the data labels rotation in degrees.
Type: Double
Type: Double
Gets or sets the data labels padding.
Type: Padding
Type: Padding
Gets or sets the max width of the data labels.
Type: Double
Type: Double
Gets the properties of the series.
Type: SeriesProperties
Type: SeriesProperties
Gets or sets the name of the series, the name is normally used by IChartTooltip`1 or
IChartLegend`1, the default value is set automatically by the library.
Type: String
Type: String
Gets or sets the values.
Type: IEnumerable<TModel>
Type: IEnumerable<TModel>
Gets or sets the mapping.
Type: Action<TModel, ChartPoint>
Type: Action<TModel, ChartPoint>
Gets or sets the series geometry svg, this property requires the series visual to be
an ISvgPath`1 instance.
Type: String
Type: String
Gets or sets the tool tip label formatter, this function will build the label when a point in this series
is shown inside a tool tip.
Type: Func<ChartPoint<TModel, TVisual, LabelGeometry>, String>
Type: Func<ChartPoint<TModel, TVisual, LabelGeometry>, String>
Gets or sets the data label formatter, this function will build the label when a point in this series
is shown as data label.
Type: Func<ChartPoint<TModel, TVisual, LabelGeometry>, 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
Type: Boolean
Gets or sets a value indicating whether this instance will show up in legends.
default value is true.
Type: Boolean
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
Type: LvcPoint
Gets or sets the animations speed, if this property is null, the
AnimationsSpeed property will be used.
Type: Nullable<TimeSpan>
Type: Nullable<TimeSpan>
Gets or sets the easing function to animate the series, if this property is null, the
EasingFunction property will be used.
Type: Func<Single, Single>
Type: Func<Single, Single>
Gets the data factory.
Type: DataFactory<TModel, SkiaSharpDrawingContext>
Type: DataFactory<TModel, SkiaSharpDrawingContext>
Called when a point is measured.
Type: Action<ChartPoint<TModel, TVisual, LabelGeometry>>
Type: Action<ChartPoint<TModel, TVisual, LabelGeometry>>
Gets or sets the size of the legend shape.
Type: Double
Type: Double
Gets or sets the size of the legend shape.
Type: Double
Type: Double
Gets the paint schedule, normally handled internally to display tool tips and legends.
Type: Sketch<SkiaSharpDrawingContext>
Type: Sketch<SkiaSharpDrawingContext>
Events
Occurs when an instance of ChartPoint is measured.
Handler definition: Action<ChartPoint<TModel, TVisual, LabelGeometry>>
Handler definition: Action<ChartPoint<TModel, TVisual, LabelGeometry>>
Occurs when an instance of ChartPoint is created.
Handler definition: Action<ChartPoint<TModel, TVisual, LabelGeometry>>
Handler definition: Action<ChartPoint<TModel, TVisual, LabelGeometry>>
Occurs when the pointer goes down over a chart point(s).
Handler definition: ChartPointsHandler<TModel, TVisual, LabelGeometry>
Handler definition: ChartPointsHandler<TModel, TVisual, LabelGeometry>
Occurs when the pointer is over a chart point.
Handler definition: ChartPointHandler<TModel, TVisual, LabelGeometry>
Handler definition: ChartPointHandler<TModel, TVisual, LabelGeometry>
Occurs when the pointer left a chart point.
Handler definition: ChartPointHandler<TModel, TVisual, LabelGeometry>
Handler definition: ChartPointHandler<TModel, TVisual, LabelGeometry>
Occurs when the pointer is over a chart point.
Handler definition: ChartPointHandler<TModel, TVisual, LabelGeometry>
Handler definition: ChartPointHandler<TModel, TVisual, LabelGeometry>
Occurs when the pointer left a chart point.
Handler definition: ChartPointHandler<TModel, TVisual, LabelGeometry>
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>
Handler definition: ChartPointHandler<TModel, TVisual, LabelGeometry>
Occurs when a property value changes.
Handler definition: PropertyChangedEventHandler
Handler definition: PropertyChangedEventHandler
Methods
// Gets the stack group, normally used internally to handled the stacked series.
// Clears the visuals in the cache and re-starts animations.