<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Charts",
  "identifier" : "/documentation/Charts/AxisValue",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Swift Charts"
    ],
    "preciseIdentifier" : "s:6Charts9AxisValueV"
  },
  "title" : "AxisValue"
}
-->

# AxisValue

A value for an axis mark.

```
struct AxisValue
```

## Topics

### Instance Properties

[`var count: Int`](/documentation/Charts/AxisValue/count)

The number of values on this axis.

[`var index: Int`](/documentation/Charts/AxisValue/index)

The index of the value along the axis.

### Instance Methods

[`func `as`<P>(P.Type) -> P?`](/documentation/Charts/AxisValue/as(_:))

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)