Skip to content

react d3 responsive chart #4

@foodaka

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}
        />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions