My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Older

  • Oct 20, 2009
    issue 4 (using hte class file emits output - will screw up page outpu...) reported by timster88   -   What steps will reproduce the problem? 1. any processing that hits function normalDataMode() will echo a '<br/>' if you were to do some work with the class file before sending any page output, then the class file will echo '<br>' and this can potentially mess up any buffering or header modifications that the user may want to do after. the location of the echo is around line 390 in googleChart.php file. it is located inside the 'normalDataMode' function. i think it was put there for debug purposes, but if it serves any relevant function, it should be refactored to not echo until after the draw()
    What steps will reproduce the problem? 1. any processing that hits function normalDataMode() will echo a '<br/>' if you were to do some work with the class file before sending any page output, then the class file will echo '<br>' and this can potentially mess up any buffering or header modifications that the user may want to do after. the location of the echo is around line 390 in googleChart.php file. it is located inside the 'normalDataMode' function. i think it was put there for debug purposes, but if it serves any relevant function, it should be refactored to not echo until after the draw()
  • Oct 18, 2009
    Documentation Wiki page commented on by ivan.leviy   -   Hi, i have found a bug, when I want to specify labels for both left and right side. {{{ $CarsSats = array( "5" => "june", "8" => "july", "12" => "august", "10" => "september", ); $moo= new googleChart(array_keys($CarsSats)); $moo->setLabelsMinMax(10,'left'); // call before other funcs that make labels $moo->setLabelsMinMax(10,'right'); // call before other funcs that make labels $moo->setLabels(array_values($CarsSats),'bottom'); $moo->dimensions='300x125'; $moo->showGrid=1; $moo->draw(); }}}
    Hi, i have found a bug, when I want to specify labels for both left and right side. {{{ $CarsSats = array( "5" => "june", "8" => "july", "12" => "august", "10" => "september", ); $moo= new googleChart(array_keys($CarsSats)); $moo->setLabelsMinMax(10,'left'); // call before other funcs that make labels $moo->setLabelsMinMax(10,'right'); // call before other funcs that make labels $moo->setLabels(array_values($CarsSats),'bottom'); $moo->dimensions='300x125'; $moo->showGrid=1; $moo->draw(); }}}
 
Hosted by Google Code