# CHART_STYLES Constant

> CHART_STYLES constant in the browser JavaScript API: Readonly chart style presets with IDs and names such as Classic, Clean and Outline, with an example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Field
- **Path:** TX Sheet Control > API Reference > JavaScript API > Browser Editor > CHART_STYLES Constant
- **619 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/chart-styles-constant/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/chart-styles-constant/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/chart-styles-constant/llms-full.txt

---

Public constant for CHART\_STYLES.

Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

ES module import: `import { CHART_STYLES } from '@txtextcontrol/tx-sheet-control';`.

### Syntax

```typescript
CHART_STYLES: readonly [{ readonly id: "default"; readonly name: "Classic"; }, { readonly id: "minimal"; readonly name: "Clean"; }, { readonly id: "outline"; readonly name: "Outline"; }, { readonly id: "pastel"; readonly name: "Pastel"; readonly colors: readonly ["#81b8cf", "#f6bd9b", "#9dc7a2", "#91d3e9", "#d7a2d0", "#b9dba6"]; }, { readonly id: "dark"; readonly name: "Dark"; readonly background: "#292929"; readonly text: "#eeeeee"; readonly grid: "#555555"; }, { readonly id: "blue"; readonly name: "Blue"; readonly background: "#156082"; readonly text: "#ffffff"; readonly grid: "#4c829a"; }, { readonly id: "slate"; readonly name: "Slate"; readonly background: "#e9edf1"; readonly text: "#344454"; readonly grid: "#b6c1cb"; }, { readonly id: "monochrome"; readonly name: "Monochromatic"; readonly colors: readonly ["#156082", "#347b98", "#5994ab", "#7facbc", "#a5c4ce", "#cbdde2"]; }]
```

### Examples

Use this public value with the application package shown below. File and font inputs are application-owned resources, not automatically downloaded product data.

```javascript
import { CHART_STYLES } from '@txtextcontrol/tx-sheet-control';

console.log(CHART_STYLES);
```

### See Also

- [JavaScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/llms-full.txt)
- [Charts and Sparklines](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/charts/llms-full.txt)

---

## Nearby

- **Previous:** [ChartHandle.update Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/charthandle/update-method/llms-full.txt)
- **Next:** [CHART_TYPES Constant](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/browser/chart-types-constant/llms-full.txt)
