Minor fixes

This commit is contained in:
Philipp Jahoda 2016-01-19 00:00:52 +01:00
parent 3fa3726f3a
commit 2dee57a0dc
7 changed files with 15 additions and 4 deletions

View file

@ -0,0 +1,4 @@
#org.springsource.ide.eclipse.gradle.core.preferences.GradleProjectPreferences
#Mon Jan 18 23:02:46 CET 2016
build.family.org.gradle.tooling.model.eclipse.HierarchicalEclipseProject=;MPChartExample;MPChartLib;
org.springsource.ide.eclipse.gradle.rootprojectloc=

View file

@ -0,0 +1,3 @@
#org.springsource.ide.eclipse.gradle.core.preferences.GradleProjectPreferences
#Mon Jan 18 23:02:46 CET 2016
org.springsource.ide.eclipse.gradle.rootprojectloc=..

View file

@ -11,5 +11,5 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-22
target=android-23
android.library.reference.1=../MPChartLib

View file

@ -46,7 +46,7 @@ public class RealmDemoData extends RealmObject {
public RealmDemoData(float[] stackValues, int xIndex, String xValue) {
this.xIndex = xIndex;
this.xValue = xValue;
this.stackValues = new RealmList<>();
this.stackValues = new RealmList<RealmFloat>();
for (float val : stackValues) {
this.stackValues.add(new RealmFloat(val));

View file

@ -0,0 +1,4 @@
#org.springsource.ide.eclipse.gradle.core.preferences.GradleProjectPreferences
#Mon Jan 18 23:02:46 CET 2016
org.springsource.ide.eclipse.gradle.linkedresources=
org.springsource.ide.eclipse.gradle.rootprojectloc=..

View file

@ -11,5 +11,5 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-22
target=android-23
android.library=true

View file

@ -75,7 +75,7 @@ public abstract class BaseDataSet<T extends Entry> implements IDataSet<T> {
* Default constructor.
*/
public BaseDataSet() {
mColors = new ArrayList<>();
mColors = new ArrayList<Integer>();
// default color
mColors.add(Color.rgb(140, 234, 255));