Waves.UI.Avalonia.Charts
2022.3.3-prerelease.3
See the version list below for details.
dotnet add package Waves.UI.Avalonia.Charts --version 2022.3.3-prerelease.3
NuGet\Install-Package Waves.UI.Avalonia.Charts -Version 2022.3.3-prerelease.3
<PackageReference Include="Waves.UI.Avalonia.Charts" Version="2022.3.3-prerelease.3" />
paket add Waves.UI.Avalonia.Charts --version 2022.3.3-prerelease.3
#r "nuget: Waves.UI.Avalonia.Charts, 2022.3.3-prerelease.3"
// Install Waves.UI.Avalonia.Charts as a Cake Addin #addin nuget:?package=Waves.UI.Avalonia.Charts&version=2022.3.3-prerelease.3&prerelease // Install Waves.UI.Avalonia.Charts as a Cake Tool #tool nuget:?package=Waves.UI.Avalonia.Charts&version=2022.3.3-prerelease.3&prerelease
<img style="float: right;" src="files/images/logo_64.png"/> Waves UI Charts
📚 About Waves
Waves is a cross-platform framework designed for flexible developing of desktop, mobile applications and web-services.
📒 About Waves.UI.Charts
Waves.UI.Charts is a package for developing cross-platform charts/graphs-viewing applications. It provides a simple and fast cross-platform charting tool.
🚀 Getting started
Like all Waves libraries Waves.UI.Charts distributes via NuGet. You can find the packages here.
Or use these commands in the Package Manager to install Waves.Core manually:
Install-Package Waves.UI.Charts
Install-Package Waves.UI.Avalonia.Charts
⌨️ Usage basics
After installing the package you just need add chart control to XAML:
<controls:WavesPointSeriesChart Series="{Binding Series}"
XMin="{Binding XMin}"
XMax="{Binding XMax}"
YMin="{Binding YMin}"
YMax="{Binding YMax}"/>
And add the appropriate fields to the viewmodel:
/// <summary>
/// Gets or sets X Min.
/// </summary>
[Reactive]
public double XMin { get; set; }
/// <summary>
/// Gets or sets X Max.
/// </summary>
[Reactive]
public double XMax { get; set; }
/// <summary>
/// Gets or sets Y Min.
/// </summary>
[Reactive]
public double YMin { get; set; }
/// <summary>
/// Gets or sets Y Max.
/// </summary>
[Reactive]
public double YMax { get; set; }
/// <summary>
/// Gets or sets series.
/// </summary>
[Reactive]
public ObservableCollection<IWavesPointSeries> Series { get; set; }
Chart initialization looks like this:
var x = new double[length];
var y = new double[length];
var random = new Random();
for (var i = 0; i < length; i++)
{
x[i] = startX + i * step;
y[i] = Math.Sin(i);
}
var series = new WavesPointSeries(x, y)
{
Color = WavesColor.Red,
Type = SelectedSeriesType,
DotType = WavesDotType.FilledCircle,
};
XMin = x.Min();
XMax = x.Max();
YMin = y.Min();
YMax = y.Max();
Series.Add(series);
⚠️ Other documentation will be available soon.
📋 Licence
Waves.Core is licenced under the MIT licence.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net6.0
- Avalonia (>= 11.0.0-preview4)
- Avalonia.Diagnostics (>= 11.0.0-preview4)
- Avalonia.Skia (>= 11.0.0-preview4)
- Avalonia.Themes.Fluent (>= 11.0.0-preview4)
- Avalonia.Xaml.Behaviors (>= 11.0.0-preview4)
- Waves.UI.Charts (>= 2022.3.3-prerelease.3)
-
net7.0
- Avalonia (>= 11.0.0-preview4)
- Avalonia.Diagnostics (>= 11.0.0-preview4)
- Avalonia.Skia (>= 11.0.0-preview4)
- Avalonia.Themes.Fluent (>= 11.0.0-preview4)
- Avalonia.Xaml.Behaviors (>= 11.0.0-preview4)
- Waves.UI.Charts (>= 2022.3.3-prerelease.3)
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 |
---|---|---|
2022.3.3-prerelease.6 | 146 | 12/14/2022 |
2022.3.3-prerelease.3 | 122 | 11/27/2022 |