IDashboardItemOptions
Defines configuration options for a dashboard item.
Pass an array of IDashboardItemOptions objects to the items array when initializing the Dashboard.
Specifies whether users can change the item type.
Default value: true
- Type:
- boolean readonly
- Implemented in:
- IDashboardItemOptions
- See also:
- availableTypes
A list of item types available for user selection.
Refer to type for supported values.
- Type:
- string[] readonly
- Implemented in:
- IDashboardItemOptions
- See also:
- allowChangeType
The data field the item is bound to. If not specified, the name value is used.
- Type:
- string readonly
- Implemented in:
- IDashboardItemOptions
The item type (visualization type).
Supported values:
"bar""vbar""pie""doughnut""histogram""vhistogram""gauge""bullet""radar""stackedbar""wordcloud""text""choices""nps""card""pivot"
To prevent end users from changing the item type at runtime, set allowChangeType to false.
- Type:
- string readonly
- Implemented in:
- IDashboardItemOptions
A configuration object with visualizer settings that control how this item's data is rendered.
- Type:
- { [index: string]: any; } readonly
- Implemented in:
- IDashboardItemOptions
Send feedback to the SurveyJS team
Need help? Visit our support page