Back to project page HzGrapher.
The source code is released under:
Apache License
If you think the Android project HzGrapher listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.handstudio.android.hzgrapherlib.vo.linegraph; // ww w. j a v a2 s . c o m import android.graphics.Color; public class LineGraph { private String name = null; private int color = Color.BLUE; private float[] coordinateArr = null; private int bitmapResource = -1; public LineGraph(String name, int color, float[] coordinateArr) { this.name = name; this.color = color; this.setCoordinateArr(coordinateArr); } public LineGraph(String name, int color, float[] coordinateArr, int bitmapResource) { this.name = name; this.color = color; this.setCoordinateArr(coordinateArr); this.bitmapResource = bitmapResource; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getColor() { return color; } public void setColor(int color) { this.color = color; } public float[] getCoordinateArr() { return coordinateArr; } public void setCoordinateArr(float[] coordinateArr) { this.coordinateArr = coordinateArr; } public int getBitmapResource() { return bitmapResource; } public void setBitmapResource(int bitmapResource) { this.bitmapResource = bitmapResource; } }