瀏覽代碼

refactor: set default width for legend label to 150

tags/v1.5.0
Shivam Mishra 5 年之前
父節點
當前提交
73fddf0623
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/js/charts/AggregationChart.js

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

@@ -63,7 +63,7 @@ export default class AggregationChart extends BaseChart {
let count = 0;
let y = 0;
this.legendTotals.map((d, i) => {
let barWidth = 110;
let barWidth = 150;
let divisor = Math.floor(
(this.width - getExtraWidth(this.measures))/barWidth
);


Loading…
取消
儲存