瀏覽代碼

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++;


Loading…
取消
儲存