Skip to content
ChartForgeX
Command

New-ImageChartAnnotation

Module imageplayground
Inputs
None

Creates chart annotation data item.

Syntax

New-ImageChartAnnotation [-Arrow] [-Text] <String> [-X] <Double> [-Y] <Double> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

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

Examples

Authored help example

Create a chart annotation

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.