my plan so far is to create some sort of custom data filter plugin: similar to something like this…
add_filter( 'mycustom_data_filter', 'myplugin_filter_chart_data', 10, 3 );
function myplugin_filter_chart_data( $data, $chart_id, $type ) {
$file = fopen($pathname, 'r');
$headers = fgetcsv($file, 0, '^', '¬');
while ($data= fgetcsv($file, 0, '^', '¬')) {
$data= array_combine($headers, $data);
}
return $data;
}
but who the hell knows if it will work…
Im trying to do this as well
@compixvd have you found a solution?