Skip to content
Snippets Groups Projects
Commit d49e05ee authored by Tim Molter's avatar Tim Molter
Browse files

fix for issue #120 Unable to use QuickChart.getChart with the List<Numbers> parameters

parent 5e5b0a24
Branches
No related tags found
No related merge requests found
...@@ -105,7 +105,7 @@ public final class QuickChart { ...@@ -105,7 +105,7 @@ public final class QuickChart {
* @param yData A Collection containing Y-Axis data * @param yData A Collection containing Y-Axis data
* @return a Chart Object * @return a Chart Object
*/ */
public static Chart getChart(String chartTitle, String xTitle, String yTitle, String seriesName, List<Number> xData, List<Number> yData) { public static Chart getChart(String chartTitle, String xTitle, String yTitle, String seriesName, List<? extends Number> xData, List<? extends Number> yData) {
// Create Chart // Create Chart
Chart chart = new Chart(WIDTH, HEIGHT); Chart chart = new Chart(WIDTH, HEIGHT);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment