Fix diagram size when legend is showed

This commit is contained in:
Emil Sawicki
2022-02-15 17:39:14 +01:00
parent b14f0be7bc
commit f03ccdd23b
2 changed files with 5 additions and 9 deletions

View File

@@ -91,7 +91,6 @@ void PieChart::paintChart(QPainter *painter, QRectF chartRect)
void PieChart::paintChartLegend(QPainter *painter, QRectF legendRect)
{
// TODO_ES Fix bottom legend when axis is at the bottom
prepareLegendToPaint(legendRect, painter);
int indicatorSize = painter->fontMetrics().height()/2;