浏览代码

Changed to pass truncateLegends option to legendDot

tags/1.3.0
rafael 5 年前
父节点
当前提交
f77df2b02f
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      src/js/charts/AggregationChart.js

+ 2
- 1
src/js/charts/AggregationChart.js 查看文件

@@ -80,7 +80,8 @@ export default class AggregationChart extends BaseChart {
y,
5,
this.colors[i],
`${s.labels[i]}: ${d}`
`${s.labels[i]}: ${d}`,
this.config.truncateLegends
);
this.legendArea.appendChild(dot);
count++;


正在加载...
取消
保存