OxyPlot.Blazor 2.5.9

dotnet add package OxyPlot.Blazor --version 2.5.9
NuGet\Install-Package OxyPlot.Blazor -Version 2.5.9
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="OxyPlot.Blazor" Version="2.5.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OxyPlot.Blazor --version 2.5.9
#r "nuget: OxyPlot.Blazor, 2.5.9"
#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 OxyPlot.Blazor as a Cake Addin
#addin nuget:?package=OxyPlot.Blazor&version=2.5.9

// Install OxyPlot.Blazor as a Cake Tool
#tool nuget:?package=OxyPlot.Blazor&version=2.5.9

OxyPlot.Blazor.BlazorPlotView Component

A sample from the examples library

Requirements

  • dot net 6.0 / net 7.0

Usage

nuget package at https://www.nuget.org/packages/OxyPlot.Blazor/

Add Package Reference to OxyPlot.Core Add OxyPlot.Blazor library

add OxyPlotServices in Program.cs

var builder = WebApplication.CreateBuilder(args);

// Add services to the container.
builder.Services.AddRazorPages();
builder.Services.AddServerSideBlazor();
builder.Services.AddSingleton<WeatherForecastService>();
// add OxyPlot.Blazor scripting
builder.Services.AddOxyPlotBlazor();

var app = builder.Build();
@using OxyPlot.Blazor
<BlazorPlotView Width="100%" Height="30vh" Model="_model" />
@code {
	PlotModel _model = ... // some model
}

Known issues

  • Images anoations don't work yet (I do not understand that, they are just not visible)
  • Tracker is an extra <div/> - not pretty, only shown, when Parameter TrackerEnabled is set to true
Product 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 is compatible.  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. 
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
2.5.9 234 1/24/2024
2.5.8 126 1/24/2024
2.5.7 671 5/16/2023
2.5.6 346 5/15/2023
2.5.5 348 5/12/2023
2.5.4 522 3/2/2023
2.5.3 398 3/2/2023
2.5.2 394 2/21/2023
2.5.1 586 2/1/2023
2.5.0 459 2/1/2023
2.4.0 503 1/9/2023
2.3.1 483 1/5/2023
2.3.0 454 1/5/2023
2.1.0 817 2/23/2022
1.0.0 991 8/31/2020