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.stackedbarchart; // ww w .j a v a2 s . c om import java.util.ArrayList; import org.simpleframework.xml.*; import de.hrf.workforcemanagement.models.*; @Root(name = "stackedbar_chart") public class StackedbarChart extends ChartType { @Element(name = "x_axis") private StandardChartXAxis xAxis; @Element(name = "y_axis") private StandardChartYAxis yAxis; @ElementList(name = "data") private ArrayList<Bar> stackedbarData; public StackedbarChart() { } public StackedbarChart(ArrayList<Property> properties, StandardChartXAxis xAxis, StandardChartYAxis yAxis, ArrayList<Bar> stackedbarData) { super(properties); this.xAxis = xAxis; this.yAxis = yAxis; this.stackedbarData = stackedbarData; } /** * @return the x-axis of the chart */ public StandardChartXAxis getXAxis() { return xAxis; } /** * @param xAxis * the x-axis of the chart */ public void setxXAxis(StandardChartXAxis xAxis) { this.xAxis = xAxis; } /** * @return the y-axis of the chart */ public StandardChartYAxis getYAxis() { return yAxis; } /** * @param yaxis * the y-axis of the chart */ public void setYAxis(StandardChartYAxis yAxis) { this.yAxis = yAxis; } /** * @return the stackedbar data of the chart */ public ArrayList<Bar> getStackedbarData() { return stackedbarData; } /** * @param stackedbarDataList * the stackedbar data list of the chart */ public void setStackedbarDataList(ArrayList<Bar> stackedbarData) { this.stackedbarData = stackedbarData; } @Override public String toString() { return "StackedbarChart: (data= " + this.getStackedbarData() + ", xAxis= " + this.getXAxis() + ", yAxis= " + this.getYAxis() + ")"; } }