XamlPieSeries<TModel>
Type parameters
TModel
*summary not found*
Inheritance
Object
AvaloniaObject
Animatable
StyledElement
Visual
Layoutable
Interactive
InputElement
Control
XamlSeries
XamlPieSeries<TModel, DoughnutGeometry, LabelGeometry>
XamlPieSeries<TModel, DoughnutGeometry>
XamlPieSeries<TModel>
Implements
Derived
Properties
VisualStates
VisualStatesDictionary
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.
Pushout
Double
Gets or sets the push out, it is the distance in pixels between the center of the control and the pie slice.
InnerRadius
Double
Gets or sets the inner radius of the slice in pixels, in most cases the IPieSeries.MaxRadialColumnWidth
is preferred, because it is more flexible on different chart sizes.
OuterRadiusOffset
Double
Gets or sets the outer radius offset, it is the distance from the maximum radius available to the end of the slice [in pixels].
HoverPushout
Double
Gets or sets the hover push out in pixes, it defines the IPieSeries.Pushout where the pointer is over the slice.
RelativeInnerRadius
Double
Gets or sets the relative inner radius, it is the extra inner radius for every stacked slice in pixels.
RelativeOuterRadius
Double
Gets or sets the relative outer radius, it is the decrement in the outer radius for every stacked slice in pixels.
MaxRadialColumnWidth
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.
RadialAlign
RadialAlignment
Gets or sets the radial align, this property determines the alignment of the pie slice only when the width of the column
exceeds IPieSeries.MaxRadialColumnWidth.
InvertedCornerRadius
Boolean
Gets or sets a value indicating whether the direction of the corner radius is inverted.
IsFillSeries
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.
IsRelativeToMinValue
Boolean
Gets or sets a value indicating whether the values in this series are relative to the
IPieChartView.MinValue property in the chart.
GeometrySvg
String
Gets or sets the series geometry svg, this property requires the series visual to be
an IVariableSvgPath instance.
DataLabelsFormatter
Func<ChartPoint, String>
Gets or sets the data labels formatter, the function receives a ChartPoint instance and must return a string.
IsHoverable
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.
IsVisibleAtLegend
Boolean
Gets or sets a value indicating whether this instance will show up in legends.
default value is true.
DataPadding
LvcPoint
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).
AnimationsSpeed
Nullable<TimeSpan>
Gets or sets the animations speed; when null the series inherits the chart-level animation
(see Chart.Animation). Set it to TimeSpan.Zero to disable
animations for this series only.
EasingFunction
Func<Single, Single>
Gets or sets the easing function used to animate the series; when null the series inherits
the chart-level easing (see Chart.Animation).
ShowDataLabels
Boolean
Indicates whether the data labels are visible,
to set the color use the ISeries.DataLabelsPaint property, the ISeries.DataLabelsPaint property
could be defined by the theme when not explicitly set.
Default is false.
AdditionalVisualStates
ICollection<ChartPointState>
Gets the additional visual states for the series.
Name
String
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.
Methods
GetMiniatureGeometry
1 parameter
Returns a geometry that represents the series in a tooltip or legend.
ChartPoint point The target point.
GetPrimaryToolTipText
1 parameter
Gets the tool tip text for a give chart point.
ChartPoint point The chart point.
GetSecondaryToolTipText
1 parameter
Gets the tool tip text for a give chart point.
ChartPoint point The chart point.
GetStackGroup
No parameters
Gets the stack group, normally used internally to handled the stacked series.
SoftDeleteOrDispose
1 parameter
Deletes the series from the user interface.
IChartView chart The chart that draws the series.
GetDataLabelText
1 parameter
Gets the data label content for a given chart point.
ChartPoint point The chart point.
RemoveOldPaints
1 parameter
Deletes the Paint instances that changed from the user interface.
IChartView chart The chart.
Events
PointMeasured
Action<ChartPoint<TModel, DoughnutGeometry, LabelGeometry>>
Occurs when a point in this series is measured. This is the non-generic counterpart of
Series.PointMeasured, exposed so code that only has
an ISeries reference (e.g. a theme rule) can react per point.
PointCreated
Action<ChartPoint<TModel, DoughnutGeometry, LabelGeometry>>
Occurs when a point in this series is created. This is the non-generic counterpart of
Series.PointCreated, exposed so code that only has
an ISeries reference (e.g. a theme rule) can react per point.
DataPointerDown
ChartPointsHandler<TModel, DoughnutGeometry, LabelGeometry>
Occurs when the pointer goes down over a chart point(s). This is the non-generic counterpart
of Series.DataPointerDown.
ChartPointPointerHover
ChartPointHandler<TModel, DoughnutGeometry, LabelGeometry>
Occurs when the pointer is over a chart point. This is the non-generic counterpart of
Series.ChartPointPointerHover.
ChartPointPointerHoverLost
ChartPointHandler<TModel, DoughnutGeometry, LabelGeometry>
Occurs when the pointer left a chart point. This is the non-generic counterpart of
Series.ChartPointPointerHoverLost.
ChartPointPointerDown
ChartPointHandler<TModel, DoughnutGeometry, LabelGeometry>
Occurs when the pointer goes down over a chart point, if there are multiple points the closest
one is selected. This is the non-generic counterpart of
Series.ChartPointPointerDown.
Constructors
No member matches that name.