Skip to content

Gorddd/Charting.Window

Repository files navigation

Simple plotting library for net6.0-windows

Quick build from console


Examples

  • Wrapper for OxyPlot, but you don't need to download OxyPlot
  • Works only with windows forms and -windows target framework
  • Samples

How to start

  1. Download .dll

  2. Create new project

    dotnet new console --framework net6.0 -o name
    
  3. 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>
  4. Build the project

    dotnet build
    
  5. Write code and run the project

    dotnet run