---
title: "stride(by:roundLowerBound:roundUpperBound:)"
framework: charts
role: symbol
role_heading: Type Method
path: "charts/axismarkvalues/stride(by:roundlowerbound:roundupperbound:)"
---

# stride(by:roundLowerBound:roundUpperBound:)

Creates values with the given number step.

## Declaration

```swift
static func stride<P>(by stepSize: P, roundLowerBound: Bool? = nil, roundUpperBound: Bool? = nil) -> AxisMarkValues where P : BinaryFloatingPoint
```
