Android Open Source - HRForecast-WFM Bubble Chart






From Project

Back to project page HRForecast-WFM.

License

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.

Java Source Code

package de.hrf.workforcemanagement.models.bubblechart;
//from   w  w  w  .  ja va  2  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.ChartType;
import de.hrf.workforcemanagement.models.Property;
import de.hrf.workforcemanagement.models.SpecialChartXAxis;

@Root(name = "bubble_chart")
public class BubbleChart extends ChartType {
  @Element(name = "x_axis")
  private SpecialChartXAxis bubbleXAxis;

  @Element(name = "y_axis")
  private BubbleYAxis bubbleYaxis;

  @ElementList(name = "data")
  private ArrayList<BubbleData> bubbleData;

  public BubbleChart() {
    super();
  }

  public BubbleChart(ArrayList<Property> properties, SpecialChartXAxis bubbleXAxis,
      BubbleYAxis bubbleYaxis, ArrayList<BubbleData> bubbleData) {
    super(properties);
    this.bubbleXAxis = bubbleXAxis;
    this.bubbleYaxis = bubbleYaxis;
    this.bubbleData = bubbleData;
  }

  public SpecialChartXAxis getBubbleXAxis() {
    return bubbleXAxis;
  }

  public void setBubbleXAxis(SpecialChartXAxis bubbleXAxis) {
    this.bubbleXAxis = bubbleXAxis;
  }

  public BubbleYAxis getBubbleYaxis() {
    return bubbleYaxis;
  }

  public void setBubbleYaxis(BubbleYAxis bubbleYaxis) {
    this.bubbleYaxis = bubbleYaxis;
  }

  public ArrayList<BubbleData> getBubbleData() {
    return bubbleData;
  }

  public void setBubbleData(ArrayList<BubbleData> bubbleData) {
    this.bubbleData = bubbleData;
  }

  @Override
  public String toString() {
    return "BubbleChart: (data= " + this.bubbleData + ", Xaxis= "
        + this.getBubbleXAxis() + ", Yaxis= " + this.getBubbleYaxis()
        + ")";
  }

}




Java Source Code List

de.hrf.workforcemanagement.AnalysisMainActivity.java
de.hrf.workforcemanagement.BarChartFragment.java
de.hrf.workforcemanagement.BubbleChartFragment.java
de.hrf.workforcemanagement.CustomAdapter.java
de.hrf.workforcemanagement.CustomOnItemSelectedListener.java
de.hrf.workforcemanagement.HorizontalBarChartFragment.java
de.hrf.workforcemanagement.LineBarChartFragment.java
de.hrf.workforcemanagement.LineChartFragment.java
de.hrf.workforcemanagement.MainActivity.java
de.hrf.workforcemanagement.PieChartFragment.java
de.hrf.workforcemanagement.RadarChartFragment.java
de.hrf.workforcemanagement.RowModel.java
de.hrf.workforcemanagement.StackedBarChartFragment.java
de.hrf.workforcemanagement.adapter.MetadataListAdapter.java
de.hrf.workforcemanagement.dialog.BaseDialog.java
de.hrf.workforcemanagement.dialog.MetadataListDialog.java
de.hrf.workforcemanagement.listener.ChartValueSelectedListener.java
de.hrf.workforcemanagement.models.Bar.java
de.hrf.workforcemanagement.models.ChartType.java
de.hrf.workforcemanagement.models.Chart.java
de.hrf.workforcemanagement.models.Color.java
de.hrf.workforcemanagement.models.CoreFilter.java
de.hrf.workforcemanagement.models.Dimension.java
de.hrf.workforcemanagement.models.Filter.java
de.hrf.workforcemanagement.models.MetadataList.java
de.hrf.workforcemanagement.models.Metadata.java
de.hrf.workforcemanagement.models.Property.java
de.hrf.workforcemanagement.models.SpecialChartXAxis.java
de.hrf.workforcemanagement.models.SpecialChartYAxis.java
de.hrf.workforcemanagement.models.StandardChartAxis.java
de.hrf.workforcemanagement.models.StandardChartXAxis.java
de.hrf.workforcemanagement.models.StandardChartYAxis.java
de.hrf.workforcemanagement.models.TestSerializer.java
de.hrf.workforcemanagement.models.barchart.BarChart.java
de.hrf.workforcemanagement.models.bubblechart.BubbleChart.java
de.hrf.workforcemanagement.models.bubblechart.BubbleData.java
de.hrf.workforcemanagement.models.bubblechart.BubbleYAxis.java
de.hrf.workforcemanagement.models.linechart.LineChart.java
de.hrf.workforcemanagement.models.linechart.LinePoint.java
de.hrf.workforcemanagement.models.piechart.PieChart.java
de.hrf.workforcemanagement.models.piechart.PieLabel.java
de.hrf.workforcemanagement.models.piechart.PieRegion.java
de.hrf.workforcemanagement.models.radarchart.RadarChart.java
de.hrf.workforcemanagement.models.radarchart.RadarRegion.java
de.hrf.workforcemanagement.models.radarchart.RadarYAxis.java
de.hrf.workforcemanagement.models.stackedbarchart.StackedbarChart.java
de.hrf.workforcemanagement.parser.ChartParser.java