Skip to content

react d3 responsive chart #4

Description

@foodaka

Hey is there a way to adjust the chart so its RWD? I can set the width here but its not responsive

      <AreaChart
          showXGrid= {false}
          showYGrid= {false}
          margins= {margins}
          title={'demo chart'}
          data={this.props.data}
          chartSeries={chartSeries}
          x={x}
          xDomain = {xDomain}
          yLabel = {'depth'}
          width = {400}
          height = {200}
        />

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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