API Reference
Cmdlet
Set-OfficeExcelChartPoint
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
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:
IndexParameters
- Chart ExcelChart
- Chart to update.
- FillColor String
- Point fill color in hex format.
- LineColor String
- Point line color in hex format.
- LineWidthPoints Nullable`1
- Point line width in points.
- PointIndex UInt32
- Zero-based data point index within the series.
- SeriesIndex Int32
- 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:
NameParameters
- Chart ExcelChart
- Chart to update.
- FillColor String
- Point fill color in hex format.
- IgnoreCase Boolean
- Ignore case when matching series name.
- LineColor String
- Point line color in hex format.
- LineWidthPoints Nullable`1
- Point line width in points.
- PointIndex UInt32
- Zero-based data point index within the series.
- SeriesName String
- Series name.
Outputs
OfficeIMO.Excel.ExcelChart