Waves.UI.Charts
2022.3.3-prerelease.6
dotnet add package Waves.UI.Charts --version 2022.3.3-prerelease.6
NuGet\Install-Package Waves.UI.Charts -Version 2022.3.3-prerelease.6
<PackageReference Include="Waves.UI.Charts" Version="2022.3.3-prerelease.6" />
paket add Waves.UI.Charts --version 2022.3.3-prerelease.6
#r "nuget: Waves.UI.Charts, 2022.3.3-prerelease.6"
// Install Waves.UI.Charts as a Cake Addin #addin nuget:?package=Waves.UI.Charts&version=2022.3.3-prerelease.6&prerelease // Install Waves.UI.Charts as a Cake Tool #tool nuget:?package=Waves.UI.Charts&version=2022.3.3-prerelease.6&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.
Warning This project currently in progress. There will be significant changes before the final release.
Note This repository is open for contributing. If you want to learn how to develop data visualization software, then welcome! 😃 Just email me: khek@ambertape.ru
Note Also feel free to write issues. It will be a good motivation to develop project.
📒 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:Waves2DSeriesChart Series="{Binding Series}"
XMin="{Binding XMin}"
XMax="{Binding XMax}"
YMin="{Binding YMin}"
YMax="{Binding YMax}"
BorderThickness="1"
VerticalSignatureAlignment="Right"
HorizontalSignatureAlignment="Bottom" />
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<IWaves2DSeries> Series { get; set; }
Simple point 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.UI.Charts is licenced under the MIT licence.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. 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. |
.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 is compatible. 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. |
-
.NETFramework 4.6.2
- ReactiveUI (>= 18.4.1)
- ReactiveUI.Fody (>= 18.4.1)
- SkiaSharp (>= 2.88.3)
- Waves.UI (>= 2022.3.3-prerelease.6)
-
.NETStandard 2.0
- ReactiveUI (>= 18.4.1)
- ReactiveUI.Fody (>= 18.4.1)
- SkiaSharp (>= 2.88.3)
- Waves.UI (>= 2022.3.3-prerelease.6)
-
net6.0
- ReactiveUI (>= 18.4.1)
- ReactiveUI.Fody (>= 18.4.1)
- SkiaSharp (>= 2.88.3)
- Waves.UI (>= 2022.3.3-prerelease.6)
-
net7.0
- ReactiveUI (>= 18.4.1)
- ReactiveUI.Fody (>= 18.4.1)
- SkiaSharp (>= 2.88.3)
- Waves.UI (>= 2022.3.3-prerelease.6)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Waves.UI.Charts:
Package | Downloads |
---|---|
Waves.UI.Avalonia.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. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2022.3.3-prerelease.6 | 138 | 12/14/2022 |
2022.3.3-prerelease.3 | 118 | 11/27/2022 |