PolarLineSeries<TModel, TVisual, TLabel>
Class
Assembly LiveChartsCore.SkiaSharpView
Namespace LiveChartsCore.SkiaSharpView
Summary:
Defines a polar line 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 (Coordinate})) 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. |
Object
=>
ChartElement
=>
Series<TModel, TVisual, TLabel>
=>
CorePolarLineSeries<TModel, TVisual, TLabel, CubicBezierAreaGeometry, LineGeometry>
=>
PolarLineSeries<TModel, TVisual, TLabel>
Derived:
Constructors
// Initializes a new instance of the PolarLineSeries`3 class.
// Initializes a new instance of the PolarLineSeries`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
Type: Double
Gets or sets the axis index where the series is scaled in the radius plane, the index must exist
in the RadiusAxes collection.
Type: Int32
Type: Int32
Gets or sets the line smoothness, where 0 is a straight line, and 1 the most curved line, default is 0.65
Type: Double
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
Type: Boolean
Gets or sets the geometry fill.
Type: Paint
Type: Paint
Gets or sets the geometry stroke.
Type: Paint
Type: Paint
Gets or sets the data labels position.
Type: PolarLabelsPosition
Type: PolarLabelsPosition
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, TLabel>, String>
Type: Func<ChartPoint<TModel, TVisual, TLabel>, 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, TLabel>, String>
Type: Func<ChartPoint<TModel, TVisual, TLabel>, String>
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 or
IChartLegend, the default value is set automatically by the library.
Type: String
Type: String
Gets or sets the values.
Type: IReadOnlyCollection<TModel>
Type: IReadOnlyCollection<TModel>
Gets or sets the mapping.
Type: Func<TModel, Int32, Coordinate>
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
Type: String
Gets or sets the data labels formatter, the function receives a ChartPoint instance and must return a string.
Type: Func<ChartPoint<TModel, TVisual, TLabel>, String>
Type: Func<ChartPoint<TModel, TVisual, TLabel>, 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
ActualAnimationsSpeed 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
ActualEasingFunction property will be used.
Type: Func<Single, Single>
Type: Func<Single, Single>
Gets the data factory.
Type: DataFactory<TModel>
Type: DataFactory<TModel>
Gets or sets the size of the legend shape.
Type: Double
Type: Double
Gets or sets the miniature stroke thickness.
Type: Double
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
Type: Boolean
Gets or sets the data labels paint.
Type: Paint
Type: Paint
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 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
Type: VisualStatesDictionary
Events
Occurs when an instance of ChartPoint is measured.
Handler definition: Action<ChartPoint<TModel, TVisual, TLabel>>
Handler definition: Action<ChartPoint<TModel, TVisual, TLabel>>
Occurs when an instance of ChartPoint is created.
Handler definition: Action<ChartPoint<TModel, TVisual, TLabel>>
Handler definition: Action<ChartPoint<TModel, TVisual, TLabel>>
Occurs when the pointer goes down over a chart point(s).
Handler definition: ChartPointsHandler<TModel, TVisual, TLabel>
Handler definition: ChartPointsHandler<TModel, TVisual, TLabel>
Occurs when the pointer is over a chart point.
Handler definition: ChartPointHandler<TModel, TVisual, TLabel>
Handler definition: ChartPointHandler<TModel, TVisual, TLabel>
Occurs when the pointer left a chart point.
Handler definition: ChartPointHandler<TModel, TVisual, TLabel>
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>
Handler definition: ChartPointHandler<TModel, TVisual, TLabel>
Occurs when a property value changes.
Handler definition: PropertyChangedEventHandler
Handler definition: PropertyChangedEventHandler
Methods
// Gets the series bounds.
| Chart chart, | // The chart. |
| IPolarAxis angleAxis, | // The angle axis. |
| IPolarAxis radiusAxis | // The radius axis. |
)
// Returns a geometry that represents the series in a tooltip or legend.
| ChartPoint point | // The target point. |
)
// Gets the stack group, normally used internally to handled the stacked series.
// Clears the visuals in the cache and re-starts animations.