What’s New in 2023 Volume 4: .NET MAUI Charts
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (180).NET Core  (28).NET MAUI  (224)Angular  (113)ASP.NET  (49)ASP.NET Core  (81)ASP.NET MVC  (87)Azure  (41)Black Friday Deal  (1)Blazor  (234)BoldSign  (14)DocIO  (24)Essential JS 2  (110)Essential Studio  (199)File Formats  (72)Flutter  (135)JavaScript  (226)Microsoft  (121)PDF  (83)Python  (1)React  (105)Streamlit  (1)Succinctly series  (131)Syncfusion  (960)TypeScript  (33)Uno Platform  (3)UWP  (3)Vue  (46)Webinar  (53)Windows Forms  (59)WinUI  (72)WPF  (162)Xamarin  (159)XlsIO  (38)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (10)Business intelligence  (55)Button  (4)C#  (163)Chart  (145)Chart of the week  (57)Cloud  (15)Company  (440)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (73)Development  (676)Doc  (7)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (7)Essential Tools  (13)Excel  (43)Extensions  (23)File Manager  (7)Gantt  (20)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  (519)Mobile MVC  (9)OLAP server  (2)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (45)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  (113)UI  (400)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (19)Web  (624)What's new  (337)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
What’s New in 2023 Volume 4: .NET MAUI Charts

What’s New in 2023 Volume 4: .NET MAUI Charts

The Essential Studio 2023 Volume 4 release gives Syncfusion’s .NET MAUI Charts innovative new types and features that enhance data visualization and redefine user interaction.

In this blog, we’ll go over these features, accompanied by practical code examples that bring them to life.

Note: We’ve got your back if you’re beginning your journey with .NET MAUI Charts! Our comprehensive getting started guide is the best resource for your first step into using these controls.

New chart types in Cartesian Charts

The .NET MAUI Cartesian Charts control has been enriched with two new chart types designed to enhance your data visualization experience.

Stacked area chart

The stacked area chart type allows you to visualize data points as areas stacked atop one another. It offers a holistic view of cumulative values. Use it to highlight trends and compare the contributions of individual elements to the overall picture.

Refer to the following code example.

<chart:SfCartesianChart>

 <chart:SfCartesianChart.XAxes>
  <chart:CategoryAxis/>
 </chart:SfCartesianChart.XAxes>

 <chart:SfCartesianChart.YAxes>
  <chart:NumericalAxis/>
 </chart:SfCartesianChart.YAxes>

 <chart:StackingAreaSeries ItemsSource="{Binding Data1}"
                           XBindingPath="Year"
                           YBindingPath="Value"        
 </chart:StackingAreaSeries>

 <chart:StackingAreaSeries ItemsSource="{Binding Data2}"
                           XBindingPath="Year"
                           YBindingPath="Value"         
 </chart:StackingAreaSeries>

 <chart:StackingAreaSeries ItemsSource="{Binding Data3}"
                           XBindingPath="Year"
                           YBindingPath="Value"         
 </chart:StackingAreaSeries>

 <chart:StackingAreaSeries ItemsSource="{Binding Data4}"
                           XBindingPath="Year"
                           YBindingPath="Value"         
 </chart:StackingAreaSeries>

</chart:SfCartesianChart>

Refer to the following image.

.NET MAUI Stacked Area Chart
.NET MAUI Stacked Area Chart

100% stacked area chart

Similar to the stacked area chart, this new series type presents the cumulative portion of each stacked element, but it always adds up to 100%. This allows for a deeper understanding of the proportional distribution of values within the stacked areas.

With the 100% stacked area chart, you can gain valuable insights into the relative contribution of each element to a whole.

<chart:SfCartesianChart>

 <chart:SfCartesianChart.XAxes>
  <chart:CategoryAxis/>
 </chart:SfCartesianChart.XAxes>

 <chart:SfCartesianChart.YAxes>
  <chart:NumericalAxis/>
 </chart:SfCartesianChart.YAxes>   

 <chart:StackingArea100Series ItemsSource="{Binding Data1}"
                              XBindingPath="Year"
                              YBindingPath="Value"        
 </chart:StackingArea100Series>

 <chart:StackingArea100Series ItemsSource="{Binding Data2}"
                              XBindingPath="Year"
                              YBindingPath="Value"         
 </chart:StackingArea100Series>

 <chart:StackingArea100Series ItemsSource="{Binding Data3}"
                              XBindingPath="Year"
                              YBindingPath="Value"         
 </chart:StackingArea100Series>

 <chart:StackingArea100Series ItemsSource="{Binding Data4}"
                              XBindingPath="Year"
                              YBindingPath="Value"         
    </chart:StackingArea100Series>

</chart:SfCartesianChart>

Refer to the following image.

.NET MAUI 100% Stacked Area Chart
.NET MAUI 100% Stacked Area Chart

Trackball label created event

Step up your user interaction with the new TrackballLabelCreated event. This event springs into action as the trackball glides between data points, enabling users to get more information via the current TrackballPointInfo property. It’s not just about viewing data anymore; it’s about interacting with it and extracting value from every movement.

Customizing visible labels and range

Take control of axis labels with the ability to retrieve and modify the visible labels collection. Additionally, users can access the visible range of the axis in real-time using the VisibleMinimum and VisibleMaximum properties. Thus, the precision of data interpretation is enhanced.

Let’s consider the use case of creating a nonlinear number series in a numerical axis, which can be achieved in the following code.

public class CustomNumericalAxis : NumericalAxis
{
     //Consider adding this axis to the chart.
     //CustomNumericalAxis primaryAxis = new CustomNumericalAxis();
     //chart.XAxes.Add(primaryAxis);

        
     protected override void OnCreateLabels()
     {
          base.OnCreateLabels();

          if (VisibleLabels != null)
          {
                VisibleLabels.Clear(); // Clear existing labels

	        var Items = new int[] { 0, 10, 15, 20, 50, 70 };

	        foreach(var item in Items )
	        {
	            if(item >= VisibleMinimum && item <= VisibleMaximum)
                    {
                        VisibleLabels.Add(new ChartAxisLabel(item, item.ToString()));
                    }
               }
          }
     }
}

Refer to the following image.

Customizing Labels and Ranges Visibility in .NET MAUI Charts
Customizing Labels and Ranges Visibility in .NET MAUI Charts

Conclusion

Thanks for reading this blog about the exciting new chart types and features added in Syncfusion’s .NET MAUI Charts controls as part of the 2023 Volume 4 release. These enhancements are designed to elevate the readability and interpretation of your chart data, providing a more insightful and engaging user experience.

Don’t forget to explore our Release Notes and What’s New pages to see all the other enhancements and additions to Essential Studio in the 2023 Volume 4 release.

For our current customers, the new version is available for download from the License and Downloads page. If you’re new to Syncfusion, we invite you to take advantage of our 30-day free trial to explore our wide range of features.

We’re here to support you every step of the way. Feel free to contact us through our support forum, support portal, or feedback portal. We’re always eager 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