This topic is locked
[SOLVED]

 Chart Legend no showing

5/7/2010 11:04:35 AM
PHPRunner General questions
lewisgr author

I made a chart and the legend doesn't show the what the different colors mean. Any idea where I might have went wrong?

Sergey Kornilov admin 5/7/2010

Hard to tell what might be wrong without seeing your application. Post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.

lewisgr author 5/12/2010



I made a chart and the legend doesn't show the what the different colors mean. Any idea where I might have went wrong?


Here is what they found out:
thank you for pointing me to this bug.

We'll fix it in the next update.
To fix this issue open PHPRunner5.2/source/classes/charts.php file, find this line:

-----------------------------------

$this->arrDataLabels[]=$this->chart_xmlencode($this->chrt_array['parameters'][$i]['label']);

-----------------------------------

and replace it with this one:

-----------------------------------

$this->arrDataLabels[]=$this->chart_xmlencode($this->chrt_array['parameters'][$i]['name']);

-----------------------------------
Then open and rebuild project.