Skip to content

New-UDChartOptions

SYNOPSIS

Options for a chart.

SYNTAX

New-UDChartOptions [[-LayoutOptions] <Object>] [[-LegendOptions] <Object>] [[-TitleOptions] <Object>]
 [[-TooltipOptions] <Object>] [[-xAxes] <Object>] [[-yAxes] <Object>] [<CommonParameters>]

DESCRIPTION

Options for a chart. Use with New-UDChart.

EXAMPLES

Example 1

PS C:\> $Options = New-UDChartOptions -LayoutOptions (
                New-UDChartLayoutOptions -Padding 15
            )
PS C:\> New-UDChart -Options $Options #...

Creates a chart and specifies padding options for it.

PARAMETERS

-LayoutOptions

Layout options for this chart. Use New-UDChartLayoutOptions.

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

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

-LegendOptions

Legend options for this chart. Use New-UDChartLegendOptions.

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

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

-TitleOptions

Title options for this chart. Use New-UDChartTitleOptions.

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

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

-TooltipOptions

Tooltip options for this chart. Use New-UDChartTooltipOptions.

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

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

-xAxes

The x-Axis for this chart. Use New-UDCategoryChartAxis, New-UDLinearChartAxis or New-UDLogarithmicChartAxis.

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

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

-yAxes

The y-Axis for this chart. Use New-UDCategoryChartAxis, New-UDLinearChartAxis or New-UDLogarithmicChartAxis.

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

Required: False
Position: 5
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