Command
New-ImageChartLine
Creates line chart data item.
Syntax
New-ImageChartLine
[-Color <ChartColor>]
[-Marker <Circle>]
[-Name] <String>
[-Smooth]
[-Value] <Double[]>
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Use this cmdlet inside New-ImageChart to define a line-series dataset.
Examples
Create line-series data
New-ImageChartLine -Name 'Sales' -Value 10,20,18,24 -Color Green -SmoothCreates a smoothed line-series definition ready to be rendered by New-ImageChart.
Parameters
- -Color ChartColor
- Line color.
- -Marker ChartMarkerShape
- None suppresses line markers; Circle enables ChartForgeX's shared line-marker style.
- Possible values:
Circle - -Name String
- Label for the line.
- -Smooth SwitchParameter
- Render the line using a smooth curve.
- -Value Double[]
- Y values for the line.
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.