API Reference
Command
New-ImageChartBar
Creates bar chart data item.
Remarks
Use this cmdlet inside New-ImageChart to define one bar series.
Examples
Create bar-series data
PS>
New-ImageChartBar -Name 'Revenue' -Value 12,18,25 -Color Blue
Creates a single bar-series definition that can be passed into 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-ImageChartBar [-Color <ChartColor>] -Name <String> -Value <Double[]> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Color ChartColor
- Bar color.
- Name String
- Label for the bar data.
- Value Double[]
- Values for the bar.