Command
New-ChartLine
Add a line to a chart
Syntax
New-ChartLine
[[-Cap] <butt| square| round>]
[[-Color] <String>]
[[-Curve] <straight| smooth| stepline>]
[[-Dash] <Nullable`1>]
[[-Name] <String>]
[[-Value] <Object>]
[[-Width] <Nullable`1>]
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Example 1
An exampleParameters
- -Cap String
- For setting the starting and ending points of stroke
- Possible values:
butt,square,round - -Color String
- Colors to fill the border for paths.
- -Curve Object
- Whether to draw smooth lines or straight lines
- Possible values:
straight,smooth,stepline - -Dash Nullable<T>
- Creates dashes in borders of svg path. Higher number creates more space between dashes in the border.
- -Name String
- Name of the line
- -Value Object
- Values to display
- -Width Nullable<T>
- Sets the width of border for svg path
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.