Dimple.js - 如何居中对齐图例并在元素周围创建一个框

时间:2014-11-23 22:04:32

标签: d3.js dimple.js

有没有办法居中对齐图例并在dimple.js中的图例元素周围绘制一个框? 我正在努力实现以下目标。另外,我想减少图例元素之间的空间。 目前我使用以下命令渲染图例。

var legends = chart.addLegend(30, 270, 700, 20, "left");

enter image description here

enter image description here

0 个答案:

没有答案
相关问题