This repository has been archived by the owner on Feb 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added BubbleChart support. - Added ColumnRangeChart support. - Added ErrorBarChart support. - Added FunnelChart support. - Added exporting.js - Added funnel.js
- Loading branch information
Showing
26 changed files
with
1,396 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...ain/java/at/downdrown/vaadinaddons/highchartsapi/model/data/AreaSplineRangeChartData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package at.downdrown.vaadinaddons.highchartsapi.model.data; | ||
|
||
import at.downdrown.vaadinaddons.highchartsapi.model.data.base.RangeData; | ||
|
||
/** | ||
* Projekt: VaadinHighChartsAPI<br> | ||
* Package: at.downdrown.vaadinaddons.highchartsapi.model.data<br> | ||
* Klasse: AreaRangeChartData.class<br> | ||
* Erstellt am 21. August 2015.<br> | ||
* Copyright © HSWE Allg. Applikationen.<br> | ||
* <br> | ||
* | ||
* @author Manfred Huber (02ub0j08)<br> | ||
*/ | ||
public class AreaSplineRangeChartData extends RangeData { | ||
|
||
public AreaSplineRangeChartData(double x, double low, double high) { | ||
super(x, low, high); | ||
} | ||
|
||
} |
100 changes: 100 additions & 0 deletions
100
src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/data/BoxPlotChartData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
package at.downdrown.vaadinaddons.highchartsapi.model.data; | ||
|
||
/** | ||
* Projekt: VaadinHighChartsAPI<br> | ||
* Package: at.downdrown.vaadinaddons.highchartsapi.model.data<br> | ||
* Klasse: BoxPlotChartData.class<br> | ||
* Erstellt am 24. August 2015.<br> | ||
* Copyright © HSWE Allg. Applikationen.<br> | ||
* <br> | ||
* | ||
* @author Manfred Huber (02ub0j08)<br> | ||
*/ | ||
public class BoxPlotChartData implements HighChartsData { | ||
|
||
private String name = null; | ||
private double minimum; | ||
private double lowerQuartile; | ||
private double median; | ||
private double upperQuartile; | ||
private double maximum; | ||
|
||
public BoxPlotChartData(String name, double minimum, double lowerQuartile, double median, double upperQuartile, double maximum) { | ||
this.name = name; | ||
this.minimum = minimum; | ||
this.lowerQuartile = lowerQuartile; | ||
this.median = median; | ||
this.upperQuartile = upperQuartile; | ||
this.maximum = maximum; | ||
} | ||
|
||
public BoxPlotChartData(double minimum, double lowerQuartile, double median, double upperQuartile, double maximum) { | ||
this.minimum = minimum; | ||
this.lowerQuartile = lowerQuartile; | ||
this.median = median; | ||
this.upperQuartile = upperQuartile; | ||
this.maximum = maximum; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public double getMinimum() { | ||
return minimum; | ||
} | ||
|
||
public void setMinimum(double minimum) { | ||
this.minimum = minimum; | ||
} | ||
|
||
public double getLowerQuartile() { | ||
return lowerQuartile; | ||
} | ||
|
||
public void setLowerQuartile(double lowerQuartile) { | ||
this.lowerQuartile = lowerQuartile; | ||
} | ||
|
||
public double getMedian() { | ||
return median; | ||
} | ||
|
||
public void setMedian(double median) { | ||
this.median = median; | ||
} | ||
|
||
public double getUpperQuartile() { | ||
return upperQuartile; | ||
} | ||
|
||
public void setUpperQuartile(double upperQuartile) { | ||
this.upperQuartile = upperQuartile; | ||
} | ||
|
||
public double getMaximum() { | ||
return maximum; | ||
} | ||
|
||
public void setMaximum(double maximum) { | ||
this.maximum = maximum; | ||
} | ||
|
||
@Override | ||
public String getHighChartValue() { | ||
if (name != null) { | ||
return "['" + name + "', " + minimum + ", " + lowerQuartile + ", " + median + ", " + upperQuartile + ", " + maximum + "]"; | ||
} else { | ||
return "[" + minimum + ", " + lowerQuartile + ", " + median + ", " + upperQuartile + ", " + maximum + "]"; | ||
} | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return this.getHighChartValue(); | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/data/BubbleChartData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
package at.downdrown.vaadinaddons.highchartsapi.model.data; | ||
|
||
/** | ||
* Projekt: VaadinHighChartsAPI<br> | ||
* Package: at.downdrown.vaadinaddons.highchartsapi.model.data<br> | ||
* Klasse: BubbleChartData.class<br> | ||
* Erstellt am 24. August 2015.<br> | ||
* Copyright © HSWE Allg. Applikationen.<br> | ||
* <br> | ||
* | ||
* @author Manfred Huber (02ub0j08)<br> | ||
*/ | ||
public class BubbleChartData implements HighChartsData { | ||
|
||
private double x; | ||
private double y; | ||
private double z; | ||
|
||
public BubbleChartData(double x, double y, double z) { | ||
this.x = x; | ||
this.y = y; | ||
this.z = z; | ||
} | ||
|
||
public double getX() { | ||
return x; | ||
} | ||
|
||
public void setX(double x) { | ||
this.x = x; | ||
} | ||
|
||
public double getY() { | ||
return y; | ||
} | ||
|
||
public void setY(double y) { | ||
this.y = y; | ||
} | ||
|
||
public double getZ() { | ||
return z; | ||
} | ||
|
||
public void setZ(double z) { | ||
this.z = z; | ||
} | ||
|
||
@Override | ||
public String getHighChartValue() { | ||
return "[" + x + ", " + y + ", " + z + "]"; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return this.getHighChartValue(); | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/data/ColumnRangeChartData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package at.downdrown.vaadinaddons.highchartsapi.model.data; | ||
|
||
import at.downdrown.vaadinaddons.highchartsapi.model.data.base.RangeData; | ||
|
||
/** | ||
* Projekt: VaadinHighChartsAPI<br> | ||
* Package: at.downdrown.vaadinaddons.highchartsapi.model.data<br> | ||
* Klasse: ColumnRangeChartData.class<br> | ||
* Erstellt am 25. August 2015.<br> | ||
* Copyright © HSWE Allg. Applikationen.<br> | ||
* <br> | ||
* | ||
* @author Manfred Huber (02ub0j08)<br> | ||
*/ | ||
public class ColumnRangeChartData extends RangeData { | ||
|
||
public ColumnRangeChartData(double x, double low, double high) { | ||
super(x, low, high); | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/data/base/DoubleData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package at.downdrown.vaadinaddons.highchartsapi.model.data.base; | ||
|
||
/** | ||
* Projekt: VaadinHighChartsAPI<br> | ||
* Package: at.downdrown.vaadinaddons.highchartsapi.model.data.base<br> | ||
* Klasse: DoubleData.class<br> | ||
* Erstellt am 25. August 2015.<br> | ||
* Copyright © HSWE Allg. Applikationen.<br> | ||
* <br> | ||
* | ||
* @author Manfred Huber (02ub0j08)<br> | ||
*/ | ||
public class DoubleData implements HighChartsBaseData { | ||
|
||
private double value; | ||
|
||
public DoubleData(double value) { | ||
this.value = value; | ||
} | ||
|
||
public double getValue() { | ||
return value; | ||
} | ||
|
||
public void setValue(double value) { | ||
this.value = value; | ||
} | ||
|
||
@Override | ||
public String getHighChartValue() { | ||
return String.valueOf(this.value); | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return this.getHighChartValue(); | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/data/base/ErrorBarChartData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package at.downdrown.vaadinaddons.highchartsapi.model.data.base; | ||
|
||
/** | ||
* Projekt: VaadinHighChartsAPI<br> | ||
* Package: at.downdrown.vaadinaddons.highchartsapi.model.data.base<br> | ||
* Klasse: ErrorBarChartData.class<br> | ||
* Erstellt am 25. August 2015.<br> | ||
* Copyright © HSWE Allg. Applikationen.<br> | ||
* <br> | ||
* | ||
* @author Manfred Huber (02ub0j08)<br> | ||
*/ | ||
public class ErrorBarChartData extends RangeData { | ||
|
||
public ErrorBarChartData(double x, double low, double high) { | ||
super(x, low, high); | ||
} | ||
|
||
} |
38 changes: 38 additions & 0 deletions
38
src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/data/base/IntData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package at.downdrown.vaadinaddons.highchartsapi.model.data.base; | ||
|
||
/** | ||
* Projekt: VaadinHighChartsAPI<br> | ||
* Package: at.downdrown.vaadinaddons.highchartsapi.model.data.base<br> | ||
* Klasse: IntData.class<br> | ||
* Erstellt am 25. August 2015.<br> | ||
* Copyright © HSWE Allg. Applikationen.<br> | ||
* <br> | ||
* | ||
* @author Manfred Huber (02ub0j08)<br> | ||
*/ | ||
public class IntData implements HighChartsBaseData { | ||
|
||
private int value; | ||
|
||
public IntData(int value) { | ||
this.value = value; | ||
} | ||
|
||
public int getValue() { | ||
return value; | ||
} | ||
|
||
public void setValue(int value) { | ||
this.value = value; | ||
} | ||
|
||
@Override | ||
public String getHighChartValue() { | ||
return String.valueOf(this.value); | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return this.getHighChartValue(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.