Sfoglia il codice sorgente

fix: legend height

tags/1.2.3
Shivam Mishra 6 anni fa
parent
commit
e142a5ed93
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/js/charts/PercentageChart.js

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

@@ -19,7 +19,7 @@ export default class PercentageChart extends AggregationChart {
b.depth = b.depth || PERCENTAGE_BAR_DEFAULT_DEPTH; b.depth = b.depth || PERCENTAGE_BAR_DEFAULT_DEPTH;


m.paddings.right = 30; m.paddings.right = 30;
m.legendHeight = 80;
m.legendHeight = 60;
m.baseHeight = (b.height + b.depth * 0.5) * 8; m.baseHeight = (b.height + b.depth * 0.5) * 8;
} }




Caricamento…
Annulla
Salva