Set snapToTicks property.
Whether invalid values are snapped to the nearest step increment.
Builder instance for fluent chaining
Set snapToTicks property.