# Chart Dialogs

> Insert and edit worksheet charts in the chart dialog: pick a chart family and variant, check the live preview and set the title, data range, series and legend.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Sheet Control > Spreadsheet Editor > Chart Dialogs
- **1073 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/spreadsheet-editor/chart-dialogs/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/spreadsheet-editor/chart-dialogs/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/spreadsheet-editor/chart-dialogs/llms-full.txt

---

Worksheet charts visualize cell ranges, and one dialog both creates and edits them. It combines a chooser for the chart family and type, a live preview and the settings for the data, the title and the legend. Aggregated charts on a dashboard are configured through [Widget Settings](https://docs.textcontrol.com/tx-sheet-control/dashboards/widget-settings/llms-full.txt) instead.

### Open the Chart Dialog

The chart commands of the ribbon use the same chart dialog:

- **To create a chart,** select a source range and use the chart commands of the **Insert** tab.
- **To edit a chart,** select it and use **Chart Design → Change Chart Type** or **Select Data**.

### Choose a Chart Family and Variant

![Format Chart dialog with the Column family, its variant choices, a Clustered Column preview of revenue by region and the chart settings](https://docs.textcontrol.com/assets/img/tx-sheet-control/chart-type-dialog.4a89c8ea.webp)

**Recommended Charts** provides a smaller starting selection, and **All Charts** shows the supported families. Choose a family on the left, then a variant above the preview. The selected variant is highlighted. When you edit an existing chart, the title of the dialog reads **Format Chart**; when you insert one, it reads **Insert Chart**.

Choose the family by what the data expresses:

- **Column and bar charts** suit comparisons, such as the revenue of North, South, East and West.
- **Line charts** suit categories whose order has meaning, such as January through June.
- **Pie and doughnut charts** suit a small number of parts of one total.
- **Scatter and bubble charts** need suitable numeric coordinate data.
- **Specialized families** may need more than one value series.

### Read the Preview Before You Confirm

![Line with Markers preview showing the calculated monthly revenue for January through June from the data range K1:L7](https://docs.textcontrol.com/assets/img/tx-sheet-control/chart-preview-dialog.be4bb91d.webp)

The monthly example previews **Line with Markers** against `K1:L7` on Summary. The Month column supplies the ordered categories and Revenue supplies the values. The preview lets you check that the labels, the source orientation and the chosen chart family express the intended comparison.

Choosing another variant updates the draft; it does not replace worksheet values. **Cancel** leaves the existing chart unchanged, and **OK** commits the chosen settings. After applying them, confirm that the first and last categories of the chart and the expected number of series are present.

### Set the Title, Range, Series and Legend

![Chart dialog data settings for the Region and Revenue range A1:B5, with the title Revenue by region, Series In set to Columns and the legend at the bottom](https://docs.textcontrol.com/assets/img/tx-sheet-control/chart-data-dialog.ca260046.webp)

| Setting | How to choose it |
|---|---|
| Title | A useful statement of what is compared, such as Revenue by region |
| Data Range | The intended source cells, including the relevant headers and labels |
| Range-picker button | Select a range in the worksheet instead of typing the address |
| Series In | Whether rows or columns describe the separate series |
| Legend | A place for the key where it helps identify the series without obscuring the plot |

For `A1:B5`, the first row contains the headers Region and Revenue, the first column contains four region names and the second column contains revenue values. **Series In: Columns** therefore produces one Revenue series with four categories. Switching the orientation changes how the range is interpreted; it does not transpose the cells themselves.

> Important
>
> **Check the Range First.** When a chart looks wrong, check the selected range before you change colors. Accidentally including a total row, omitting a header or mixing currencies can produce a chart that looks plausible but misleads.

### Continue in Chart Design

![Chart Design ribbon offering styles and colors, the data commands, the chart type and the location](https://docs.textcontrol.com/assets/img/tx-sheet-control/ribbon-chart-design.008b9cb8.webp)

Once the data of the chart is correct, refine it on the **Chart Design** tab:

- **Styles and color choices** refine the appearance.
- **Select Data** returns to the source settings.
- **Change Chart Type** returns to the family and variant.
- **Move Chart** changes the worksheet location of the chart. Dragging and resizing adjust its geometry on the worksheet.

The chart element and filter controls provide additional options for the selected chart where supported. Hiding a series or a category in a chart does not delete the source cells. Review the result again after you change the range or introduce missing or negative values.

### Next Steps

- [Charts and Sparklines](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/charts/llms-full.txt): work with the source APIs of charts, their persistence and sparklines.
- [XLSX Compatibility](https://docs.textcontrol.com/tx-sheet-control/document-processing/xlsx-compatibility/llms-full.txt): check how worksheet charts are delivered in XLSX files.
- [Exporting Worksheets to PDF](https://docs.textcontrol.com/tx-sheet-control/pdf/export/llms-full.txt): deliver a worksheet with its charts as PDF.
- [Ribbon and Contextual Commands](https://docs.textcontrol.com/tx-sheet-control/spreadsheet-editor/ribbon/#insert-add-objects-to-a-worksheet): find the chart commands of the Insert tab.

---

## Nearby

- **Previous:** [Format Cells Dialog](https://docs.textcontrol.com/tx-sheet-control/spreadsheet-editor/format-cells/llms-full.txt)
- **Next:** [Formula Designer](https://docs.textcontrol.com/tx-sheet-control/spreadsheet-editor/formula-designer/llms-full.txt)
