Android Open Source - temp-tracker Graph View Data






From Project

Back to project page temp-tracker.

License

The source code is released under:

GNU General Public License

If you think the Android project temp-tracker listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.prashant.temptracker;
/*w  ww.  j  a  va  2  s .c  o m*/
import com.jjoe64.graphview.GraphViewDataInterface;


public class GraphViewData implements GraphViewDataInterface {
    private long x;
    private int y;

    public GraphViewData(long x, int y) {
        this.x = x;
        this.y = y;
    }

    @Override
    public double getX() {
        return this.x;
    }

    @Override
    public double getY() {
        return this.y;
    }
}




Java Source Code List

com.prashant.temptracker.DataActivity.java
com.prashant.temptracker.GraphViewData.java
com.prashant.temptracker.MainActivity.java