Axis formatter customization example


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>
commitfe3c9ec0a9fb734e83eb70bc725c303a9d36cd6d
parent25f48fc046bbce83abeeef0a6081de9f5efcd6d7
authorMiikka Heikkinen <miikka.heikkinen@digia.com>
committerMiikka Heikkinen <miikka.heikkinen@digia.com>
commit timeTue, 1 Apr 2014 08:28:57 +0300