Skip to content

Width property not applied #254

@NullCodex

Description

@NullCodex

I tried to create a horizontal bar graph with a custom width but the width still takes up the entire page.
I'm creating the object with maintainAspectRatio set to false:

      <HorizontalBar data={data}
        height={200}
        width={1000}
        options={{
          maintainAspectRatio: false
      }}/>

It looks like the height is respected but not the width.
screen shot 2018-02-11 at 4 37 23 pm

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