OxyPlot.Blazor 2.5.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package OxyPlot.Blazor --version 2.5.1                
NuGet\Install-Package OxyPlot.Blazor -Version 2.5.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="OxyPlot.Blazor" Version="2.5.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OxyPlot.Blazor --version 2.5.1                
#r "nuget: OxyPlot.Blazor, 2.5.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 OxyPlot.Blazor as a Cake Addin
#addin nuget:?package=OxyPlot.Blazor&version=2.5.1

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

OxyPlot.Blazor.BlazorPlotView Component

A sample from the examples library

Requirements

  • dot net 6.0 / net 7.0

Usage

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 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. 
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 1,805 1/24/2024
2.5.8 162 1/24/2024
2.5.7 746 5/16/2023
2.5.6 377 5/15/2023
2.5.5 374 5/12/2023
2.5.4 562 3/2/2023
2.5.3 425 3/2/2023
2.5.2 428 2/21/2023
2.5.1 619 2/1/2023
2.5.0 492 2/1/2023
2.4.0 533 1/9/2023
2.3.1 520 1/5/2023
2.3.0 503 1/5/2023
2.1.0 881 2/23/2022
1.0.0 1,030 8/31/2020