DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 31st March 2009
cksraj cksraj is offline
Real Name: Crew Kasy Raj
Port Guard
 
Join Date: Mar 2009
Posts: 12
Thanked 0 Times in 0 Posts
Talking Horizontal bars using PHP LOT

Hi all

I want to draw a Horizontal bars using PHP LOT, that is it should have only x-axis. It should not have y-axis. Basically I have three values, min,max and avg. It should display 3 bars, corresponding to the value.

------------- min
---------------- avg
------------------------max

Help please !!!

Last edited by cksraj; 31st March 2009 at 10:07 AM.
Reply With Quote
  #2   (View Single Post)  
Old 1st April 2009
cksraj cksraj is offline
Real Name: Crew Kasy Raj
Port Guard
 
Join Date: Mar 2009
Posts: 12
Thanked 0 Times in 0 Posts
Default

It is working...

<img src="/images/min_bar.gif" width=<?= ($min_value*$pxValue)?> height="10" />

Thanks
Reply With Quote
  #3   (View Single Post)  
Old 1st April 2009
cksraj cksraj is offline
Real Name: Crew Kasy Raj
Port Guard
 
Join Date: Mar 2009
Posts: 12
Thanked 0 Times in 0 Posts
Thumbs up Thanks

Quote:
Originally Posted by cksraj View Post
It is working...

<img src="/images/min_bar.gif" width=<?= ($min_value*$pxValue)?> height="10" />

Thanks
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:17 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick