Item
The Item houses a single chart, table, selector or markdown object.
It also informs the width that the chart, table or markdown should occupy within a row. Widths are evaluated for each item in a row relative to all of the other items in the row.
In the example below, the markdown would take up 1/4th of the row and would be positioned on the left edge. The table would also take up 1/4th of the page and would sit to the right of the markdown. The chart would take up 1/2 of the page and would touch the right edge of the row.
items:
- width: 1
markdown: "# Some inline **markdown**"
- width: 1
table: ref(table-name)
- width: 2
chart: ref(chart-name)
- width: 1
selector: ref(selector-name)
Attributes
Field | Type | Default | Description |
---|---|---|---|
path | string | None | A unique path to this object |
name | string | None | The unique name of the object across the entire project. |
width | integer | 1 | The width of the Item determines is evaluated relative to the other items in a row. |
markdown | string | None | Markdown text to include in the dashboard. |
chart | Chart | None | A chart object defined inline or a ref() to a chart. |
table | Table | None | A Table object defined inline or a ref() to a table |
selector | Selector | None | A Selector object defined inline or a ref() to a selector |