H.Syncfusion.SfChart.Uno.WinUI 0.3.1

dotnet add package H.Syncfusion.SfChart.Uno.WinUI --version 0.3.1
NuGet\Install-Package H.Syncfusion.SfChart.Uno.WinUI -Version 0.3.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="H.Syncfusion.SfChart.Uno.WinUI" Version="0.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add H.Syncfusion.SfChart.Uno.WinUI --version 0.3.1
#r "nuget: H.Syncfusion.SfChart.Uno.WinUI, 0.3.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install H.Syncfusion.SfChart.Uno.WinUI as a Cake Addin
#addin nuget:?package=H.Syncfusion.SfChart.Uno.WinUI&version=0.3.1

// Install H.Syncfusion.SfChart.Uno.WinUI as a Cake Tool
#tool nuget:?package=H.Syncfusion.SfChart.Uno.WinUI&version=0.3.1

Syncfusion Uno Chart Control - Beta

Chart provides a perfect way to visualize data with a high level of user interactivity that focuses on development, productivity and simplicity of use. Chart also provides a wide variety of charting features that are used to visualize large quantities of data, flexible data binding and user customization.

<img width="700" src="/Images/SyncfusionUnoChart.gif">

Features

Check out the feature list of our first Uno Chart below:

  • Visualize and analyze data with ever-expanding 10+ charts and graphs ranging from line to pie charts.
  • Interact with and explore charts with features such as zoom and pan, tooltip, and data labels.

Chart Types

The Uno Chart control includes functionality for plotting more than 10 chart types. Each chart type is easily configured with built-in support for creating stunning visual effects.

  • Basic Charts
    • Column Chart
    • Bar Chart
    • Line Chart
    • Spline Chart
    • Area Chart
    • SplineArea Chart
    • Area Chart
  • Correlation Charts
    • Scatter Chart
    • Bubble Chart
  • Circular Charts
    • Pie Chart
    • Doughnut Chart
    • Semi PieChart
    • Semi DoughnutChart
    • Stacked DoughnutChart

Chart axis

The Uno Chart control supports three different types of axes: numerical, categorical, and date-time. The appearance of all chart axis elements can be customized with built-in properties.

Data Labels

Data points can be easily annotated with labels to help improve the readability of data.

Legends

Legends provide additional information that is helpful in identifying individual series in a chart. They can be docked to the left, right, top, or bottom positions around the chart area.

Interactive Features

The end-user experience is greatly enhanced by a set of user interaction features: zooming, panning, and tooltip.

Getting started

This section explains how to add the Synfusion Uno Charts to your application and use its basic features.

Step 1 Add H.Syncfusion.SfChart.Uno source project to your application.

Step 2 Reference the source in the projects of all the platforms.

Step 3 Import the SfChart namespace as shown below in your respective Page,

xmlns:syncfusion="using:Syncfusion.UI.Xaml.Charts"

Step 4 Then initialize an empty chart with two axes as shown below,

<syncfusion:SfChart> 
      <syncfusion:SfChart.PrimaryAxis>
           <syncfusion:CategoryAxis /> 
      </syncfusion:SfChart.PrimaryAxis> 
      <syncfusion:SfChart.SecondaryAxis>
           <syncfusion:NumericalAxis /> 
      </syncfusion:SfChart.SecondaryAxis>
</syncfusion:SfChart>

Step 5

Populate Chart with data - As we are going to visualize the comparison of heights in the data model, add ColumnSeries to SfChart.Series property, and then bind the Data property of the ViewModel to the ColumnSeries.ItemsSource property and You need to set XBindingPath and YBindingPath properties, so that SfChart would fetch values from the respective properties in the data model to plot the series.

<syncfusion:SfChart Header="Getting Started for Uno Chart" Height="300" Width="500">
    <syncfusion:SfChart.PrimaryAxis>
        <syncfusion:CategoryAxis Header="Name" />
    </syncfusion:SfChart.PrimaryAxis>
    <syncfusion:SfChart.SecondaryAxis>
        <syncfusion:NumericalAxis Header="Height(in cm)" />
    </syncfusion:SfChart.SecondaryAxis>
    <syncfusion:ColumnSeries  ItemsSource="{Binding Data}" XBindingPath="Name" YBindingPath="Height" >
          <syncfusion:ColumnSeries.AdornmentsInfo>
              <syncfusion:ChartAdornmentInfo ShowLabel="True"  FontSize="16" LabelPosition="Inner" Foreground="White" />
          </syncfusion:ColumnSeries.AdornmentsInfo>
   </syncfusion:ColumnSeries>
</syncfusion:SfChart>

The following chart is created as a result of the above codes.

<img width="400" src="/Images/GettingStarted.png">

Example applications

You will also find a Visual Studio solution with the SampleBrowser.SfChart application. It demonstrates some basic chart features. Here are outputs of the application below:

<img width="700" src="/Images/SyncfusionChartDemo.gif">

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.3.1 813 8/11/2022
0.3.0 499 7/1/2022

⭐ Last 10 features:
Published packages.
Added Uno.WinUI project.
🐞 Last 10 bug fixes:
Fixed problems with themes.
Remove invalid project files