- Wrapper for OxyPlot, but you don't need to download OxyPlot
- Works only with windows forms and -windows target framework
- Samples
-
Create new project
dotnet new console --framework net6.0 -o name
-
Add "-windows" in TargetFramework; add "UseWindowsForms=true" line and references to .dll in .csproj
.csproj should look like this
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net6.0-windows</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> <UseWindowsForms>true</UseWindowsForms> </PropertyGroup> <ItemGroup> <Reference Include="Charting.Window.dll"> <HintPath>YourPath\Charting.Window.dll</HintPath> </Reference> </ItemGroup> </Project>
-
Build the project
dotnet build
-
Write code and run the project
dotnet run