fix: legend height

This commit is contained in:
Shivam Mishra 2019-07-03 17:53:23 +05:30
parent 94c835115b
commit e142a5ed93

View File

@ -19,7 +19,7 @@ export default class PercentageChart extends AggregationChart {
b.depth = b.depth || PERCENTAGE_BAR_DEFAULT_DEPTH;
m.paddings.right = 30;
m.legendHeight = 80;
m.legendHeight = 60;
m.baseHeight = (b.height + b.depth * 0.5) * 8;
}