# widgets JSON

The `widgets` section defines the widgets that appear in the dashboard. Each widget has a name.

## Example

```nolang
"widgets": {
	"text_1": {
		"parameters": {
			"fontSize": 20,
			"text": "Grouping",
			"textAlignment": "center",
			"textColor": "#091A3E"
		},
		"type": "text"
	},
	"pillbox_1": {
		"parameters": {
			"compact": false,
			"exploreLink": false,
			"step": "StaticSAQLMinRanges"
		},
		"type": "pillbox"
	},
	"chart_1": {
		"parameters": {
			"autoFitMode": "fit",
			"showValues": true,
			"legend": {
				"showHeader": true,
				"show": true,
				"position": "right-top",
				"inside": false
			},
			"axisMode": "multi",
			"visualizationType": "hbar",
			"exploreLink": true,
			"title": {
				"label": "",
				"align": "center",
				"subtitleLabel": ""
			},
			"trellis": {
				"enable": false,
				"type": "x",
				"chartsPerLine": 4
			},
			"measureAxis2": {
				"showTitle": true,
				"showAxis": true,
				"title": ""
			},
			"measureAxis1": {
				"showTitle": true,
				"showAxis": true,
				"title": ""
			},
			"theme": "wave",
			"step": "Account_BillingCount_1",
			"dimensionAxis": {
				"showTitle": true,
				"showAxis": true,
				"title": ""
			}
		},
		"type": "chart"
	}
}
```

- **[widget Properties](/docs/analytics/bi-dev-guide-json/guide/bi-dbjson-widgets-parameters.md)**

  The `widgets` key defines all widgets that are available in the dashboard. It contains a separate node for each widget. Each widget appears in all layouts to which it’s added. The properties available for each widget depend on the widget type. For example, a chart widget has the `legend` property, but a text widget doesn’t.

- **[parameters Properties](/docs/analytics/bi-dev-guide-json/guide/bi-dbjson-widgets-parameters-properties.md)**

  The `parameters` key contains a list of properties that control the appearance of the widget. Each widget type, including each chart type, contains a unique set of properties.
