| external help file | PSWriteOffice-help.xml |
|---|---|
| Module Name | PSWriteOffice |
| online version | https://github.com/EvotecIT/PSWriteOffice |
| schema | 2.0.0 |
Configures legend visibility and styling for an Excel chart.
Set-OfficeExcelChartLegend -Chart <ExcelChart> [-Position <string>] [-Overlay <bool>] [-Hide] [-FontSizePoints <double>] [-Bold <bool>] [-Italic <bool>] [-Color <string>] [-FontName <string>] [<CommonParameters>]Configures legend visibility and styling for an Excel chart.
PS>$chart | Set-OfficeExcelChartLegend -Position RightShows the legend on the right side of the chart and returns the chart for chaining.
Optional bold setting for legend text.
Type: Nullable`1
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueChart to update.
Type: ExcelChart
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: TrueOptional legend text color in hex format.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional legend font name.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional legend font size in points.
Type: Nullable`1
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueHide the legend instead of positioning it.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional italic setting for legend text.
Type: Nullable`1
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOverlay the legend on the chart area.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueLegend position.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: Bottom, Left, Right, Top, TopRight
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
OfficeIMO.Excel.ExcelChart
OfficeIMO.Excel.ExcelChart
- None