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
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ public final class QuickChart {
* @param yData A Collection containing Y-Axis data
* @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
Chart chart = new Chart(WIDTH, HEIGHT);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment