CoreRowSeries<TModel, TVisual, TLabel, TErrorGeometry>
Class
Assembly LiveChartsCore
Namespace LiveChartsCore
Summary:
Defines the row series
| TModel | The type of the model. |
| TVisual | The type of the visual. |
| TLabel | The type of the label. |
| TErrorGeometry | The type of the error geometry. |
Object
=>
ChartElement
=>
Series<TModel, TVisual, TLabel>
=>
CartesianSeries<TModel, TVisual, TLabel>
=>
StrokeAndFillCartesianSeries<TModel, TVisual, TLabel>
=>
BarSeries<TModel, TVisual, TLabel>
=>
CoreRowSeries<TModel, TVisual, TLabel, TErrorGeometry>
Derived:
Constructors
// Initializes a new instance of the CoreRowSeries`4 class.
| IReadOnlyCollection<TModel> values, | // if set to true [is stacked]. |
| Boolean isStacked | // The values. |
)
Properties
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 Coordinate.
Type: Boolean
Type: Boolean
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
Type: Boolean
Gets or sets the error paint.
Type: Paint
Type: Paint
Gets or sets the data labels position.
Type: DataLabelsPosition
Type: DataLabelsPosition
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, TLabel>, String>
Type: Func<ChartPoint<TModel, TVisual, TLabel>, 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, 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. |
| ICartesianAxis secondaryAxis, | // The x. |
| ICartesianAxis primaryAxis | // The y. |
)
// 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.