I am using a JFreeChart from this link http://www.java2s.com/Code/Java/Chart/JFreeChartCategoryStepChartDemo.htm
the format of the datasetUtilities.createCategoryDataset is (new String[]{..,..,},new String[]{..,..,},data).Is there any way that i can pass an already filled arrays for countries and years?
public Chart(String tablenm,final double[][] data,String[] countries,String[] years) {
super();
final CategoryDataset dataset = DatasetUtilities.createCategoryDataset(
countries,years, data
);