-
Notifications
You must be signed in to change notification settings - Fork 620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
怎么不能定制width #1
Comments
width可以自己在外面包裹一下来定制,例如: <div className="chart_wrapper">
<ReactEcharts
option={this.getOtion()}
height={300} />
</div> 然后设置css: .chart_wrapper {
width: 60%;
} |
个人觉得应该直接对外暴露className, style属性,不用height. |
@codering 是的,开始也这么考虑的,开放style和class,不用height~ |
@hustcc 建议修改一下README |
@byenow 需要修改什么? |
@byenow 感谢提醒,包括demo代码中也有很多的height属性~~~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: