Ossia, tu vorresti in asse x la dimensione dell'array da ordinare e in asse y il tempo d'ordinamento e staresti utlizzando questa:
http://www.ilpiola.it/roberto/jchart/index.asp
Se fosse così, mi pare di capire che ti serve il costruttore che prende come primo argomento il percorso, l'URL o l'InputStream dei tuoi file.
specificando il giusto numero di colonne, ossia 2? O sbaglio?In addition to that, some other useful constructors are provided:
JChart(String filename,
int ncolumns,
String title,
...
)
that parses a file, expecting to find ncolumns columns of data in it (see the format of the input file, a bit later).
JChart(URL url,
int ncolumns,
String title,
...
)
the same, but on the network... the URL can open a remote file on a web server or can start with a GET method a cgi-bin that retrieves and pumps the data.
JChart(InputStream is,
int ncolumns,
String title,
...
)

Rispondi quotando