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