PHP Classes

Different Colors for Boxes

Recommend this page to a friend!

      PHP Tree Graph Ext  >  All threads  >  Different Colors for Boxes  >  (Un) Subscribe thread alerts  
Subject:Different Colors for Boxes
Summary:Different Colors for Boxes
Author:Svetlin Simeonov
Date:2011-04-22 15:15:07
Update:2012-02-09 07:53:25

  1. Different Colors for Boxes   Reply   Report abuse  
Picture of Svetlin Simeonov Svetlin Simeonov - 2011-04-22 15:15:12
Hi , very good class , and with the latest fixes now it works great. I am using this to draw picture of our small network.

Right now I am missing only 1 thing - different colors for every single box. Is it possible to have color option in Add function here:

$objTree = new GDRenderer(30, 20, 30, 50, 40);

while($r=mysql_fetch_row($do)) {


I tried to make it myself , but this is not so easy if you don't know the class well.

  2. Re: Different Colors for Boxes   Reply   Report abuse  
Picture of santosh santosh - 2012-02-09 07:51:27 - In reply to message 1 from Svetlin Simeonov
if you are do this then show me and help me

i am trying to much but i have no get success.

and where we put this code given by you

what is $do ??