Changed to pass truncateLegends option to legendDot

This commit is contained in:
rafael 2019-09-11 14:07:55 +02:00
parent c6e46886f3
commit f77df2b02f

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