Forum


Replies: 4   Views: 3525
Solved: hgrid and vgrid if set to 0 doesn't work on line graph
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by bdm  · 29-06-2015 - 03:27

SOLVED... For all users who encountered this error I solved it by changing line 199 of CreateLineChart.inc FROM....... switch ($this->_hgrid) { case 2: $this->generateMINORGRIDLINES(); break; case 3: $this->generateMAJORGRIDLINES(); $this->generateMINORGRIDLINES(); break; case 1: default: $this->generateMAJORGRIDLINES(); break; } INTO THIS...... switch ($this->_hgrid) { case 1: $this->generateMAJORGRIDLINES(); break; case 2: $this->generateMINORGRIDLINES(); break; case 3: $this->generateMAJORGRIDLINES(); $this->generateMINORGRIDLINES(); break; default: break; } DO THE SAME THING WITH vgrid......AND YOU'RE GOOD. HAVE A NICE DAY