// Path: src/com/ezio/multiwii/graph/GraphViewSeries.java
// static public class GraphViewSeriesStyle {
// 	public int color = 0xff0077cc;
// 	public int thickness = 3;
// 	private ValueDependentColor valueDependentColor;
// 
// 	public GraphViewSeriesStyle() {
// 		super();
// 	}
// 
// 	public GraphViewSeriesStyle(int color, int thickness) {
// 		super();
// 		this.color = color;
// 		this.thickness = thickness;
// 	}
// 
// 	public void setValueDependentColor(ValueDependentColor valueDependentColor) {
// 		this.valueDependentColor = valueDependentColor;
// 	}
// 
// 	public ValueDependentColor getValueDependentColor() {
// 		return valueDependentColor;
// 	}
// }


import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import com.ezio.multiwii.graph.GraphViewSeries.GraphViewSeriesStyle;
package com.ezio.multiwii.graph;



/**
 * Line Graph View. This draws a line chart.
 * @author jjoe64 - jonas gehring - http://www.jjoe64.com
 *
 * Copyright (C) 2011 Jonas Gehring
 * Licensed under the GNU Lesser General Public License (LGPL)
 * http://www.gnu.org/licenses/lgpl.html
 */
public class LineGraphView extends GraphView {
	private final Paint paintBackground;
	private boolean drawBackground;

	public LineGraphView(Context context, String title) {
		super(context, title);

		paintBackground = new Paint();
		paintBackground.setARGB(255, 20, 40, 60);
		paintBackground.setStrokeWidth(4);
	}

	@Override
// Path: src/com/ezio/multiwii/graph/GraphViewSeries.java
// static public class GraphViewSeriesStyle {
// 	public int color = 0xff0077cc;
// 	public int thickness = 3;
// 	private ValueDependentColor valueDependentColor;
// 
// 	public GraphViewSeriesStyle() {
// 		super();
// 	}
// 
// 	public GraphViewSeriesStyle(int color, int thickness) {
// 		super();
// 		this.color = color;
// 		this.thickness = thickness;
// 	}
// 
// 	public void setValueDependentColor(ValueDependentColor valueDependentColor) {
// 		this.valueDependentColor = valueDependentColor;
// 	}
// 
// 	public ValueDependentColor getValueDependentColor() {
// 		return valueDependentColor;
// 	}
// }


// Path: src/com/ezio/multiwii/graph/LineGraphView.java
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import com.ezio.multiwii.graph.GraphViewSeries.GraphViewSeriesStyle;

package com.ezio.multiwii.graph;



/**
 * Line Graph View. This draws a line chart.
 * @author jjoe64 - jonas gehring - http://www.jjoe64.com
 *
 * Copyright (C) 2011 Jonas Gehring
 * Licensed under the GNU Lesser General Public License (LGPL)
 * http://www.gnu.org/licenses/lgpl.html
 */
public class LineGraphView extends GraphView {
	private final Paint paintBackground;
	private boolean drawBackground;

	public LineGraphView(Context context, String title) {
		super(context, title);

		paintBackground = new Paint();
		paintBackground.setARGB(255, 20, 40, 60);
		paintBackground.setStrokeWidth(4);
	}

	@Override
	public void drawSeries(Canvas canvas, GraphViewData[] values, float graphwidth, float graphheight, float border, double minX, double minY, double diffX, double diffY, float horstart, GraphViewSeriesStyle style) {