DashboardWidgetType Type
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
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.
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
Advanced Charts
The chart family determines the required dimensions and numeric aliases. Widgets describes the supported query shapes, comparisons and offline map geometry.