On Wed, 11 Mar 2009, Raul Mateos wrote: > 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
At the moment that's not there, but it would be good to have something like this. Are you intersted in developing something here? I doubt it would be a lot of work. regards, -- Derick Rethans eZ components Product Manager eZ systems | http://ez.no -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components