【发布时间】:2016-12-08 06:20:19
【问题描述】:
请看下面来自highchart官方文档的例子。 图例和图表之间还有一些空间。我想让图表尽可能大,但不要与图例重叠。
我的图表数据是动态的。图例项目的数量是可变的。因此我不能使用固定的marginBottom/marginTop,例如
chart: {
marginBottom: 50, // does not work for me, as the number of legend items is varied.
marginTop: -10
}
【问题讨论】:
标签: javascript highcharts