PieSeries<TModel, TVisual, TLabel>
Class

Assembly LiveChartsCore.SkiaSharpView
Namespace LiveChartsCore.SkiaSharpView

Summary:
Defines a pie 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 (ChartPoint})) or at the series level (Mapping).
TVisual The type of the geometry of every point of the series.
TLabel The type of the data label of every point.
Inheritance:
Object =>
ChartElement<SkiaSharpDrawingContext> =>
Series<TModel, TVisual, TLabel, SkiaSharpDrawingContext> =>
ChartSeries<TModel, TVisual, TLabel, SkiaSharpDrawingContext> =>
PieSeries<TModel, TVisual, TLabel, CircleGeometry, SkiaSharpDrawingContext> =>
PieSeries<TModel, TVisual, TLabel>
Implements:
ISeries<TModel>
Derived:
PieSeries<TModel>
PieSeries<TModel, TVisual>

Constructors

// Initializes a new instance of the PieSeries`3 class.
Boolean isGauge, //
Boolean isGaugeFill//
)

Properties

Gets or sets the stroke.
Type: IPaint<SkiaSharpDrawingContext>
Gets or sets the fill.
Type: IPaint<SkiaSharpDrawingContext>
Gets or sets the push out, it is the distance in pixels between the center of the control and the pie slice.
Type: Double
Gets or sets the inner radius of the slice in pixels.
Type: Double
Gets or sets the maximum outer, the value goes from 0 to 1, where 1 is the full available radius and 0 is none.
Type: Double
Gets or sets the hover push out in pixes, it defines the Pushout where the pointer is over the slice.
Type: Double
Gets or sets the relative inner radius, it is the extra inner radius for every stacked slice.
Type: Double
Gets or sets the relative outer radius, it is the decrement in the outer radius for every stacked slice.
Type: Double
Gets or sets the maximum width of the radial column, if the width of the radial column slice exceeds this dimension the radial column width will be capped to the value of this property, default value is double.MaxValue.
Type: Double
Gets or sets the radial align, this property determines the alignment of the pie slice only when the width of the column exceeds MaxRadialColumnWidth.
Type: RadialAlignment
Gets or sets the corner radius for every pie slice in the series.
Type: Double
Gets or sets a value indicating whether the direction of the corner radius is inverted.
Type: Boolean
Gets or sets a value indicating whether this instance is a fill series, a fill series is a dummy series that will create a 360 degrees pie slice, this series is normally used to set a background for pie charts, specially useful o create gauges.
Type: Boolean
Gets or sets the data labels position.
Type: PolarLabelsPosition
Gets or sets the data labels paint.
Type: IPaint<SkiaSharpDrawingContext>
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 a value indicating if this is the first time the series is drawn.
Type: Boolean
Gets the active pints.
Type: HashSet<ChartPoint>
Gets the properties of the series.
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
Gets or sets the values.
Type: IEnumerable<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: Action<TModel, ChartPoint>
Gets or sets the z index position.
Type: Int32
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, TLabel>, 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, TLabel>, String>
Gets or sets a value indicating whether this instance is visible.
Type: Boolean
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, 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 AnimationsSpeed property will be used.
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>
Gets the data factory.
Type: DataFactory<TModel, SkiaSharpDrawingContext>
Gets or sets the size of the legend shape.
Type: Double
Gets or sets the size of the legend shape.
Type: Double
Gets the paint schedule, normally handled internally to display tool tips and legends.
Type: Sketch<SkiaSharpDrawingContext>
Tag
Gets or sets the object that contains data about the control.
Type: Object

Events

Occurs when an instance of ChartPoint is measured.
Handler definition: Action<ChartPoint<TModel, TVisual, TLabel>>
Occurs when an instance of ChartPoint is created.
Handler definition: Action<ChartPoint<TModel, TVisual, TLabel>>
Occurs when the pointer goes down over a chart point(s).
Handler definition: ChartPointsHandler<TModel, TVisual, TLabel>
Occurs when the pointer is over a chart point.
Handler definition: ChartPointHandler<TModel, TVisual, TLabel>
Occurs when the pointer left a chart point.
Handler definition: ChartPointHandler<TModel, TVisual, TLabel>
Occurs when the pointer is over a chart point.
Handler definition: ChartPointHandler<TModel, TVisual, TLabel>
Occurs when the pointer left a chart point.
Handler definition: ChartPointHandler<TModel, TVisual, TLabel>
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, TLabel>
Occurs when the series IsVisible property changes.
Handler definition: Action<ISeries>
Occurs when a property value changes.
Handler definition: PropertyChangedEventHandler

Methods

// Gets the stack group, normally used internally to handled the stacked series.
// Deletes the series from the user interface.
IChartView chart// *summary not found*
)
// Clears the visuals in the cache and re-starts animations.
// Gets the tool tip text for a give chart point.
ChartPoint point// The chart point.
)
// Gets the data label content for a given chart point.
ChartPoint point// The chart point.
)