jsp查询数据库将数据以饼图和圆柱图显示? 横向的可不可以~~``<hr> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 给你个例子<html xmlns:v="urn:schemas-microsoft-com:vml"><STYLE> v\:* { Behavior: url(#default#VML) }</STYLE><body><table><v:group style="position:absolute;left:0px;top:0px;width:500px;height:300px" coordsize="500,300"><v:rect style="position:absolute;left:0px;top:0px;width:500px;height:300px" fillcolor="#ffffff" strokecolor="#ff0000"><v:shadow on="t" type="single" color="silver" offset="5pt,5pt"/><v:TextBox inset="0px,8px,0px,0px" style="Text-align:center;font-size:18px">Actual Hours vs. Project Typology Report</v:TextBox></v:rect><v:rect filled="f" style="position:absolute;left:29px;top:244px;width:60px;height:11px" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">0</v:TextBox></v:rect><v:line strokeweight="1" strokecolor="#000000" style="position:absolute" from="100,250" to="400,250"><v:stroke EndArrow="Classic"/></v:line><v:line strokeweight="1" strokecolor="#000000" style="position:absolute" from="100,250" to="100,50"><v:stroke EndArrow="Classic"/></v:line><v:rect filled="f" style="position:absolute;left:101px;top:260px;width:95px;height:30px" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:center;font-size:12px;WORD-BREAK:break-all">AVrts</v:TextBox></v:rect><v:line strokecolor="#000000" style="position:absolute" from="196.0,250" to="196.0,246"/><v:rect filled="f" style="position:absolute;left:198px;top:260px;width:95px;height:30px" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:center;font-size:12px;WORD-BREAK:break-all">AVnpi</v:TextBox></v:rect><v:line strokecolor="#000000" style="position:absolute" from="293.0,250" to="293.0,246"/><v:rect filled="f" style="position:absolute;left:295px;top:260px;width:95px;height:30px" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:center;font-size:12px;WORD-BREAK:break-all">AVrqs</v:TextBox></v:rect><v:line strokecolor="#000000" style="position:absolute" from="390.0,250" to="390.0,246"/><v:rect filled="f" style="position:absolute;left:29px;top:225px;width:60px;height:11px" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">10</v:TextBox></v:rect><v:line strokecolor="#000000" style="position:absolute" from="100,231" to="390,231"><v:stroke dashstyle="Dot"/></v:line><v:rect filled="f" style="position:absolute;left:29px;top:206px;width:60px;height:11px" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">20</v:TextBox></v:rect><v:line strokecolor="#000000" style="position:absolute" from="100,212" to="390,212"><v:stroke dashstyle="Dot"/></v:line><v:rect filled="f" style="position:absolute;left:29px;top:187px;width:60px;height:11px" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">30</v:TextBox></v:rect><v:line strokecolor="#000000" style="position:absolute" from="100,193" to="390,193"><v:stroke dashstyle="Dot"/></v:line><v:rect filled="f" style="position:absolute;left:29px;top:168px;width:60px;height:11px" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">40</v:TextBox></v:rect><v:line strokecolor="#000000" style="position:absolute" from="100,174" to="390,174"><v:stroke dashstyle="Dot"/></v:line><v:rect filled="f" style="position:absolute;left:29px;top:149px;width:60px;height:11px" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">50</v:TextBox></v:rect><v:line strokecolor="#000000" style="position:absolute" from="100,155" to="390,155"><v:stroke dashstyle="Dot"/></v:line><v:rect filled="f" style="position:absolute;left:29px;top:130px;width:60px;height:11px" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">60</v:TextBox></v:rect><v:line strokecolor="#000000" style="position:absolute" from="100,136" to="390,136"><v:stroke dashstyle="Dot"/></v:line><v:rect filled="f" style="position:absolute;left:29px;top:111px;width:60px;height:11px" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">70</v:TextBox></v:rect><v:line strokecolor="#000000" style="position:absolute" from="100,117" to="390,117"><v:stroke dashstyle="Dot"/></v:line><v:rect filled="f" style="position:absolute;left:29px;top:92px;width:60px;height:11px" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">80</v:TextBox></v:rect><v:line strokecolor="#000000" style="position:absolute" from="100,98" to="390,98"><v:stroke dashstyle="Dot"/></v:line><v:rect filled="f" style="position:absolute;left:29px;top:73px;width:60px;height:11px" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">90</v:TextBox></v:rect><v:line strokecolor="#000000" style="position:absolute" from="100,79" to="390,79"><v:stroke dashstyle="Dot"/></v:line><v:rect filled="f" style="position:absolute;left:29px;top:54px;width:60px;height:11px" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">100</v:TextBox></v:rect><v:line strokecolor="#000000" style="position:absolute" from="100,60" to="390,60"><v:stroke dashstyle="Dot"/></v:line><v:rect filled="f" style="position:absolute;left:25px;top:35;width:150px;height:14px" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:center;font-size:12px">Average AV(%)</v:TextBox></v:rect><v:rect filled="f" style="position:absolute;left:405px;top:244;width:80px;height:14px" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:left;font-size:12px"></v:TextBox></v:rect><v:rect style="position:absolute;left:125px;top:238px;width:20px;height:12px" fillcolor="#0000ff" strokecolor="#000000" title="6.0"/><v:rect style="position:absolute;left:120px;top:223px;width:30px;height:14px" filled="f" stroked="f"><v:TextBox inset="1px,1px,1px,1px" style="Text-align:center;font-size:12px">6%</v:TextBox></v:rect><v:rect style="position:absolute;left:150px;top:225px;width:20px;height:25px" fillcolor="#ff00ff" strokecolor="#000000" title="13.0"/><v:rect style="position:absolute;left:145px;top:210px;width:30px;height:14px" filled="f" stroked="f"><v:TextBox inset="1px,1px,1px,1px" style="Text-align:center;font-size:12px">13%</v:TextBox></v:rect><v:rect style="position:absolute;left:222px;top:217px;width:20px;height:33px" fillcolor="#0000ff" strokecolor="#000000" title="17.0"/><v:rect style="position:absolute;left:217px;top:202px;width:30px;height:14px" filled="f" stroked="f"><v:TextBox inset="1px,1px,1px,1px" style="Text-align:center;font-size:12px">17%</v:TextBox></v:rect><v:rect style="position:absolute;left:247px;top:229px;width:20px;height:21px" fillcolor="#ff00ff" strokecolor="#000000" title="11.0"/><v:rect style="position:absolute;left:242px;top:214px;width:30px;height:14px" filled="f" stroked="f"><v:TextBox inset="1px,1px,1px,1px" style="Text-align:center;font-size:12px">11%</v:TextBox></v:rect><v:rect style="position:absolute;left:400px;top:30px;width:130px;height:39px" fillcolor="#ffffff" strokecolor="#000000"><v:shadow on="t" type="single" color="silver" offset="5pt,5pt"/></v:rect><v:Rect style="position:absolute;left:410px;top:36px;width:10px;height:10px" fillcolor="#0000ff" strokecolor="#000000"/><v:rect style="position:absolute;left:430px;top:35px;width:95px;height:12px" filled="f" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:left;font-size:12px">Expected Values</v:TextBox></v:rect><v:Rect style="position:absolute;left:410px;top:52px;width:10px;height:10px" fillcolor="#ff00ff" strokecolor="#000000"/><v:rect style="position:absolute;left:430px;top:51px;width:95px;height:12px" filled="f" stroked="f"><v:TextBox inset="0px,0px,0px,0px" style="Text-align:left;font-size:12px">Actual Values</v:TextBox></v:rect></v:group></table></body></html> 看见了。你可以用java bean生成上面的语法字符串给JSP。我好多项目都是这么做的。 如何读取一个包的所有程序中的注解 EXT 如何让grid等一些组件随着窗口大小变化 请高手帮我看看这个提示的是什么错? 我建立了一个群,主要用于探讨HTML,DHTML,CSS,JAVASCRIPT,FLASH,DREAMWEAVER,PHOTOSHOP技术,希望从事这方面工作的同志加入 找到一款套打、连续打印、分页打印报表控件 500分求JSP分页 servlet处理完之后如何返回到前台的指定表单位置 Java和PHP在Web开发方面的比较 help!!!very easy!!在线等 求教各位大佬,关于pc聊天室和聊天室网站的问题 svn检出时间问题 寻觅高手指教!!!
<html xmlns:v="urn:schemas-microsoft-com:vml">
<STYLE>
v\:* { Behavior: url(#default#VML) }
</STYLE>
<body>
<table>
<v:group style="position:absolute;left:0px;top:0px;width:500px;height:300px" coordsize="500,300">
<v:rect style="position:absolute;left:0px;top:0px;width:500px;height:300px" fillcolor="#ffffff" strokecolor="#ff0000">
<v:shadow on="t" type="single" color="silver" offset="5pt,5pt"/>
<v:TextBox inset="0px,8px,0px,0px" style="Text-align:center;font-size:18px">Actual Hours vs. Project Typology Report</v:TextBox>
</v:rect>
<v:rect filled="f" style="position:absolute;left:29px;top:244px;width:60px;height:11px" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">0</v:TextBox>
</v:rect>
<v:line strokeweight="1" strokecolor="#000000" style="position:absolute" from="100,250" to="400,250"><v:stroke EndArrow="Classic"/></v:line>
<v:line strokeweight="1" strokecolor="#000000" style="position:absolute" from="100,250" to="100,50"><v:stroke EndArrow="Classic"/></v:line>
<v:rect filled="f" style="position:absolute;left:101px;top:260px;width:95px;height:30px" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:center;font-size:12px;WORD-BREAK:break-all">AVrts</v:TextBox>
</v:rect>
<v:line strokecolor="#000000" style="position:absolute" from="196.0,250" to="196.0,246"/>
<v:rect filled="f" style="position:absolute;left:198px;top:260px;width:95px;height:30px" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:center;font-size:12px;WORD-BREAK:break-all">AVnpi</v:TextBox>
</v:rect>
<v:line strokecolor="#000000" style="position:absolute" from="293.0,250" to="293.0,246"/>
<v:rect filled="f" style="position:absolute;left:295px;top:260px;width:95px;height:30px" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:center;font-size:12px;WORD-BREAK:break-all">AVrqs</v:TextBox>
</v:rect>
<v:line strokecolor="#000000" style="position:absolute" from="390.0,250" to="390.0,246"/>
<v:rect filled="f" style="position:absolute;left:29px;top:225px;width:60px;height:11px" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">10</v:TextBox>
</v:rect>
<v:line strokecolor="#000000" style="position:absolute" from="100,231" to="390,231"><v:stroke dashstyle="Dot"/></v:line>
<v:rect filled="f" style="position:absolute;left:29px;top:206px;width:60px;height:11px" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">20</v:TextBox>
</v:rect>
<v:line strokecolor="#000000" style="position:absolute" from="100,212" to="390,212"><v:stroke dashstyle="Dot"/></v:line>
<v:rect filled="f" style="position:absolute;left:29px;top:187px;width:60px;height:11px" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">30</v:TextBox>
</v:rect>
<v:line strokecolor="#000000" style="position:absolute" from="100,193" to="390,193"><v:stroke dashstyle="Dot"/></v:line>
<v:rect filled="f" style="position:absolute;left:29px;top:168px;width:60px;height:11px" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">40</v:TextBox>
</v:rect>
<v:line strokecolor="#000000" style="position:absolute" from="100,174" to="390,174"><v:stroke dashstyle="Dot"/></v:line>
<v:rect filled="f" style="position:absolute;left:29px;top:149px;width:60px;height:11px" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">50</v:TextBox>
</v:rect>
<v:line strokecolor="#000000" style="position:absolute" from="100,155" to="390,155"><v:stroke dashstyle="Dot"/></v:line>
<v:rect filled="f" style="position:absolute;left:29px;top:130px;width:60px;height:11px" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">60</v:TextBox>
</v:rect>
<v:line strokecolor="#000000" style="position:absolute" from="100,136" to="390,136"><v:stroke dashstyle="Dot"/></v:line>
<v:rect filled="f" style="position:absolute;left:29px;top:111px;width:60px;height:11px" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">70</v:TextBox>
</v:rect>
<v:line strokecolor="#000000" style="position:absolute" from="100,117" to="390,117"><v:stroke dashstyle="Dot"/></v:line>
<v:rect filled="f" style="position:absolute;left:29px;top:92px;width:60px;height:11px" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">80</v:TextBox>
</v:rect>
<v:line strokecolor="#000000" style="position:absolute" from="100,98" to="390,98"><v:stroke dashstyle="Dot"/></v:line>
<v:rect filled="f" style="position:absolute;left:29px;top:73px;width:60px;height:11px" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">90</v:TextBox>
</v:rect>
<v:line strokecolor="#000000" style="position:absolute" from="100,79" to="390,79"><v:stroke dashstyle="Dot"/></v:line>
<v:rect filled="f" style="position:absolute;left:29px;top:54px;width:60px;height:11px" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:right;font-size:10px">100</v:TextBox>
</v:rect>
<v:line strokecolor="#000000" style="position:absolute" from="100,60" to="390,60"><v:stroke dashstyle="Dot"/></v:line>
<v:rect filled="f" style="position:absolute;left:25px;top:35;width:150px;height:14px" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:center;font-size:12px">Average AV(%)</v:TextBox>
</v:rect>
<v:rect filled="f" style="position:absolute;left:405px;top:244;width:80px;height:14px" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:left;font-size:12px"></v:TextBox>
</v:rect>
<v:rect style="position:absolute;left:125px;top:238px;width:20px;height:12px" fillcolor="#0000ff" strokecolor="#000000" title="6.0"/>
<v:rect style="position:absolute;left:120px;top:223px;width:30px;height:14px" filled="f" stroked="f">
<v:TextBox inset="1px,1px,1px,1px" style="Text-align:center;font-size:12px">6%</v:TextBox>
</v:rect>
<v:rect style="position:absolute;left:150px;top:225px;width:20px;height:25px" fillcolor="#ff00ff" strokecolor="#000000" title="13.0"/>
<v:rect style="position:absolute;left:145px;top:210px;width:30px;height:14px" filled="f" stroked="f">
<v:TextBox inset="1px,1px,1px,1px" style="Text-align:center;font-size:12px">13%</v:TextBox>
</v:rect>
<v:rect style="position:absolute;left:222px;top:217px;width:20px;height:33px" fillcolor="#0000ff" strokecolor="#000000" title="17.0"/>
<v:rect style="position:absolute;left:217px;top:202px;width:30px;height:14px" filled="f" stroked="f">
<v:TextBox inset="1px,1px,1px,1px" style="Text-align:center;font-size:12px">17%</v:TextBox>
</v:rect>
<v:rect style="position:absolute;left:247px;top:229px;width:20px;height:21px" fillcolor="#ff00ff" strokecolor="#000000" title="11.0"/>
<v:rect style="position:absolute;left:242px;top:214px;width:30px;height:14px" filled="f" stroked="f">
<v:TextBox inset="1px,1px,1px,1px" style="Text-align:center;font-size:12px">11%</v:TextBox>
</v:rect>
<v:rect style="position:absolute;left:400px;top:30px;width:130px;height:39px" fillcolor="#ffffff" strokecolor="#000000">
<v:shadow on="t" type="single" color="silver" offset="5pt,5pt"/>
</v:rect>
<v:Rect style="position:absolute;left:410px;top:36px;width:10px;height:10px" fillcolor="#0000ff" strokecolor="#000000"/>
<v:rect style="position:absolute;left:430px;top:35px;width:95px;height:12px" filled="f" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:left;font-size:12px">Expected Values</v:TextBox>
</v:rect>
<v:Rect style="position:absolute;left:410px;top:52px;width:10px;height:10px" fillcolor="#ff00ff" strokecolor="#000000"/>
<v:rect style="position:absolute;left:430px;top:51px;width:95px;height:12px" filled="f" stroked="f">
<v:TextBox inset="0px,0px,0px,0px" style="Text-align:left;font-size:12px">Actual Values</v:TextBox>
</v:rect>
</v:group>
</table>
</body>
</html>
你可以用java bean生成上面的语法字符串给JSP。我好多项目都是这么做的。