# Maths.HistogramBucket struct

Namespace: [Grasshopper2](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public readonly struct Maths.HistogramBucket
```

Represents a single bucket in a histogram.

## Constructors

- [Maths.HistogramBucket](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.histogrambucket/ctor.md): Create a new bucket.

## Properties

- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.histogrambucket/count.md): Gets the number of samples in this bucket.
- [Lower](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.histogrambucket/lower.md): Gets the lower bound for this bucket.
- [Middle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.histogrambucket/middle.md): Gets the middle of the bar.
- [Upper](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.histogrambucket/upper.md): Gets the upper bound for this bucket.
- [Width](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.histogrambucket/width.md): Gets the width of this bucket.
