SimpleBlazorPieChart 1.0.5
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package SimpleBlazorPieChart --version 1.0.5
NuGet\Install-Package SimpleBlazorPieChart -Version 1.0.5
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.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleBlazorPieChart --version 1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SimpleBlazorPieChart, 1.0.5"
#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.5 // Install SimpleBlazorPieChart as a Cake Tool #tool nuget:?package=SimpleBlazorPieChart&version=1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
net5.0
- ColorSequenceGenerator (>= 1.0.3)
- Microsoft.AspNetCore.Components.Web (>= 5.0.0)
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 | 907 | 8/16/2022 |
1.0.12 | 381 | 8/15/2022 |
1.0.11 | 390 | 8/15/2022 |
1.0.10 | 400 | 8/14/2022 |
1.0.9 | 379 | 8/14/2022 |
1.0.8 | 396 | 8/14/2022 |
1.0.7 | 386 | 8/14/2022 |
1.0.6 | 377 | 8/14/2022 |
1.0.6-alpha3 | 166 | 7/28/2022 |
1.0.6-alpha2 | 152 | 7/28/2022 |
1.0.5 | 435 | 7/27/2022 |
1.0.4 | 495 | 7/11/2022 |
1.0.3 | 477 | 7/9/2022 |
1.0.2 | 408 | 7/8/2022 |
1.0.1 | 407 | 7/8/2022 |
1.0.0 | 408 | 7/8/2022 |