# Chart

Charts are built with `Vtiful\Kernel\Chart`, fed series via `series()` / `categories()`, then inserted into a worksheet.

> Build the `Chart` instance into a variable first, then call `output()` on the workbook. Chaining `(new Chart())->series()->toResource()` inline triggers a double-insert warning.

Pages in this section:

* [Chart type constants](/english/chart/chart-type-constants.md)
* [Data input](/english/chart/data-input.md)
* Examples: [doughnut](/english/chart/doughnut.md), [area](/english/chart/area.md), [histogram](/english/chart/histogram.md), [bar](/english/chart/bar.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xlswriter-docs.viest.me/english/chart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
