# Sandbox.UI.GraphAxis.GetTicks

```csharp
IEnumerable<TickMark> GetTicks(float length)
```

Generate the ticks shared by the axis labels and the graph's grid. Length is in logical pixels.

### Parameters

- `length` (`float`)

### Returns

`IEnumerable<TickMark>`

Declared in [Sandbox.UI.GraphAxis](/api/Sandbox.UI.GraphAxis).
Assembly: `Sandbox.Engine`.
