New to Telerik UI for .NET MAUI? Start a free 30-day trial

Represents the abstract base class for reusable, pluggable behaviors that can be added to the ChartBehaviors collection of a RadChartBase to augment its interactivity, such as displaying tooltips or handling gestures, without subclassing the chart itself.

A behavior instance can be attached to at most one chart's active attachment lifecycle at a time; adding the same instance to ChartBehaviors multiple times is tracked with a reference count rather than invoking OnAttachedTo(RadChartBase) more than once. Adding an instance that is attached to another chart throws InvalidOperationException and leaves the collection unchanged; remove the behavior from its current chart first.

Definition

Namespace:Telerik.Maui.Controls.Charts

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public abstract class ChartBehavior : StyleableElement

Inheritance: objectChartBehavior

Derived Classes: ChartTooltipBehavior

In this article
Definition
Not finding the help you need?
Contact Support