---
title: xValue
framework: accessibility
role: symbol
role_heading: Instance Property
path: accessibility/axdatapoint/xvalue
---

# xValue

The value of the x-axis for the data point.

## Declaration

```swift
@NSCopying var xValue: AXDataPointValue { get set }
```

## Discussion

Discussion Use a double value for a numeric x-axis, or an NSString value for a categorical x-axis.

## See Also

### Specifying the data value

- [yValue](accessibility/axdatapoint/yvalue.md)
- [AXDataPointValue](accessibility/axdatapointvalue.md)
- [AXDataPoint.Value](accessibility/axdatapoint/value.md)
