SankeyChart

Class · Namespace LiveChartsCore.SkiaSharpView.WinForms · Assembly LiveChartsCore.SkiaSharpView.WinForms · View source

Members

Properties

CoreChart Chart
Gets the core.
Tooltip IChartTooltip
Gets or sets the tooltip.
Legend IChartLegend
Gets or sets the legend.
ChartTheme Theme
Gets or sets the chart theme.
UpdaterThrottler TimeSpan
Gets or sets the updater throttler, this property controls the interval where the user interface updates.
AutoUpdateEnabled Boolean
Gets or sets a value indicating whether the automatic updates are enabled.
UpdateStartedCommand ICommand
Occurs when the chart started an update, just when the drawing loop started.
DataPointerDownCommand ICommand
Occurs when the pointer goes down over a chart point(s).
HoveredPointsChangedCommand ICommand
Occurs when the hovered points in the chart change.
ChartPointPointerDownCommand ICommand
Occurs when the pointer goes down over a chart point, if there are multiple points, the closest one will be selected.
VisualElementsPointerDownCommand ICommand
Occurs when the pointer goes down over a visual element.
PointerPressedCommand ICommand
Ocurrs when the chart is pressed.
PointerMoveCommand ICommand
Ocurrs when the pointer is moved over the chart.
PointerReleasedCommand ICommand
Ocurrs when the pointer is released over the chart.
AnimationsSpeed TimeSpan
Gets or sets the animations speed.
Guide: Title and animations
EasingFunction Func<Single, Single>
Gets or sets the easing function, the library already provides many easing functions in the LiveCharts.EasingFunction static class.
Guide: Title and animations
DrawMargin Margin
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.
Guide: Title and animations
LegendPosition LegendPosition
Gets or sets the legend position.
Guide: Tooltips and legends
TooltipPosition TooltipPosition
Gets or sets the tooltip position.
Guide: Tooltips and legends
LegendTextPaint Paint
Gets or sets the legend default text paint, when null the library will use the default text paint.
LegendBackgroundPaint Paint
Gets or sets the legend background paint, when null the library will use the default background paint.
LegendTextSize Double
Gets or sets the legend text size, when null the library will use the default text size.
TooltipTextPaint Paint
Gets or sets the tooltip default text paint, when null the library will use the default text paint.
TooltipBackgroundPaint Paint
Gets or sets the tooltip background paint, when null the library will use the default background paint.
TooltipTextSize Double
Gets or sets the tooltip text size, when null the library will use the default text size.
SyncContext Object
Gets or sets the Synchronization Context, use this property to use an external object to handle multi threading synchronization.
Title IChartElement
Gets or sets the chart title.
Guide: Title and animations
VisualElements IEnumerable<IChartElement>
Gets or sets the visual elements.
Series IEnumerable<ISeries>
Gets or sets the series collection.
CoreCanvas CoreMotionCanvas
Gets the motion canvas.
ControlSize LvcSize
Gets the size of the control.
DesignerMode Boolean
Gets whether the control is in designer mode.
IsDarkMode Boolean
Gets whether the control is in dark mode.
BackColor Color
Sets the back color of the control.

Methods

GetPointsAt 3 parameters

Gets all the ChartPoint that contain the given point.

LvcPointD point The given point.

FindingStrategy strategy The finding strategy, default is FindingStrategy.Automatic.

FindPointFor findPointFor The find point for, default is FindPointFor.HoverEvent.

GetVisualsAt 1 parameter

Gets all the IChartElement that contain the given point.

LvcPointD point The given point.

ApplyTheme 1 parameter

Applies the given theme's chart-level rules (see Theme.ChartBuilder) to this view. The implementation must honor any property the user set in XAML or code, so a theme never overwrites an explicit user value.

Theme theme The theme to apply.

GetDrawnControl No parameters

Returns the actual drawn control (the SKControl/SKGLControl inside MotionCanvas). Pointer events should be wired on this — see issue #1209.

InvokeOnUIThread 1 parameter

Invokes an action in the UI thread.

Action action

Invalidate No parameters

Invalidates the control.

Events

Measuring ChartEventHandler
Occurs before the chart is measured, this is the first step before the chart updates.
UpdateFinished ChartEventHandler
Occurs when a chart update finished, just when the drawing loop finished.
UpdateStarted ChartEventHandler
Occurs when the chart started an update, just when the drawing loop started.
DataPointerDown ChartPointsHandler
Occurs when the pointer goes down over a chart point(s).
HoveredPointsChanged ChartPointHoverHandler
Occurs when the hovered points in the chart change.
ChartPointPointerDown ChartPointHandler
Occurs when the pointer goes down over a chart point, if there are multiple points, the closest one will be selected.
VisualElementsPointerDown VisualElementsHandler
Occurs when the pointer goes down over a visual element.

Constructors

SankeyChart No parameters

Initializes a new instance of the SourceGenChart class.