Migrating the Chart from Xamarin.Forms to .NET MAUI
The Telerik UI for .NET MAUI Chart preserves the same API as its Xamarin counterpart except for the configuration options listed in this article.
The table in the following sections list the differences between the APIs of the Xamarin.Forms Chart and .NET MAUI Chart.
Namespaces Differences
When migrating the Chart from Xamarin to .NET MAUI, consider the following differences in the namespaces:
Control | Control name | XAML Namespace | C# Namespace |
---|---|---|---|
Xamarin Chart |
RadCartesianChart /RadPieChart
|
xmlns:telerikChart="clr-namespace:Telerik.XamarinForms.Chart;assembly=Telerik.XamarinForms.Chart" | using Telerik.XamarinForms.Chart; |
.NET MAUI Chart |
RadCartesianChart /RadPieChart
|
xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui" | using Telerik.Maui.Controls.Compatibility.Chart; |