# ChartEventArgs Object

> The event argument for chart related events.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > ChartEventArgs Object
- **222 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/charteventargs/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/charteventargs/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/charteventargs/llms-full.txt

---

### Description

The event argument for chart related events.

### Syntax

```javascript
{
   chartFrame: <FrameInfo>
}
```

### Examples

The following example demonstrates `ChartEventArgs` in a practical document-editing workflow. The event argument for chart related events.

```javascript
function handleChart(args) {
    console.log("chart frame:", args.chartFrame);
}
```

---

## In This Section

- [Javascript: ChartEventArgs.chartFrame Property](https://docs.textcontrol.com/ds-server/reference/javascript/charteventargs/chartframe-property/llms-full.txt): Information about the chart's frame.

---

## Nearby

- **Previous:** [ChartCallback Function](https://docs.textcontrol.com/ds-server/reference/javascript/chartcallback/llms-full.txt)
- **Next:** [Javascript: ChartEventArgs.chartFrame Property](https://docs.textcontrol.com/ds-server/reference/javascript/charteventargs/chartframe-property/llms-full.txt)
