refactor: set default width for legend label to 150
This commit is contained in:
parent
724de646a6
commit
73fddf0623
@ -63,7 +63,7 @@ export default class AggregationChart extends BaseChart {
|
|||||||
let count = 0;
|
let count = 0;
|
||||||
let y = 0;
|
let y = 0;
|
||||||
this.legendTotals.map((d, i) => {
|
this.legendTotals.map((d, i) => {
|
||||||
let barWidth = 110;
|
let barWidth = 150;
|
||||||
let divisor = Math.floor(
|
let divisor = Math.floor(
|
||||||
(this.width - getExtraWidth(this.measures))/barWidth
|
(this.width - getExtraWidth(this.measures))/barWidth
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user