Back to project page HRForecast-WFM.
The source code is released under:
Copyright 2014 Ahmed Shafei
If you think the Android project HRForecast-WFM 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 de.hrf.workforcemanagement.models.linechart; /*www. ja v a2 s .c o m*/ import java.util.ArrayList; import org.simpleframework.xml.Element; import org.simpleframework.xml.ElementList; import org.simpleframework.xml.Root; import de.hrf.workforcemanagement.models.*; @Root(name = "line_chart") public class LineChart extends ChartType { @Element(name = "x_axis") private StandardChartXAxis lineXAxis; @Element(name = "y_axis") private StandardChartYAxis lineYaxis; @ElementList(name = "data") private ArrayList<LinePoint> lineData; public LineChart() { super(); } public LineChart(ArrayList<Property> properties, StandardChartXAxis lineXAxis, StandardChartYAxis lineYaxis, ArrayList<LinePoint> lineData) { super(properties); this.lineXAxis = lineXAxis; this.lineYaxis = lineYaxis; this.lineData = lineData; } public StandardChartXAxis getLineXAxis() { return lineXAxis; } public void setLineXAxis(StandardChartXAxis lineXAxis) { this.lineXAxis = lineXAxis; } public StandardChartYAxis getLineYaxis() { return lineYaxis; } public void setLineYaxis(StandardChartYAxis lineYaxis) { this.lineYaxis = lineYaxis; } public ArrayList<LinePoint> getLineData() { return lineData; } public void setLineData(ArrayList<LinePoint> lineData) { this.lineData = lineData; } @Override public String toString() { return "LineChart: (data= " + this.getLineData() + ", Xaxis= " + this.getLineXAxis() + ", Yaxis= " + this.getLineYaxis() + ")"; } }