IChartView<TDrawingContext>
Interface
Assembly LiveChartsCore
Namespace LiveChartsCore.Kernel.Sketches
Summary:
Defines a chart view.
TDrawingContext | The type of the drawing context. |
Derived:
Properties
Gets or sets the legend default text paint, when null the library will use the default text paint.
Type: IPaint<TDrawingContext>
Type: IPaint<TDrawingContext>
Gets or sets the legend background paint, when null the library will use the default background paint.
Type: IPaint<TDrawingContext>
Type: IPaint<TDrawingContext>
Gets or sets the tooltip default text paint, when null the library will use the default text paint.
Type: IPaint<TDrawingContext>
Type: IPaint<TDrawingContext>
Gets or sets the tooltip background paint, when null the library will use the default background paint.
Type: IPaint<TDrawingContext>
Type: IPaint<TDrawingContext>
Gets or sets the chart title.
Type: VisualElement<TDrawingContext>
Type: VisualElement<TDrawingContext>
Gets or sets a value indicating whether the automatic updates are enabled.
Type: Boolean
Type: Boolean
Gets the core canvas.
Type: MotionCanvas<TDrawingContext>
Type: MotionCanvas<TDrawingContext>
Gets or sets the legend.
Type: IChartLegend<TDrawingContext>
Type: IChartLegend<TDrawingContext>
Gets or sets the tooltip.
Type: IChartTooltip<TDrawingContext>
Type: IChartTooltip<TDrawingContext>
Gets or sets the visual elements.
Type: IEnumerable<ChartElement<TDrawingContext>>
Type: IEnumerable<ChartElement<TDrawingContext>>
Events
Occurs before the chart is measured, this is the first step before the chart updates.
Handler definition: ChartEventHandler<TDrawingContext>
Handler definition: ChartEventHandler<TDrawingContext>
Occurs when the chart started an update, just when the drawing loop started.
Handler definition: ChartEventHandler<TDrawingContext>
Handler definition: ChartEventHandler<TDrawingContext>
Occurs when a chart update finished, just when the drawing loop finished.
Handler definition: ChartEventHandler<TDrawingContext>
Handler definition: ChartEventHandler<TDrawingContext>
Occurs when the pointer goes down over a visual element.
Handler definition: VisualElementsHandler<TDrawingContext>
Handler definition: VisualElementsHandler<TDrawingContext>
Methods
// Called when the pointer goes down on a visual element(s).
IEnumerable<VisualElement<TDrawingContext>> visualElements, | // The visual elements. |
LvcPoint pointer | // The pointer location. |
)
// Gets all the ChartPoint that contain the given point.
LvcPoint point, | // The given point. |
TooltipFindingStrategy strategy | // The finding strategy, default is Automatic. |
)