Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect AspectRatio by making chart-dimensions nullable (#88)
Changes the width/height properties to be nullable. This is required for AspectRatio to work since it's ignored when height is set (and it's always set if it's not nullable). The defaults of 400/400 are also removed. - As stated in the [responsive section](https://www.chartjs.org/docs/latest/general/responsive.html#configuration-options). > Note that this option (AspectRatio) is ignored if the height is explicitly defined either as attribute or via the style.
- Loading branch information