API Reference
Command
New-HtmlXChartPie
Adds a pie chart data point to the current chart.
Remarks
Use inside New-HtmlXChart { }.
Examples
New-HtmlXChartPie -Name "Online" -Value 55 -Color "#3b82f6"
New-HtmlXChartPie -Name "Retail" -Value 30 -Color "#10b981"
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-HtmlXChartPie [-Color <string>] [-Name <string>] [-Value <double>] [<CommonParameters>]#Parameters
- Color string
- Optional slice color (CSS color value).
- Name string
- Category label for the slice.
- Value double
- Numeric value for the slice.
Outputs
HtmlForgeX.ApexCharts