ĿǰÕâÑù
HTML code:
<table border="0" cellpadding="0" cellspacing="0" width="100%" height='280' class='innerbarII'>
<tr><td align='center' valign='bottom'>
<img border=0 src="http://localhost:8084/servlet/com.objectplanet.chart.ChartServlet?chart=line&graphInsets=80,80,50,260&width=640&height=480&sampleValues=12,34,45,56,67,56,67&sampleLabels=one,two,three,four,five,six,seven,eight,nine,ten&sampleLabelsOn=true">
</td></tr>
</table>
µ«ÕâÑùÖ»ÄܻһÌõÕÛÏߣ¬Ôõô²ÅÄÜÔÚÉÏÃæ»¶àÌõÕÛÏߣ¿
ÔÚÏߵȣ¬Ð»Ð»
easy Chart ·¶Àý´úÂ룺
SQL code:
http://localhost:8084/servlet/com.objectplanet.chart.ChartServlet?
chart=line&
width=600&
height=300&
seriesCount=4&
sampleValues_0=72,87,45,28,65&
sampleValues_1=486,745,854,368,267&
sampleValues_2=3,6,7,6,5&
sampleValues_3=286,145,154,268,667&
sampleColors=%23C6C6C6,%23498EFF,%23635AFF,%2331319C&
multiColorOn=true&
seriesRange_0=1&
seriesRange_1=2&
seriesRange_2=3&
seriesRange_3=4&
rangeOn_2=true&
rangeOn_3=true&
rangeOn_4=true&
rangePosition_1=left&am
ÎÒÏë×ö¹»¹ºÎï³µÓÃsession µ«ÊDz»ÖªµÀÔõô»ñÈ¡¹ºÂòÊýÁ¿ ËÓоßÌåµÄ´úÂëÂð Ï£ÍûÄܸîÉá
ÏÂÃæÊǹºÎï³µµÄºËÐÄ´úÂë
ÓÐÁËÕâ¸ö ¾ÍÓ¦¸ÃÄܹ»×ö³öÀ´°É
Java code:
public void doPost(HttpServletRequest reque ......
ÎÒÔÚjspÒ³Ãæ²éѯµ½Êý¾Ý¿âÖеÄÒ»±ÊÊý¾Ý£¬²¢ÒÔtableÑ»·µÄÐÎʽÏÔʾ£¬µ«ÐèÒªÏÂÔØ±£´æ³Éhtml¸ñʽ£¬ÇëÎÊÓ¦¸Ã´¦Àí£¿´úÂëÓÐûÓÐÌØÊâÒªÇó£¿ÊDz»ÊÇÐèÒªÌØ±ðµÄjar°ü£¿
ÄãÕâÊǰѱ¨±í±£´æÎªHTML¸ñʽ£¬²»ÖªÓÐʲôÓô¦£¬
ÒªÊÇ ......