codice:// Row Keys: queste è meglio se le tiri fuori da un file, // oppure da una qualche struttura dati String[] series = {"First", "Second", "Third"}; // column keys - stessa raccomandazione String[] type = new String[8]; for (int i = 0; i < type.length; i++) { type[i] = "Type "+(i+1); } for (int i = 0; i < series.length; i++) { for (int j = 0; j < type.length; j++) { dataset.addValue((j+1), series[i], type[j]); } }