Skip to content

Setting width to 100% throws warning #13

@lewiswalsh

Description

@lewiswalsh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions