summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/qmlaxisformatter/customformatter.h
Commit message (Collapse)AuthorAgeFilesLines
* Axis formatter customization exampleMiikka Heikkinen2014-04-011-0/+71
Also refactored the formatter api somewhat: - Removed virtual from allowNegatives and allowZero and added a setter function for those. This will make it cleaner if we need to add similar properties to the axis formatter in the future, as no new virtual methods can be added without breaking BC. - Changed the labelValues array to labelStrings list, as it makes more sense to directly format the strings in recalculate. Change-Id: I3ea005afa984bb756845ca356b999762e0807415 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>