---
title: "updateChartDescriptor(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/axchartdescriptorrepresentable/updatechartdescriptor(_:)"
---

# updateChartDescriptor(_:)

Update the existing AXChartDescriptor for your view, based on changes in your view or in the Environment.

## Declaration

```swift
func updateChartDescriptor(_ descriptor: AXChartDescriptor)
```

## Discussion

Discussion This will be called as needed, when accessibility needs your AXChartDescriptor for VoiceOver. It will only be called if the inputs to your views, or a relevant part of the Environment, have changed.

## See Also

### Managing a descriptor

- [makeChartDescriptor()](swiftui/axchartdescriptorrepresentable/makechartdescriptor().md)
