Here's my code -
This is the error im gettin -
BarExample.java:21: reference to setValue is ambiguous, both method setValue(jav
a.lang.Number,java.lang.Comparable,java.lang.Comparable) in org.jfree.data.categ
ory.DefaultCategoryDataset and method setValue(double,java.lang.Comparable,
java.
lang.Comparable) in org.jfree.data.category.DefaultCategoryDataset match
dataset.setValue(rs.getInt(1), "Profit %", rs.getInt(2));
^
1 error
I don't understand. What's the deal here??