# New-ImageChartAnnotation

Creates chart annotation data item. Review available syntax, parameters, pipeline guidance, and reference details in ImagePlayground commands for ChartForgeX.

 Command  

**Module**

`imageplayground`

**Inputs**

 `None` 

Creates chart annotation data item.

## Syntax

```
New-ImageChartAnnotation
[-Arrow]
[-Text] <String>
[-X] <Double>
[-Y] <Double>
[<CommonParameters>]
```

 [#](#method-new-imagechartannotation-switchparameter-string-double-double) 

Parameter set: `All Parameter Sets`

## Description

Use this cmdlet with New-ImageChart to highlight notable points on a generated chart.

## Examples

### Create a chart annotation

```powershell
New-ImageChartAnnotation -X 3 -Y 61 -Text 'Peak usage' -Arrow
```

Creates an annotation definition that can be passed to New-ImageChart via -Annotation or -AnnotationsDefinition.

## Parameters

**-Arrow SwitchParameter optional**

Display arrow.

**-Text String requiredposition: 2**

Annotation text.

**-X Double requiredposition: 0**

X coordinate for annotation.

**-Y Double requiredposition: 1**

Y coordinate for annotation.

## 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).

<!-- PowerForge markdown artifact sha256:1DDEFCD9C36012CBCCF4F2F0A0B2A80721E7E08175B986B4548A59CA44E14619 -->
