I'm still not entirely sure what it is you want. You need to make sure all your parameters get passed into the methods that need them if you want your methods to perform tasks on that data. A better...
Type: Posts; User: helloworld922
I'm still not entirely sure what it is you want. You need to make sure all your parameters get passed into the methods that need them if you want your methods to perform tasks on that data. A better...
So you want to be able to take in 5 values and create a bar chart?
Pass them as a parameter to the generateBarChart method.
public static JFreeChart generateBarChart(int[] data) {
...
Please see this post: Common Java Mistakes: Referencing Non-static variables/methods in a static way
edit: nvm, didn't read through your post thouroughly. Could you post your code so we can see...