# ChartAppearance Interface

> ChartAppearance interface in the browser TypeScript API: Chart-level colors and style selection applied independently of its data references.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > ChartAppearance Interface
- **783 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/llms-full.txt

---

Chart-level colors and style selection applied independently of its data references.

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

Type-only declaration; it is not a JavaScript runtime constructor.

### Members

#### Properties

| Property | Description |
|---|---|
| [axisTitles](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/axistitles-property/llms-full.txt) | The axisTitles value of ChartAppearance. |
| [colors](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/colors-property/llms-full.txt) | The colors value of ChartAppearance. |
| [elements](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/elements-property/llms-full.txt) | The elements value of ChartAppearance. |
| [filters](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/filters-property/llms-full.txt) | The filters value of ChartAppearance. |
| [origin](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/origin-property/llms-full.txt) | The origin value of ChartAppearance. |
| [style](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/style-property/llms-full.txt) | The style value of ChartAppearance. |
| [presentation](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/presentation-property/llms-full.txt) | Controls native chart layout, transparency, independent axes and bar spacing without changing series values.. |

### Examples

Use a fresh workbook. Create and format the sample data, apply this API and retain the returned document or result in your application. In the browser pass editor.workbook; in Node.js pass the server control.

```typescript
import type { Workbook } from '@txtextcontrol/tx-sheet-control';
import type { ChartAppearance } from '@txtextcontrol/tx-sheet-control';

function createChartAppearanceReport(book: Workbook) {
    const sheet = book.sheets.at(0);
    sheet.range('A1:B5').setValues([
        ['Region', 'Revenue'],
        ['North', 42000],
        ['South', 38500],
        ['East', 31200],
        ['West', 44900],
    ]);

    const chart = sheet.charts.add({
        type: 'column',
        title: 'Revenue by region',
        dataRange: 'A1:B5',
        anchor: { cell: 'D2' },
        size: { width: 480, height: 240 },
    });

    const chartAppearance: ChartAppearance = { elements: { axes: false } };
    chart.update({ ...chartAppearance });
    return sheet;
}
```

### See Also

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

---

## In This Section

- [ChartAppearance.axisTitles Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/axistitles-property/llms-full.txt): ChartAppearance.axisTitles property in the browser TypeScript API, with its type { horizontal: string; vertical: string; } | undefined and a TypeScript example.
- [ChartAppearance.colors Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/colors-property/llms-full.txt): ChartAppearance.colors property in the TX Sheet Control TypeScript API for the browser, with its type string[] | undefined and a TypeScript example.
- [ChartAppearance.elements Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/elements-property/llms-full.txt): ChartAppearance.elements property in the TX Sheet Control TypeScript API for the browser, with its type ChartElements | undefined and a TypeScript example.
- [ChartAppearance.filters Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/filters-property/llms-full.txt): ChartAppearance.filters property in the TX Sheet Control TypeScript API for the browser, with its syntax and a TypeScript example.
- [ChartAppearance.origin Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/origin-property/llms-full.txt): ChartAppearance.origin property in the browser TypeScript API, with its type { sheetId: string; chartId: string; } | undefined and a TypeScript example.
- [ChartAppearance.presentation Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/presentation-property/llms-full.txt): ChartAppearance.presentation property in the browser TypeScript API, with its type ChartAppearance['presentation'] and a TypeScript example.
- [ChartAppearance.style Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/style-property/llms-full.txt): ChartAppearance.style property in the TX Sheet Control TypeScript API for the browser, with its syntax and a TypeScript example.

---

## Nearby

- **Previous:** [Chart.presentation Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chart/presentation-property/llms-full.txt)
- **Next:** [ChartAppearance.axisTitles Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chartappearance/axistitles-property/llms-full.txt)
