API Reference
Command
New-ImageChartLine
Creates line chart data item.
Remarks
Use this cmdlet inside New-ImageChart to define a line-series dataset.
Examples
Create line-series data
PS>
New-ImageChartLine -Name 'Sales' -Value 10,20,18,24 -Color Green -Smooth
Creates a smoothed line-series definition ready to be rendered by New-ImageChart.
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.
Syntax
New-ImageChartLine [-Color <ChartColor>] [-Marker <Circle>] -Name <String> [-Smooth] -Value <Double[]> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- 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.