Minor fixes
This commit is contained in:
parent
3fa3726f3a
commit
2dee57a0dc
7 changed files with 15 additions and 4 deletions
|
@ -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=
|
|
@ -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=..
|
|
@ -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
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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=..
|
|
@ -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
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue