Command
New-ImageChartAnnotation
Creates chart annotation data item.
Syntax
New-ImageChartAnnotation [-Arrow] [-Text] <String> [-X] <Double> [-Y] <Double> [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Use this cmdlet with New-ImageChart to highlight notable points on a generated chart.
Examples
Create a chart annotation
New-ImageChartAnnotation -X 3 -Y 61 -Text 'Peak usage' -ArrowCreates an annotation definition that can be passed to New-ImageChart via -Annotation or -AnnotationsDefinition.
Parameters
- -Arrow SwitchParameter
- Display arrow.
- -Text String
- Annotation text.
- -X Double
- X coordinate for annotation.
- -Y Double
- 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.