Sfoglia il codice sorgente

refactor: set default width for legend label to 150

tags/v1.5.0
Shivam Mishra 5 anni fa
parent
commit
73fddf0623
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/js/charts/AggregationChart.js

+ 1
- 1
src/js/charts/AggregationChart.js Vedi File

@@ -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
);


Caricamento…
Annulla
Salva