Skip to main content

IHighlightableChart Interface

Definition​

Assembly:Avalonia.Controls.Charts
Package:Avalonia.Controls.Charts

Exposes chart-level hover highlighting for chart types that support dimming or emphasizing data points while the pointer is over a data point.

public interface IHighlightableChart

Remarks​

Implement this contract only when the chart has real hover-highlight rendering behavior. This keeps Avalonia.Controls.Charts.IHighlightableChart.IsHighlightEnabled off chart types where it would be a no-op.

Properties​

NameDescription
IsHighlightEnabledGets or sets whether pointer hover highlighting is enabled.

IsHighlightEnabled Property​

Gets or sets whether pointer hover highlighting is enabled.

public bool IsHighlightEnabled { get; set; }