RadChartBase
Represents a chart control that visualizes data series over one or more axes.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public abstract class RadChartBase : RadLayout
Inheritance: objectRadLayoutRadChartBase
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the RadChartBase class.
public RadChartBase()
Fields
PaletteProperty
BindableProperty
Identifies the Palette bindable property.
public static readonly BindableProperty PaletteProperty
PlotAreaPaddingProperty
BindableProperty
Identifies the PlotAreaPadding bindable property.
Use the default value of new Thickness(-1) to let the engine compute
per-side padding automatically based on axis label sizes.
public static readonly BindableProperty PlotAreaPaddingProperty
StyleProperty
BindableProperty
Identifies the Style bindable property.
public static readonly BindableProperty StyleProperty
Properties
Gets or sets the color palette for chart series. null = use the palette defined by the active theme.
public ChartPalette Palette { get; set; }
PlotAreaPadding
Thickness
Gets or sets the padding between the chart border and the plot area.
The default value of new Thickness(-1) means the engine
auto-computes each side based on axis label measurements.
Set individual sides to non-negative values to fix them.
public Thickness PlotAreaPadding { get; set; }
Gets the collection of data series displayed by the chart.
public IList<ChartSeries> Series { get; }
Style
Style
Gets or sets the style applied to this chart.
public Style Style { get; set; }
Methods
Updates PropertyChanged subscriptions for the items reported by a collection change notification.
protected void HandlePropertyChangedSubscriptions(NotifyCollectionChangedEventArgs e, PropertyChangedEventHandler handler)
The collection change notification that supplies added and removed items.
handlerPropertyChangedEventHandlerThe handler to subscribe for added items and unsubscribe for removed items.
The method subscribes handler to each item in NewItems
that implements INotifyPropertyChanged, and removes the subscription from each compatible
item in OldItems. Items that do not implement
INotifyPropertyChanged are ignored. A reset notification contains neither item list, so the
owning collection handler must rebuild subscriptions separately when it receives
Reset.
Requests a redraw of the chart.
public void Invalidate()
Updates chart element binding contexts when the chart binding context changes.
protected override void OnBindingContextChanged()