Hello!

I was wondering is there is way to import some data, as an .csv value,
instead of using arrayDataSet

That is, change:

 $graph->data['data'] = new ezcGraphArrayDataSet( array(
 'Unix' => 346,
 'VMS' => 8,
 'Linux' => 374,
 'Windows' => 34,
 ) );

to something like:

 $graph->data['data'] = new ezc_importGraphArrayDataSet( 'file.csv');

And this file.csv contains:
Unix,346
VMS,8
.... and so on

Thanks in advance..
-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to