Extensions

LiveCharts kernel extensions.

Class · Namespace LiveChartsCore.Kernel · Assembly LiveChartsCore · View source

Inheritance

Object Extensions

Members

Methods

GetTooltipLocation 3 parameters

Calculates the tooltip location.

IEnumerable<ChartPoint> foundPoints The points.

LvcSize tooltipSize The tooltip size.

Chart chart The chart.

GetTick 3 parameters

Gets the tick.

ICartesianAxis axis The axis.

LvcSize controlSize Size of the control.

Bounds bounds The bounds.

GetTick 3 parameters

Gets the tick.

IPolarAxis axis The axis.

PolarChartEngine chart The chart.

Bounds bounds The bounds.

Animate 3 parameters

Sets the transition of the given to the .

Animatable animatable The animatable object.

Animation animation The animation.

PropertyDefinition[] properties The properties, if this argument is not set then all the animatable properties in the object will use the given animation.

Animate 4 parameters

Sets the transition of the given to the specified and .

Animatable animatable The animatable object.

Func<Single, Single> easingFunction The animation's easing function.

TimeSpan speed The animation's speed.

PropertyDefinition[] properties The properties, if this argument is not set then all the animatable properties in the object will use the given animation.

Animate 3 parameters

Points the given at the chart's shared Chart.Animation instance. When is null or empty, every animatable property on is bound to the same instance. Because that instance is mutated in-place by Chart.UpdateAnimation when the view's animation settings change, callers using this overload pick up chart-level animation changes without recreating their geometries.

Animatable animatable The animatable object.

Chart chart The chart whose Chart.Animation is referenced.

PropertyDefinition[] properties The properties to bind; when null or empty, every animatable property on is bound to Chart.Animation.

Animate 3 parameters

Sets the transition of the given to the animations config in the chart for all the geometries in a VisualElement.

VisualElement visual The visual.

Animation animation The animation.

PropertyDefinition[] properties The properties.

IsBarSeries 1 parameter

Determines whether is bar series.

ISeries series The series.

IsColumnSeries 1 parameter

Determines whether is column series.

ISeries series The series.

IsRowSeries 1 parameter

Determines whether is row series.

ISeries series The series.

IsBoxSeries 1 parameter

Determines whether is box series.

ISeries series The series.

IsStackedSeries 1 parameter

Determines whether is stacked series.

ISeries series The series.

IsVerticalSeries 1 parameter

Determines whether is vertical series.

ISeries series The series.

IsHorizontalSeries 1 parameter

Determines whether is horizontal series.

ISeries series The series.

IsFinancialSeries 1 parameter

Determines whether is a financial series.

ISeries series

IsPieSeries 1 parameter

Determines whether is a pie series.

ISeries series The series.

HasVariableSvgGeometry 1 parameter

Determines whether is bar series.

ISeries series The series.

GetFindingStrategy 1 parameter

Calculates the finding strategy based on the series properties.

IEnumerable<ISeries> seriesCollection The series collection.

FindClosestTo 2 parameters

Finds the closest point to the specified location [in pixels].

IEnumerable<ChartPoint> points The points to look into.

LvcPoint point The location in pixels.

FindClosestTo 2 parameters

Finds the closest point to the specified location [in pixels].

IEnumerable<ChartPoint> points The points to look into.

LvcPoint point The location in pixels.

GetNextScaler 2 parameters

Gets a scaler for the given axis with the measured bounds (the target, the final dimension of the chart).

ICartesianAxis axis

CartesianChartEngine chart

GetActualScaler 2 parameters

Gets a scaler that is built based on the dimensions of the chart at a given time, the scaler is built based on the animations that are happening in the chart at the moment this method is called.

ICartesianAxis axis

CartesianChartEngine chart

GetPointForView 2 parameters

Gets the point for the given view.

Dictionary<IChartView, ChartPoint> dictionary The points dictionary.

IChartView view The view.

SplitByNullGaps 2 parameters

Splits an enumerable of chartpoints by each null gap.

IEnumerable<ChartPoint> points The points.

Action<ChartPoint> onDeleteNullPoint Called when a point was deleted.