Sfoglia il codice sorgente

Changed to pass truncateLegends option to legendDot

tags/1.3.0
rafael 5 anni fa
parent
commit
f77df2b02f
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      src/js/charts/AggregationChart.js

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

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


Caricamento…
Annulla
Salva