Bug: Empty values in CSV files not parsed correctly
Hi!
When using "importFromCSV", empty values are not parsed correctly.
CSV-Example:
1;4;;;8;4;7;6
Value with index 2 and 3 are not displayed as "missing values" but as 0 (zero)! This makes a graph a litte "jumpy".I already fixed the code for me:
File "class/pData.class", line 437 new code:
foreach($Values as $Key => $Value) { if ( !in_array($Key,$SkipColumns) ) {
if ($Value=="") $this->addPoints(VOID,$SerieNames[$Key]); else $this->addPoints($Value,$SerieNames[$Key]); } }
Would be nice to add it to the standard distribution
Bye, Nobser