What’s New in 2023 Volume 4: .NET MAUI Charts
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (175).NET Core  (29).NET MAUI  (208)Angular  (109)ASP.NET  (51)ASP.NET Core  (82)ASP.NET MVC  (89)Azure  (41)Black Friday Deal  (1)Blazor  (220)BoldSign  (15)DocIO  (24)Essential JS 2  (107)Essential Studio  (200)File Formats  (67)Flutter  (133)JavaScript  (221)Microsoft  (119)PDF  (81)Python  (1)React  (101)Streamlit  (1)Succinctly series  (131)Syncfusion  (920)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (51)Windows Forms  (61)WinUI  (68)WPF  (159)Xamarin  (161)XlsIO  (37)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (8)Business intelligence  (55)Button  (4)C#  (151)Chart  (132)Cloud  (15)Company  (443)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (63)Development  (633)Doc  (8)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (41)Extensions  (22)File Manager  (7)Gantt  (18)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  (508)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (43)Performance  (12)PHP  (2)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (12)Road Map  (12)Scheduler  (52)Security  (3)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (31)Solution Services  (4)Spreadsheet  (11)SQL  (11)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (387)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (19)Web  (597)What's new  (333)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