Philipp Jahoda
8134d7f056
Merge pull request #2110 from Akylas/dasheffect
...
AxisLine DashEffect
2016-08-18 20:58:17 +02:00
Philipp Jahoda
e3c240bd9b
Merge pull request #2172 from redwarp/master
...
Correct documentation for ComponentBase#setTextSize
2016-08-18 20:57:32 +02:00
Philipp Jahoda
2b04973813
Merge pull request #2168 from Sin-Wave/master
...
Fixed Bug in LineChartRenderer
2016-08-18 20:57:14 +02:00
Benoit Vermont
26a69592d3
Merge pull request #1 from redwarp/setTextSize-Documentation
...
Update ComponentBase.java
2016-08-18 16:49:10 +02:00
Benoit Vermont
9d0b0fd955
Update ComponentBase.java
...
Update the documentation for setTextSize, to reflect that the parameter size is in DP, and not in pixel.
2016-08-18 16:48:28 +02:00
Julian Köpke
918950b6ad
respect phaseX when drawing cubicFill
2016-08-18 08:35:33 +02:00
Julian Köpke
cc971a7d02
fixed LineChartRenderer to get correct x values when using cubicFill
2016-08-17 19:44:48 +02:00
Daniel Cohen Gindi
5daa6dc23c
Fill before stroke - because the fill may cover half of a thick stroke
2016-08-15 15:59:33 +03:00
Daniel Cohen Gindi
73148a6aa4
Simplified some code
2016-08-15 15:50:08 +03:00
Daniel Cohen Gindi
e556275e29
range may also be Infinite when xMin/xMax are MAX
2016-08-15 15:23:44 +03:00
Daniel Cohen Gindi
6c17ca45de
Take care of edge cases when calculating intervals (labelCount == 0)
2016-08-15 15:21:33 +03:00
Philipp Jahoda
1bbf4be1ee
Fixes and finishing up of autoScaleMinMax feature
2016-08-14 22:22:48 +02:00
Philipp Jahoda
336dfb93e5
Fix autoScaleMinMax
2016-08-14 21:48:05 +02:00
Philipp Jahoda
66ea845e14
Merge branch 'master' of https://github.com/PhilJay/MPAndroidChart
2016-08-14 21:25:52 +02:00
Philipp Jahoda
62bc0de28a
Cleanup, preparations for autoScaleMinMax fix
2016-08-14 21:25:41 +02:00
Daniel Cohen Gindi
dab8db488f
neededWidth should be enough here. formSize has no meaning globally.
...
If more offset is needed - use extraOffsets, or adjust the maxSizePercent).
2016-08-14 16:53:20 +03:00
Daniel Cohen Gindi
38cdf1b206
Set those sizes to dps, convert internally.
...
Until now it was set-dps, get-pixels.
2016-08-14 16:53:20 +03:00
Daniel Cohen Gindi
7a10c05e3a
Added feature for dashing legend line forms ( Closes #1843 )
2016-08-14 16:53:20 +03:00
Daniel Cohen Gindi
ea6b0e8e1c
Simplified legend entries configuration. Option to style dataset form...
2016-08-14 16:53:20 +03:00
Daniel Cohen Gindi
7747c34552
Add half line width to clipping rect of grid/limit lines ( Closes #2081 )
...
https://github.com/danielgindi/Charts/issues/1204
2016-08-14 11:07:26 +03:00
Philipp Jahoda
12d5b858f2
Merge
2016-08-14 09:54:32 +02:00
Philipp Jahoda
092e8a80f7
Changes related to #2119
2016-08-14 09:51:47 +02:00
Daniel Cohen Gindi
be12f155ba
We need an "equals or less" here
2016-08-14 10:10:53 +03:00
Daniel Cohen Gindi
bab5b9dd6c
Refined scaleXEnabled/scaleYEnabled conditioning
2016-08-14 09:37:45 +03:00
Daniel Cohen Gindi
3c8bf8cb94
Use an actual Epsilon here
2016-08-14 08:54:20 +03:00
Philipp Jahoda
d342760357
Fix issue #2102
2016-08-13 15:38:40 +02:00
Philipp Jahoda
d912964dd3
Cleanup
2016-08-13 15:27:40 +02:00
Philipp Jahoda
7462c083f9
Fix #2119
2016-08-12 21:02:25 +02:00
Philipp Jahoda
0f04e9c6f5
Documentation update
2016-08-12 20:55:59 +02:00
Philipp Jahoda
5a4a6d4065
Fix crash related to circle size ( #2115 )
2016-08-12 20:50:57 +02:00
Philipp Jahoda
f0e1deb763
Update image
2016-08-11 18:28:34 +02:00
Philipp Jahoda
077365c9af
Add barchart wiki image
2016-08-11 18:25:29 +02:00
Philipp Jahoda
e158ef15e2
Renaming of setAxisMinValue etc to setAxisMinimum for consistency
2016-08-11 12:46:52 +02:00
Daniel Cohen Gindi
788539001f
Choose a default that matches the default v2 behavior
...
To avoid hurting existing stylings drastically
2016-08-10 22:43:54 +03:00
Daniel Cohen Gindi
31b0fd9ff9
Updated Realm sample
2016-08-10 00:24:41 +03:00
Daniel Cohen Gindi
30cb069974
Brought back the Realm demos, were removed by mistake
2016-08-10 00:15:34 +03:00
Daniel Cohen Gindi
86d05e989a
Corrected formula for 29-feb :-)
2016-08-09 20:46:04 +03:00
Daniel Cohen Gindi
71ac434a2d
Pie's x is deprecated - log it out, and avoid in calcMinMax
2016-08-09 16:17:19 +03:00
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