What's New in .NET MAUI Charts: 2024 Volume 2
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (182).NET Core  (27).NET MAUI  (233)Angular  (117)ASP.NET  (49)ASP.NET Core  (81)ASP.NET MVC  (87)Azure  (42)Black Friday Deal  (1)Blazor  (244)BoldSign  (15)DocIO  (24)Essential JS 2  (109)Essential Studio  (200)File Formats  (74)Flutter  (140)JavaScript  (227)Microsoft  (121)PDF  (86)Python  (1)React  (107)Streamlit  (1)Succinctly series  (131)Syncfusion  (991)TypeScript  (33)Uno Platform  (3)UWP  (3)Vue  (46)Webinar  (53)Windows Forms  (59)WinUI  (72)Word  (9)WPF  (165)Xamarin  (159)XlsIO  (38)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (11)Business intelligence  (55)Button  (4)C#  (164)Chart  (154)Chart of the week  (62)Cloud  (16)Company  (440)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (74)Development  (694)Doc  (8)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (7)Essential Tools  (13)Excel  (43)Extensions  (31)File Manager  (8)Gantt  (23)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (530)Mobile MVC  (9)OLAP server  (2)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (48)Performance  (13)PHP  (2)PivotGrid  (5)Predictive Analytics  (6)Report Server  (3)Reporting  (8)Reporting / Back Office  (9)Rich Text Editor  (12)Road Map  (12)Scheduler  (54)Security  (5)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (32)Solution Services  (4)Spreadsheet  (11)SQL  (15)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (426)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (19)Web  (648)What's new  (354)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
What's New in .NET MAUI Charts: 2024 Volume 2

What’s New in .NET MAUI Charts: 2024 Volume 2

TL;DR: Discover the latest updates in the Syncfusion’s .NET MAUI Charts for 2024 Volume 2! New features include annotations, enhanced trackballs, smart axis labels, and more. Elevate your data visualization and engage your audience like never before!

Prepare for an exhilarating journey with Syncfusion’s .NET MAUI Charts! The Essential Studio 2024 Volume 2 release introduces innovations to revolutionize data visualization and audience engagement.

Explore these groundbreaking enhancements through immersive code examples that will inspire you to elevate your applications to new heights!

Cartesian Charts

Let’s see the new updates in the .NET MAUI Cartesian Charts

Annotation

Users can now add text, shapes, and custom views as annotations to specific areas within the chart. These annotations help highlight essential data points, provide additional details, or draw attention to specific areas of the chart.

Refer to the following code example.

var annotation = new LineAnnotation
{
    CoordinateUnit = CoordinateUnit.Axis,
    X1 = 50,
    Y1 = 50,
    X2 = 70,
    Y2 = 75,
    Text = "Annotation Text",
};
chart.Annotations.Add(annotation);

Refer to the following image.

Adding annotations in .NET MAUI Cartesian Charts
Adding annotations in .NET MAUI Cartesian Charts

Trackball enhancement

Users can now add any view as a trackball template, group all trackball labels, and display them at the top of the chart. Additionally, users can choose to activate the trackball via a long-press or touch action.

Refer to the following code example.

<chart:SfCartesianChart.Resources>
 <DataTemplate x:Key="trackballLabelTemplate">
  <HorizontalStackLayout Spacing="5">
   <Label Text="{Binding Series.Label}" FontSize="15" HorizontalOptions="Center" TextColor="{AppThemeBinding Default={StaticResource ContentBackground}}"/>
   <Label Text="{Binding Label,StringFormat=': {0}M'}" FontSize="15" HorizontalOptions="Center" TextColor="{AppThemeBinding Default={StaticResource ContentBackground}}"/>
  </HorizontalStackLayout>
 </DataTemplate>
</chart:SfCartesianChart.Resources>
. . .
. . .
<chart:LineSeries ItemsSource="{Binding ChartData1}" TrackballLabelTemplate ="{StaticResource trackballLabelTemplate}" XBindingPath="Date" YBindingPath="Value" ShowMarkers="True">
</chart:LineSeries>

Refer to the following image.

Trackball enhancements in .NET MAUI Cartesian Charts
Trackball enhancements in .NET MAUI Cartesian Charts

Get data points support

This feature retrieves a collection of data points that fall within a specified rectangular region, enabling more precise data analysis and interaction.

Refer to the following code example.

var dataPoints = series.GetDataPoints(new Rect(0, 0, 100, 100));
foreach (var point in dataPoints)
{
    Console.WriteLine($"X: {point.X}, Y: {point.Y}");
}

Refer to the following image.

Get data points feature in .NET MAUI Cartesian Charts
Get data points feature in .NET MAUI Cartesian Charts

Smart axis label

Smartly handle overlapping axis labels by placing them in multiple rows, wrapping the labels, or hiding them to ensure clear and readable axis information.

Refer to the following code example.

CategoryAxis primaryAxis = new CategoryAxis()
{
    LabelsIntersectAction = AxisLabelsIntersectAction.MultipleRows,
};

Refer to the following image.

Smart axis labels in .NET MAUI Cartesian Charts
Smart axis labels in .NET MAUI Cartesian Charts

Custom legend layout

You can now add any layout to the chart legend, enabling wrap or other layouts for effective legend item arrangement.

Refer to the following code example.

chart.Legend = new ChartLegend
{
    ItemsLayout = new CustomWrapLayout(),
};

Refer to the following image.

Custom legend layout feature in .NET MAUI Cartesian Charts
Differentiating default and custom legend layouts in .NET MAUI Cartesian Charts

Smart data label alignment – Circular Charts

This feature arranges data labels to avoid intersections and overlapping by shifting them or hiding overlapped labels, improving the readability of .NET MAUI Circular Charts.

Refer to the following code example.

pieChart.DataLabelSettings = new CircularDataLabelSettings
{
    SmartLabelAlignment= SmartLabelAlignment.Shift
};

Refer to the following image.

Smart data labels in .NET MAUI Circular Charts
Smart data labels in .NET MAUI Circular Charts

Supercharge your cross-platform apps with Syncfusion's robust .NET MAUI controls.

Conclusion

Thanks for reading! In this blog, we’ve seen the exciting new features added to the Syncfusion .NET MAUI Charts for the 2024 volume 2 release. These powerful new features significantly enhance data visualization and user interaction. These enhancements are designed to elevate the readability and interpretation of your chart data, providing a more insightful and engaging user experience.

Check out our Release Notes and What’s New pages to see the other updates of 2024 Volume 2.

The new version is available for existing customers on the License and Downloads page. If you are not a Syncfusion customer, try our 30-day free trial to check out our available features.

You can also contact us through our support forumssupport portal, or feedback portal. We are always happy to assist you!

Test Flight
App Center Badge
Google Play Store Badge
Microsoft Badge
Github Store Badge

Related blogs

Tags:

Share this post:

Popular Now

Be the first to get updates

Subscribe RSS feed

Be the first to get updates

Subscribe RSS feed