Attempted to increase performance when paint complicated charts.

This commit is contained in:
23rd
2023-07-14 00:59:10 +03:00
committed by John Preston
parent 73b4621121
commit 367adaa44d
3 changed files with 34 additions and 4 deletions
@@ -27,8 +27,6 @@ void PaintLinearChartView(
const auto currentMinHeight = rect.y(); //
const auto currentMaxHeight = rect.height() + rect.y(); //
PainterHighQualityEnabler hq(p);
for (const auto &line : chartData.lines) {
const auto additionalP = (chartData.xPercentage.size() < 2)
? 0.