# DashboardWidgetType Type

> DashboardWidgetType type alias in the TX Sheet Control TypeScript API for Node.js: Supported dashboard visualizations. Covers a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > DashboardWidgetType Type
- **643 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardwidgettype/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardwidgettype/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardwidgettype/llms-full.txt

---

Supported dashboard visualizations; definitions contain data and presentation, never executable content.

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

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

### Syntax

```typescript
export type DashboardWidgetType =
    | 'kpi'
    | 'line'
    | 'bar'
    | 'column'
    | 'bar-stacked'
    | 'bar-percent'
    | 'column-stacked'
    | 'column-percent'
    | 'area'
    | 'area-stacked'
    | 'area-percent'
    | 'combo'
    | 'waterfall'
    | 'bullet'
    | 'heatmap'
    | 'scatter'
    | 'bubble'
    | 'treemap'
    | 'small-multiples'
    | 'map'
    | 'box-plot'
    | 'histogram'
    | 'donut'
    | 'pie'
    | 'table'
    | 'slicer'
    | 'text';
```

### Examples

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

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

const value: Parameters<
    Awaited<ReturnType<ServerSheetControl['workbook']['dashboards']['getById']>>['addWidget']
>[0]['type'] = 'line';

console.log(value);
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Creating Dashboards](https://docs.textcontrol.com/tx-sheet-control/dashboards/creating/llms-full.txt)

### Advanced Charts

The chart family determines the required dimensions and numeric aliases. [Widgets](https://docs.textcontrol.com/tx-sheet-control/dashboards/widgets/llms-full.txt) describes the supported query shapes, comparisons and offline map geometry.

---

## Nearby

- **Previous:** [DashboardWidgetAppearance.shadow Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dashboardwidgetappearance/shadow-property/llms-full.txt)
- **Next:** [DataBinding Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/databinding/llms-full.txt)
