MX Dynamic Charts Forum :: Remove black lines

This thread was displayed: 456 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
Adel MHARI
09-21-2006 15:49:52 GMT +2

Hi all !

Is there a way to remove the black lines rounding the charts ?

Regards

Adel MHARI

Back | Reply | Quote | Top
Razvan Racasanu[InterAKT]Adobe Systems Romania staff
09-27-2006 18:00:00 GMT +2

Hello,

If you do not want the bars to have a black border, you will have to edit the file /includes/MXCharts/mx_charts.inc.php and comment out the line:

imagerectangle($image, $x, $y1, $x2, $y2, $black_color);

inside the drawBars function.

Regards,
Razvan RACASANU

Reply | Quote | Top
Adel MHARI
09-27-2006 18:51:09 GMT +2

Hi Razvan !

Sorry I wasn't enough accurate in my request, I would like to remove the black rectangle around the whole charts and not around bars or pies.

See screenshot

Thanks for your help

Best Regards

Adel

Reply | Quote | Top
Alban JubertTeam InterAKT member
09-27-2006 19:22:43 GMT +2

Hi,

On line 474 of /includes/MXCharts/mx_charts.inc.php, change to:

return '<img src="'.$this->getRelativePath().$this->getFolder().$this->getFileName().'" alt="'.$this->getChartTitle().'" border="0" width="'.$this->getWidth().'" height="'.$this->getHeight().'">';

Regards.

Alban.

Reply | Quote | Top
Adel MHARI
09-27-2006 19:47:27 GMT +2

Hi Alban !

Thank a lot

Merci beaucoup

A bientôt

Adel

Reply | Quote | Top
MX Dynamic Charts 1.1.0
© Adobe Systems Romania. All rights reserved.