summaryrefslogtreecommitdiffstats
path: root/examples/charts/piechart/piechart.pro
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@qt.io>2016-08-26 15:53:02 +0300
committerMiikka Heikkinen <miikka.heikkinen@qt.io>2016-09-19 10:51:01 +0000
commit105d75533d31ceee0c39ef9e084294ed49ecbd89 (patch)
tree4d2a73a1974d8ccd79d027ab19f8d4143909b458 /examples/charts/piechart/piechart.pro
parentced3a47d266938fd73a4b45f56cca4847cbb6967 (diff)
Optimize barcharts painting
Previously, bar charts used to recreate the bar chart visuals from scratch whenever any change to the bar data occurred. The following changes were made: - Graphics items are generated only for visible bars and labels - Graphics items are reused if layout or data changes - Labels are not generated unless they are visible - Only newly added bars are animated from scratch; existing bars will retain their size, making things more visually pleasing. With these optimizations, the size of the bar series is irrelevant to the painting performance, only thing that matters is how many bars and labels are actually within visible range. Task-number: QTBUG-52442 Change-Id: If3199a86e6819ef6219d2eb5f06d729c0bdbd2ae Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'examples/charts/piechart/piechart.pro')
0 files changed, 0 insertions, 0 deletions