Current section

Files

Jump to
noora docs components chartgrid.md
Raw

docs/components/chartgrid.md

<!-- Generated by scripts/generate-web-components.js. Do not edit directly. -->
# ChartGrid
Describes declarative chart-grid dimensions.
```html
<noora-chart-grid contain-label height="76" width="400"></noora-chart-grid>
```
## Attributes
| Attribute | Type or allowed values | Default | Description |
| --- | --- | --- | --- |
| `contain-label` | `boolean` | `false` | Includes axis labels within the grid dimensions. |
| `height` | `number` | None | Sets the grid height. |
| `width` | `number` | None | Sets the grid width. |
Use this element inside noora-chart.
## Grid
Keep labels within a fixed drawing grid.
```html
<noora-chart-grid contain-label height="76" width="400"></noora-chart-grid>
```