# TimeSpanScaleOptions.GridSpacingUnit property

Gets or sets the time span unit of the major gridlines and of the text shown on their labels.

**Namespace:** [`Eremex.AvaloniaUI.Charts`](../index.md)  
**Assembly:** `Eremex.Avalonia.Charts.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public TimeSpanUnit? GridSpacingUnit { get; set; }
```

## Remarks

This property sets the granularity of the grid, not of the data; use [`MeasureUnit`](./MeasureUnit.md) for that.

## See Also

* enum [TimeSpanUnit](../TimeSpanUnit.md)
* class [TimeSpanScaleOptions](../TimeSpanScaleOptions.md)
* namespace [Eremex.AvaloniaUI.Charts](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Charts.dll -->
