# Maths.BarChart2D class

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

```cs
public sealed class Maths.BarChart2D
```

## Constructors

- [Maths.BarChart2D](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.barchart2d/ctor.md)

## Methods

- [ToMesh](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.barchart2d/tomesh.md): Create a histogram mesh representing the data in this instance. The bar grid has unit dimensions, and is anchored to the world origin.
