Skip to content

Repository files navigation

OxyPlot.Blazor.BlazorPlotView Component

A sample from the examples library

Requirements

  • dot net 8.0 / net 9.0 / net 10.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

varbuilder=WebApplication.CreateBuilder(args);// Add services to the container.builder.Services.AddRazorPages();builder.Services.AddServerSideBlazor();builder.Services.AddSingleton<WeatherForecastService>();// add OxyPlot.Blazor scriptingbuilder.Services.AddOxyPlotBlazor();varapp=builder.Build();
@usingOxyPlot.Blazor
<BlazorPlotViewWidth="100%"Height="30vh"Model="_model" />
@code{PlotModel_model=... // some model}

About

Blazor PlotView for OxyPlot

Resources

Stars

30 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages