Commit graph

8 commits

Author SHA1 Message Date
Philipp Jahoda
2058f7bf5d Minor changes to project and example 2019-03-16 11:42:04 +01:00
almic
e5b66192e7
New ValueFormatter
I created a simplified value formatter class, which is an abstract class rather
than an interface.

The switch was chosen because the new format has all the methods predefined
(something an interface wouldn't allow) meaning you can extend it and only
change what you want. This also means that you only need one value formatting
class for labels rather than two different classes, it just makes more sense.

Please check the method signatures to learn how to use them, I'm sure you'll
find this new format is much more customizable and faster to use.

I've made the class abstract even though there are no abstract methods or
fields, this is because it would certainly be a mistake to create a
ValueFormatter and not override any methods.

To convert existing code, just use 'extends' instead of 'implements' and change
the names to 'ValueFormatter'. You'll need to change the methods you overwrite
as well, just check the class and use the one you need.
2018-11-07 12:41:53 -07:00
Philipp
4d5ce149dd Ignore ds_store files 2016-07-16 15:17:54 +02:00
Philipp Jahoda
ae7df47637 Modify gitignore 2016-04-01 16:28:18 +02:00
Philipp Jahoda
135f9aa09e Minor changes 2016-04-01 09:50:37 +02:00
Oleksandr Tyshkovets
0b404aad4a Mavenized MPChartLib 2014-08-26 17:25:43 +03:00
Jing Quanqi
950825607d add gradle support 2014-08-02 10:26:54 +08:00
Philipp Jahoda
f7acca8541 Initial commit. 2014-04-25 16:56:40 +02:00