1. import { Stat } from 'g2';
  2. chart.coord('theta');
  3. chart.intervalStack().position(Stat.summary.proportion()).color('cut');
  4. });
  5. React.render(
  6. data={this.state.data}
  7. height={this.state.height}
  8. plotCfg={this.state.plotCfg}
  9. ref="myChart"
  10. />