Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如this fiddle所示,highcharts 可以响应式执行。
似乎lazy_high_charts 默认为width: 600px; height: 400px;未提供宽度或高度时。有解决方法吗?
width: 600px; height: 400px;
只设置高度就可以了
LazyHighCharts::HighChart.new('graph', :style=>"height:260px")
如果您愿意,可以使用百分比设置宽度