Cmdlet
Set-OfficeExcelChartPoint
Configures fill and line styling for a single Excel chart data point.
Syntax
Set-OfficeExcelChartPoint -Chart <ExcelChart> [-FillColor <String>] [-LineColor <String>] [-LineWidthPoints <Double>] [-PassThru] -PointIndex <UInt32> -SeriesIndex <Int32> [<CommonParameters>]#Parameter set:
IndexSet-OfficeExcelChartPoint -Chart <ExcelChart> [-FillColor <String>] [-IgnoreCase <Boolean>] [-LineColor <String>] [-LineWidthPoints <Double>] [-PassThru] -PointIndex <UInt32> -SeriesName <String> [<CommonParameters>]#Parameter set:
NameExamples
Highlight one data point.
$chart | Set-OfficeExcelChartPoint -SeriesName 'Revenue' -PointIndex 1 -FillColor '#C00000'Applies a point-specific fill override to the second point in the Revenue series.
Parameters
- -Chart ExcelChart
- Chart to update.
- -FillColor String
- Point fill color. Named colors and hexadecimal values are accepted.
- -LineColor String
- Point line color. Named colors and hexadecimal values are accepted.
- -LineWidthPoints Double
- Point line width in points.
- -PassThru SwitchParameter
- Emit the object created or changed by the command.
- -PointIndex UInt32
- Zero-based data point index within the series.
- -SeriesIndex Int32
- Zero-based series index.
- -IgnoreCase Boolean
- Ignore case when matching series name.
- -SeriesName String
- Series name.
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.