Commit graph

1866 commits

Author SHA1 Message Date
Daniel Cohen Gindi
2176873271 Avoid creating a new formatter if null
This can improve performance in certain cases,
  and has the advantage of controlling the "global" default formatter
  that is used for null cases.
2016-08-09 16:02:07 +03:00
Daniel Cohen Gindi
18eec8f0e6 If we are at it - rename those interfaces too
FillFormatter -> IFillFormatter
ValueFormatter -> IValueFormatter
AxisValueFormatter -> IAxisValueFormatter
2016-08-09 15:44:03 +03:00
Daniel Cohen Gindi
02bf21df50 Reverse string formatter caches
These *will* cause trouble.
We know of users who format the strings based on the entry's location,
  view port scroll/scale, etc.

The cache will repeat irrelevant values, and gain no benefit for us.
2016-08-09 15:34:11 +03:00
Daniel Cohen Gindi
e841b697be Reversed "array access optimization"
A `for-each` loop allocates only one iterator for the whole loop,
  not for each iteration.
So this "optimization" is not needed, and just introduces additional
  clutter.

http://stackoverflow.com/questions/14640184/does-the-java-foreach-loop-create-a-new-object
2016-08-09 15:34:11 +03:00
Daniel Cohen Gindi
8cf2a6c3d0 Removed the extra offset that messed up legend location 2016-08-09 11:33:09 +03:00
Daniel Cohen Gindi
713f467ba8 Renamed Highlighter -> IHighlighter 2016-08-09 11:16:58 +03:00
Daniel Cohen Gindi
4d9dc0aa06 Safeguard for cubic bezier drawing 2016-08-08 23:32:11 +03:00
Daniel Cohen Gindi
339fa16324 Added back missing new CombinedChartRenderer 2016-08-08 22:26:05 +03:00
Daniel Cohen Gindi
aaec1f5d2c DRYed scatter code, simplified IShapeRenderer implementations 2016-08-08 22:15:57 +03:00
Daniel Cohen Gindi
51f0e53a7f Reinvented Markers - interface based, enhanced default behaviour
Two default implementations exist now: MarkerView, MarkerImage
The default behaviour constraints the marker to the view's bounds.
2016-08-08 18:25:44 +03:00
Daniel Cohen Gindi
f63002e196 Renamed x-pos to x-value where appropriate 2016-08-08 10:14:58 +03:00
Daniel Cohen Gindi
77c10fc9e5 These return a single pixel (x/y), for values (x value and y value) 2016-08-08 10:03:51 +03:00
Daniel Cohen Gindi
2d54fd1f3f Call createRenderers() instead of recreating the renderer each time 2016-08-08 09:56:04 +03:00
Daniel Cohen Gindi
79f5ed0200 Simplified scatter shape enum model
(Why would anyone try to subclass an enum?)
2016-08-08 09:56:04 +03:00
Daniel Cohen Gindi
99379d7bcf Renamed ShapeRenderer -> IShapeRenderer 2016-08-08 09:56:04 +03:00
Daniel Cohen Gindi
d2e8ee220a Renamed zoomCenter to zoomToCenter 2016-08-08 09:56:04 +03:00
Daniel Cohen Gindi
9c5a46c9f8 Gradle required 2048 heap for multidex 2016-08-08 09:56:04 +03:00
Daniel Cohen Gindi
1096719e8f drawBarShadowEnabled is working again 2016-08-08 09:56:04 +03:00
Daniel Cohen Gindi
0c00b09bdb DRYed that code 2016-08-08 09:56:04 +03:00
Daniel Cohen Gindi
1eae18b657 Keep that in a variable 2016-08-08 09:56:04 +03:00
Daniel Cohen Gindi
b2250e0155 Use scientific EPSILON 2016-08-08 09:56:04 +03:00
Daniel Cohen Gindi
164bfd7fca Fixed legend anchor for TOP 2016-08-08 09:56:04 +03:00
Daniel Cohen Gindi
f9108b9ad9 Groundwork for future support of highlight for multiple bubbles per x 2016-08-08 09:56:04 +03:00
Philipp Jahoda
342d41cbc4 Add linechart wiki 2016-08-07 23:17:11 +02:00
Philipp Jahoda
79e6a5d747 Add wiki piechart 2016-08-07 22:52:40 +02:00
Philipp Jahoda
946475b6d5 Add grouped barchart wiki image 2016-08-07 22:34:41 +02:00
Philipp Jahoda
099a9cf8c1 Minor changes 2016-08-07 10:55:42 +02:00
Martin Guillon
2f6fb103a2 method to set the dash effect 2016-08-07 10:17:32 +02:00
Martin Guillon
a91de26a52 axis line dash effect 2016-08-07 10:17:18 +02:00
Philipp Jahoda
3ea1db57ab Create example for XYMarkerView (#2029) 2016-07-16 22:53:01 +02:00
Philipp Jahoda
e000c42744 Create new XYMarkerView (#2029) 2016-07-16 22:52:10 +02:00
Philipp Jahoda
ef575decbb Remove old screenshot 2016-07-16 15:43:26 +02:00
Philipp
37c4eef38e Update build tools 2016-07-16 15:41:37 +02:00
Philipp
4d5ce149dd Ignore ds_store files 2016-07-16 15:17:54 +02:00
Philipp Jahoda
d7e659a1fa Change max-highlight-distance default to 500dp 2016-07-09 15:42:17 +02:00
Philipp Jahoda
8c67ec19f7 Fix #1978 2016-07-08 19:15:52 +02:00
Philipp Jahoda
c3dc2822ce Merge 2016-07-07 16:49:13 +02:00
Philipp Jahoda
9ccf58feab Fixes related to legend rendering (issue #1969) 2016-07-07 16:48:59 +02:00
Philipp Jahoda
2fa4a094e7 Update README.md 2016-07-07 11:36:01 +02:00
Philipp Jahoda
89104c2858 Update README.md 2016-07-07 11:34:08 +02:00
Philipp Jahoda
eb44a13434 Merge readme 2016-07-03 20:38:30 +02:00
Philipp Jahoda
16738ef480 Import cleanup 2016-07-03 20:38:12 +02:00
Philipp Jahoda
e2cbafa049 Code cleanup & new zoom method 2016-07-03 20:22:56 +02:00
Philipp Jahoda
75ba4f69fc Update README.md 2016-07-03 14:54:43 +02:00
Philipp Jahoda
db70835cbc Update README.md 2016-07-03 14:53:58 +02:00
Philipp Jahoda
1a39ac9b12 Update README.md 2016-07-03 14:49:47 +02:00
Philipp Jahoda
bad43a5e13 Move example to realm v1.1.0 2016-07-03 11:48:04 +02:00
Philipp Jahoda
83a4bf9075 Update README.md 2016-07-03 09:50:34 +02:00
Philipp Jahoda
a4ac12aebf Update README.md 2016-07-03 01:17:15 +02:00
Philipp Jahoda
08b2d55049 Update README.md 2016-07-03 00:26:11 +02:00