关于报表转成图片格式(JPG,GIF)的一个问题
需求:
现在会经过查询从后台得到一个由javascript与html组成的数据。数据直接放到html文件里 显示为一个曲线图。
现在用户为了方便以后查看。需要把这个曲线图 转化成图片 存储到指定位置。
问题:请问应该怎样转化呢。 请给出具体的 操作信息。
提供:
返回的数据源码:储存成html格式可以直接查看。
<style id="report1_style"></style><script language=javascript>
report1_style.styleSheet.addRule( ".report1_1", "text-align:center;vertical-align:middle;font-family:宋体;font-size:13px;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;word-break:keep-all;" );
</script>
<table id="report1" cellSpacing=0 cellPadding=0 a="report1416528out()" style="width:738;table-layout:fixed;border-collapse:collapse">
<colgroup>
<col style="width:738px;"></col>
</colgroup>
<tr height=426 style="height:426px;">
<td class="report1_1"><img src="#" width=738 height=426 border=no usemap="#100001" ismap><map name="100001"><area shape="rect" coords="127,119,139,131" title="0 1 430.0">
<area shape="rect" coords="219,57,231,69" title="1 2 550.0">
<area shape="rect" coords="312,83,324,95" title="11 22 500.0">
<area shape="rect" coords="404,31,416,43" title="111 222 600.0">
<area shape="rect" coords="497,93,509,105" title="1111 2222 480.0">
<area shape="rect" coords="589,150,601,162" title="11111 22222 370.0">
</map></td>
</tr>
</table>
谢谢解答
这个东西可能不能正确显示。但是就要把这个东西编译成一个图片 然后显示正确的代码 应当怎么处理
分不多 但求帮忙 谢谢