Skip to content

New-UDDoughnutChartDataset

SYNOPSIS

Dataset for a doughnut or pie chart.

SYNTAX

New-UDDoughnutChartDataset [[-DataProperty] <String>] [[-Label] <String>]
 [[-BackgroundColor] <DashboardColor[]>] [[-BorderColor] <DashboardColor[]>] [[-BorderWidth] <Int32>]
 [[-HoverBackgroundColor] <DashboardColor[]>] [[-HoverBorderColor] <DashboardColor[]>]
 [[-HoverBorderWidth] <Int32[]>] [<CommonParameters>]

DESCRIPTION

Dataset for a doughnut or pie chart. Use instead of New-UDChartDataset for doughnut charts with additional options.

EXAMPLES

Example 1

PS C:\> 

PARAMETERS

-BackgroundColor

The fill color of the arcs in the dataset.

Type: UniversalDashboard.Models.DashboardColor[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-BorderColor

The border color of the arcs in the dataset.

Type: UniversalDashboard.Models.DashboardColor[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-BorderWidth

The border width of the arcs in the dataset.

Type: System.Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DataProperty

The property of the object to use as the y-Axis of the dataset.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-HoverBackgroundColor

The fill colour of the arcs when hovered.

Type: UniversalDashboard.Models.DashboardColor[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-HoverBorderColor

The stroke colour of the arcs when hovered.

Type: UniversalDashboard.Models.DashboardColor[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-HoverBorderWidth

The stroke width of the arcs when hovered.

Type: System.Int32[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Label

The label for the dataset which appears in the legend and tooltips.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

Back to top