Project

PSWriteHTML

Generate HTML reports, dashboards, and emails from PowerShell without writing HTML, CSS, or JavaScript.

Stars 1,019
Forks 115
Open issues 54
PowerShell Gallery downloads 7,576,901
Release v1.41.0
Language: PowerShell Updated: 2026-10-03
Command

New-ChartRadialOptions

Module PSWriteHTML

Creates customizable options for a radial chart.

Syntax

New-ChartRadialOptions [-CircleType <Object>] [-DataLabelNameColor <String>] [-DataLabelNameFontSize <String>] [-DataLabelNameOffsetY <String>] [-DataLabelValueColor <String>] [-DataLabelValueFontSize <String>] [-DataLabelValueShow] [-FillType <String>] [-GradientShade <String>] [-GradientToColors <String>] [-GradientType <String>] [-GraidentStops <Array>] [-HollowBackGroundColor <String>] [-HollowMargin <String>] [-HollowSize <String>] [-Labels <String[]>] [-StrokeLineCap <String>] [-TrackDropShadow <String>] [-TrackDropShadowBlur <String>] [-TrackDropShadowLeft <String>] [-TrackDropShadowOpacity <String>] [-TrackDropShadowTop <String>] [<CommonParameters>]
#
Parameter set: CircleType
New-ChartRadialOptions [-DataLabelNameColor <String>] [-DataLabelNameFontSize <String>] [-DataLabelNameOffsetY <String>] [-DataLabelValueColor <String>] [-DataLabelValueFontSize <String>] [-DataLabelValueShow] [-EndAngle <Nullable`1>] [-FillType <String>] [-GradientShade <String>] [-GradientToColors <String>] [-GradientType <String>] [-GraidentStops <Array>] [-HollowBackGroundColor <String>] [-HollowMargin <String>] [-HollowSize <String>] [-Labels <String[]>] [-StartAngle <Nullable`1>] [-StrokeLineCap <String>] [-TrackDropShadow <String>] [-TrackDropShadowBlur <String>] [-TrackDropShadowLeft <String>] [-TrackDropShadowOpacity <String>] [-TrackDropShadowTop <String>] [<CommonParameters>]
#
Parameter set: CustomAngle

Description

This function defines various customizable options for a radial chart, such as circle type, angles, colors, shadows, labels, gradients, and more.

Examples

Authored help example

EXAMPLE 1

New-ChartRadialOptions -CircleType 'FullCircleTop' -StartAngle 0 -EndAngle 180 -HollowBackGroundColor 'white' -HollowMargin '10px' -HollowSize '50%' -TrackDropShadow 'black' -TrackDropShadowTop '2px' -TrackDropShadowLeft '2px' -TrackDropShadowBlur '5px' -TrackDropShadowOpacity '0.5' -DataLabelNameOffsetY '20px' -DataLabelNameColor 'black' -DataLabelNameFontSize '12px' -DataLabelValueShow -DataLabelValueColor 'red' -DataLabelValueFontSize '14px' -FillType 'solid' -GradientShade 'dark' -GradientType 'vertical' -GradientToColors @('red', 'blue') -GraidentStops @('0%', '100%') -StrokeLineCap 'round' -Labels @('Label1', 'Label2')

Creates customizable options for a radial chart with specified parameters.

Parameters

-CircleType Object optionalsets: CircleType
Specifies the type of circle for the radial chart. Valid values are 'FullCircleTop', 'FullCircleBottom', 'FullCircleBottomLeft', 'FullCircleLeft', 'Speedometer', 'SemiCircleGauge'.
Possible values: FullCircleTop, FullCircleBottom, FullCircleBottomLeft, FullCircleLeft, Speedometer, SemiCircleGauge
-DataLabelNameColor String optional
Specifies the color for the data label name in the radial chart.
-DataLabelNameFontSize String optional
Specifies the font size for the data label name in the radial chart.
-DataLabelNameOffsetY String optional
Specifies the Y-axis offset for the data label name in the radial chart.
-DataLabelValueColor String optional
Specifies the color for the data label value in the radial chart.
-DataLabelValueFontSize String optional
Specifies the font size for the data label value in the radial chart.
-DataLabelValueShow SwitchParameter optional
Indicates whether to show the data label value in the radial chart.
-FillType String optional
Specifies the fill type for the radial chart.
-GradientShade String optional
Specifies the shade for the gradient in the radial chart.
-GradientToColors String optional
Specifies the colors for the gradient in the radial chart.
-GradientType String optional
Specifies the type of gradient for the radial chart.
-GraidentStops Array optional
Specifies the gradient stops for the radial chart.
-HollowBackGroundColor String optional
Specifies the color for the hollow background of the radial chart.
-HollowMargin String optional
Specifies the margin for the hollow area of the radial chart.
-HollowSize String optional
Specifies the size of the hollow area in the radial chart.
-Labels String[] optional
Specifies an array of labels for the radial chart.
-StrokeLineCap String optional
Specifies the line cap for the stroke in the radial chart.
-TrackDropShadow String optional
Specifies the drop shadow for the track of the radial chart.
-TrackDropShadowBlur String optional
Specifies the blur effect for the drop shadow of the track in the radial chart.
-TrackDropShadowLeft String optional
Specifies the left shadow for the track of the radial chart.
-TrackDropShadowOpacity String optional
Specifies the opacity of the drop shadow for the track in the radial chart.
-TrackDropShadowTop String optional
Specifies the top shadow for the track of the radial chart.
-EndAngle Nullable`1 optionalsets: CustomAngle
Specifies the ending angle for the radial chart.
-StartAngle Nullable`1 optionalsets: CustomAngle
Specifies the starting angle for the radial chart.

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.