# `GSInstance setAxisValue:forId:`

*Instance Method*

Sets the axis value for a specific ID.

## Declaration

```swift
func setAxisValue(_ value: GSMetricStore?, forId ID: String)
```

```objc
- (void) setAxisValue:(GSMetricStore *) value forId:(NSString *) ID;
```

```python
setAxisValue_forId_(value: GSMetricStore, ID: str)
```

## Parameters

- `value` — The axis value to set.
- `ID` — The ID of the axis.

