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); ?> Link to comment https://forums.phpfreaks.com/topic/61792-plot/ 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 Link to comment https://forums.phpfreaks.com/topic/61792-plot/#findComment-307791 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.