sandy1028 Posted July 26, 2007 Share Posted July 26, 2007 Hi, How to plot the values 0 50 and 100 on top of the rectangle and fill the color till the marking 50 in different color <?php $image = imagecreate( 30, 15 ); $text_color = ImageColorAllocate ($image, 233, 14, 91); imageline ($image,$x1,$y1,$x2,$y2,$text_color); imagepng($image); imagedestroy($image); ?> Quote Link to comment Share on other sites More sharing options...
sandy1028 Posted July 26, 2007 Author Share Posted July 26, 2007 Hi, How to mark the values on top of the rectangle using imagestring. If i use imagestring it is not getting printed above the rectangle Please guide me with this Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.