Chart
Class

Assembly LiveChartsCore.SkiaSharpView.WPF
Namespace LiveChartsCore.SkiaSharpView.WPF

Summary:

Inheritance:
Implements:
Derived:

Properties

Gets the core.
Type: IChart
Gets or sets the chart title.
Type: VisualElement<SkiaSharpDrawingContext>
Gets or sets the Synchronization Context, use this property to use an external object to handle multi threading synchronization.
Type: Object
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 the core canvas.
Type: MotionCanvas<SkiaSharpDrawingContext>
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 legend position.
Type: LegendPosition
Gets or sets the tooltip position.
Type: TooltipPosition
Gets or sets the tooltip background paint, when null the library will use the default background paint.
Type: IPaint<SkiaSharpDrawingContext>
Gets or sets the tooltip default text paint, when null the library will use the default text paint.
Type: IPaint<SkiaSharpDrawingContext>
Gets or sets the tooltip text size, when null the library will use the default text size.
Type: Nullable<Double>
Gets or sets the tooltip.
Type: IChartTooltip<SkiaSharpDrawingContext>
Gets or sets the legend background paint, when null the library will use the default background paint.
Type: IPaint<SkiaSharpDrawingContext>
Gets or sets the legend default text paint, when null the library will use the default text paint.
Type: IPaint<SkiaSharpDrawingContext>
Gets or sets the legend text size, when null the library will use the default text size.
Type: Nullable<Double>
Gets or sets the legend.
Type: IChartLegend<SkiaSharpDrawingContext>
Gets or sets a value indicating whether the automatic updates are enabled.
Type: Boolean
Gets or sets the updater throttler, this property controls the interval where the user interface updates.
Type: TimeSpan
Gets or sets a command to execute when the chart update started.
Type: ICommand
Gets or sets a command to execute when the pointer goes down on the chart.
Type: ICommand
Gets or sets a command to execute when the pointer goes up on the chart.
Type: ICommand
Gets or sets a command to execute when the pointer moves over the chart.
Type: ICommand
Gets or sets a command to execute when a double click happens on a chart.
Type: ICommand
Gets or sets a command to execute when the pointer goes down on a data or data points.
Type: ICommand
Gets or sets a command to execute when the pointer goes down on a chart point.
Type: ICommand
Gets or sets a command to execute when the pointer goes down on a visual element.
Type: ICommand
Gets or sets the visual elements.
Type: IEnumerable<ChartElement<SkiaSharpDrawingContext>>

Public static fields

The sync context property.
Type: DependencyProperty
The sync context property.
Type: DependencyProperty
The draw margin property
Type: DependencyProperty
The animations speed property
Type: DependencyProperty
The easing function property
Type: DependencyProperty
The legend position property
Type: DependencyProperty
The legend background property
Type: DependencyProperty
The legend text paint property
Type: DependencyProperty
The legend text size property
Type: DependencyProperty
The tool tip position property
Type: DependencyProperty
The tool tip background property
Type: DependencyProperty
The tool tip text paint property
Type: DependencyProperty
The tool tip text size property
Type: DependencyProperty
The update started command.
Type: DependencyProperty
The pointer down command.
Type: DependencyProperty
The pointer move command.
Type: DependencyProperty
The double click command.
Type: DependencyProperty
The data pointer down command.
Type: DependencyProperty
The chart point pointer down command.
Type: DependencyProperty
The visual elements pointer down command.
Type: DependencyProperty
The visual elements property
Type: DependencyProperty

Events

Occurs before the chart is measured, this is the first step before the chart updates.
Handler definition: ChartEventHandler<SkiaSharpDrawingContext>
Occurs when the chart started an update, just when the drawing loop started.
Handler definition: ChartEventHandler<SkiaSharpDrawingContext>
Occurs when a chart update finished, just when the drawing loop finished.
Handler definition: ChartEventHandler<SkiaSharpDrawingContext>
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
Occurs when the pointer goes down over a visual element.
Handler definition: VisualElementsHandler<SkiaSharpDrawingContext>

Methods

// Called when the template is applied.
// Gets all the ChartPoint that contain the given point.
LvcPoint point, // The given point.
TooltipFindingStrategy strategy// The finding strategy, default is Automatic.
)
// Gets all the VisualElement`1 that contain the given point.
LvcPoint point// The given point.
)