SimpleBlazorPieChart 1.0.4

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

// Install SimpleBlazorPieChart as a Cake Tool
#tool nuget:?package=SimpleBlazorPieChart&version=1.0.4                

Simple Blazor Pie Chart

Usage:

@page "/"
@using SimpleBlazorPieChart
@using ColorSequenceGenerator
@using Radzen.Blazor
<h1>Pie Chart Usage Examples</h1>
<h2>Pie Chart Default</h2>
<SimplePieChart 
    Data=@(
        new[] { 
            ("Product Licenses", 5000), 
            ("Consulting", 12000), 
            ("Audit", 8000), 
            ("Employee Salary", 15000) })
    />
<h2>Pie Chart no text</h2>
<SimplePieChart Data=@(
                new[] {
                ("Product Licenses", 5000),
                ("Consulting", 12000),
                ("Audit", 8000),
                ("Employee Salary", 15000) })
                ShowText=@false
    />

<h2>Pie Chart with additional controls</h2>
<SimplePieChart Data=@(
                new[] {
                ("Product Licenses", 5000),
                ("Consulting", 12000),
                ("Audit", 8000),
                ("Employee Salary", 15000) })
                ColorSequenceGenerator="csg"
>
    <ExtraControls>
        Current Seed color: <span style="color: @csg.Seed">@csg.Seed</span>
        @{
            if (Magic == -1) Magic = (int)(csg.Magic * 1000);
            if (Seed == null) Seed = csg.Seed;
        }
        <RadzenNumeric Min="1000" Max="5000" Step="1" Style="margin:0 16px;" @bind-Value="@Magic"
                               TValue="int"
                               Change=@(i => csg.Magic = Magic * 1.0 / 1000)
                                />
        <RadzenColorPicker @bind-Value=@Seed 
        Change=@(c => csg.Seed = Seed)/>
    </ExtraControls>
</SimplePieChart>

@code {
    private int Magic = -1;
    private string Seed = null;
    private CSG csg = new();
}
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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
1.0.14 903 8/16/2022
1.0.12 377 8/15/2022
1.0.11 386 8/15/2022
1.0.10 396 8/14/2022
1.0.9 375 8/14/2022
1.0.8 393 8/14/2022
1.0.7 382 8/14/2022
1.0.6 373 8/14/2022
1.0.6-alpha3 164 7/28/2022
1.0.6-alpha2 150 7/28/2022
1.0.5 430 7/27/2022
1.0.4 491 7/11/2022
1.0.3 473 7/9/2022
1.0.2 404 7/8/2022
1.0.1 403 7/8/2022
1.0.0 404 7/8/2022