API Reference

Cmdlet

Set-OfficeExcelChartPoint

Aliases: ExcelChartPoint
Namespace PSWriteOffice
Aliases
ExcelChartPoint
Inputs
OfficeIMO.Excel.ExcelChart
Outputs
OfficeIMO.Excel.ExcelChart

Configures fill and line styling for a single Excel chart data point.

Remarks

Configures fill and line styling for a single Excel chart data point.

Examples

Authored help example

Highlight one data point.

PS>


$chart | Set-OfficeExcelChartPoint -SeriesName 'Revenue' -PointIndex 1 -FillColor '#C00000'
        

Applies a point-specific fill override to the second point in the Revenue series.

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

Set-OfficeExcelChartPoint -Chart <ExcelChart> [-FillColor <String>] [-LineColor <String>] [-LineWidthPoints <Nullable`1>] -PointIndex <UInt32> -SeriesIndex <Int32> [<CommonParameters>]
#
Parameter set: Index

Parameters

Chart ExcelChart requiredposition: namedpipeline: True (ByValue)
Chart to update.
FillColor String optionalposition: namedpipeline: False
Point fill color in hex format.
LineColor String optionalposition: namedpipeline: False
Point line color in hex format.
LineWidthPoints Nullable`1 optionalposition: namedpipeline: False
Point line width in points.
PointIndex UInt32 requiredposition: namedpipeline: False
Zero-based data point index within the series.
SeriesIndex Int32 requiredposition: namedpipeline: False
Zero-based series index.

Outputs

OfficeIMO.Excel.ExcelChart

Set-OfficeExcelChartPoint -Chart <ExcelChart> [-FillColor <String>] [-IgnoreCase <Boolean>] [-LineColor <String>] [-LineWidthPoints <Nullable`1>] -PointIndex <UInt32> -SeriesName <String> [<CommonParameters>]
#
Parameter set: Name

Parameters

Chart ExcelChart requiredposition: namedpipeline: True (ByValue)
Chart to update.
FillColor String optionalposition: namedpipeline: False
Point fill color in hex format.
IgnoreCase Boolean optionalposition: namedpipeline: False
Ignore case when matching series name.
LineColor String optionalposition: namedpipeline: False
Point line color in hex format.
LineWidthPoints Nullable`1 optionalposition: namedpipeline: False
Point line width in points.
PointIndex UInt32 requiredposition: namedpipeline: False
Zero-based data point index within the series.
SeriesName String requiredposition: namedpipeline: False
Series name.

Outputs

OfficeIMO.Excel.ExcelChart