vue-graph
vue-graph copied to clipboard
Setting width to 100% throws warning
I want the chart to fill the parent element, so I set the width to 100% as per the JUI chart docs:
<graph-bar width="100%"...
While this works fine, the console shows the following error:
[Vue warn]: Invalid prop: type check failed for prop "width". Expected Number, got String.
Note, this is not using bind.
@lewiswalsh If set to '0', it is applied as 100%.
Tried that with both at the same time. Result is widh: 100% and height: 0
How to use the vue-graph-svg in a flexbox grid layout?