# New-ImageChartHistogram

Creates histogram chart data item. Review available syntax, parameters, pipeline guidance, and reference details in ImagePlayground commands for ChartForgeX.

 Command  

**Module**

`imageplayground`

**Inputs**

 `None` 

Creates histogram chart data item.

## Syntax

```
New-ImageChartHistogram
[-BinSize <Int32>]
[-Name] <String>
[-Values] <Double[]>
[<CommonParameters>]
```

 [#](#method-new-imagecharthistogram-int32-string-double) 

Parameter set: `All Parameter Sets`

## Examples

### Create histogram data

```powershell
New-ImageChartHistogram -Name 'Data' -Values @(1,2,3) -BinSize 2
```

## Parameters

**-BinSize Int32 optional**

Optional bin size.

**-Name String requiredposition: 0aliases: Label**

Label for the histogram.

**-Values Double[] requiredposition: 1**

Data values.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

<!-- PowerForge markdown artifact sha256:D4362F93D02B9509CC5496B2445847E1986A64B695786DED0229997E4C8A2C38 -->
