IChartView
Interface

Assembly LiveChartsCore
Namespace LiveChartsCore.Kernel.Sketches

Summary:
Defines a chart view

Derived:
ICartesianChartView<TDrawingContext>
IChartView<TDrawingContext>
IPieChartView<TDrawingContext>
IPolarChartView<TDrawingContext>

Properties

Gets the core.
Type: IChart
Gets whether the control is in designer mode.
Type: Boolean
Sets the back color of the control.
Type: LvcColor
Gets the size of the control.
Type: LvcSize
Gets or sets the draw margin, if this property is null, the library will calculate a margin, this margin is the distance between the view bounds and the drawable area.
Type: Margin
Gets or sets the animations speed.
Type: TimeSpan
Gets or sets the easing function, the library already provides many easing functions in the LiveCharts.EasingFunction static class.
Type: Func<Single, Single>
Gets or sets the updater throttler, this property controls the interval where the user interface updates.
Type: TimeSpan
Gets or sets the legend position.
Type: LegendPosition
Gets or sets the tooltip position.
Type: TooltipPosition
Gets or sets the Synchronization Context, use this property to use an external object to handle multi threading synchronization.
Type: Object

Events

Occurs when the pointer goes down over a chart point(s).
Handler definition: ChartPointsHandler
Occurs when the pointer goes down over a chart point, if there are multiple points, the closest one will be selected.
Handler definition: ChartPointHandler

Methods

// Called when the pointer goes down on a data point or points.
IEnumerable<ChartPoint> points, // The found points.
LvcPoint pointer// The pointer location.
)
// Invokes an action in the UI thread.
Action action//
)
// Invalidates the control.