# Set-OfficeExcelChartPoint

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

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **725**

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

Aliases: ExcelChartPoint

**Module**

`PSWriteOffice`

**Aliases**

`ExcelChartPoint`

**Inputs**

`OfficeIMO.Excel.ExcelChart`

**Outputs**

`OfficeIMO.Excel.ExcelChart`

**Source**

[SetOfficeExcelChartPointCommand.cs:17](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Excel/SetOfficeExcelChartPointCommand.cs#L17) 

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>]
```

[#](#method-set-officeexcelchartpoint-excelchart-string-string-double-switchparameter-uint32-int32)

Parameter set: `Index`

```
Set-OfficeExcelChartPoint
-Chart <ExcelChart>
[-FillColor <String>]
[-IgnoreCase <Boolean>]
[-LineColor <String>]
[-LineWidthPoints <Double>]
[-PassThru]
-PointIndex <UInt32>
-SeriesName <String>
[<CommonParameters>]
```

[#](#method-set-officeexcelchartpoint-excelchart-string-boolean-string-double-switchparameter-uint32-string)

Parameter set: `Name`

## Examples

### Highlight one data point.

```powershell
$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 requiredpipeline: True (ByValue)**

Chart to update.

**-FillColor String optional**

Point fill color. Named colors and hexadecimal values are accepted.

**-LineColor String optional**

Point line color. Named colors and hexadecimal values are accepted.

**-LineWidthPoints Double optional**

Point line width in points.

**-PassThru SwitchParameter optional**

Emit the object created or changed by the command.

**-PointIndex UInt32 required**

Zero-based data point index within the series.

**-SeriesIndex Int32 requiredsets: Index**

Zero-based series index.

**-IgnoreCase Boolean optionalsets: Name**

Ignore case when matching series name.

**-SeriesName String requiredsets: Name**

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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:7632E9E3262737A7CC33814BCF7493C70B035EE810C129B58B12AEA46F0F0110 -->
