Oct 09, 2014, 2:30 PM
[CLOSED] Exporting 2 Charts with html table to single PNG
Hi,
I have 2 charts and Grid panel giving chart details,i have retrieved both the charts SVG and by combining these SVGs, i have converted it to PNG with the help of below post which i had posted earlier.
http://forums.ext.net/archive/index.php?t-27293.html
Now my as per requirement i also want to export Grid Panel with these charts into Single png.
Below is snapshot of charts & Grid panel which i want to convert to PNG
I have used the same technique, converted html table to SVG corresponding Grid Panel data and combined these chart & table SVGs into single, but html table is not getting display in converted PNG image with charts
Below is sample SVG table of Grid Panel
Thanks
I have 2 charts and Grid panel giving chart details,i have retrieved both the charts SVG and by combining these SVGs, i have converted it to PNG with the help of below post which i had posted earlier.
http://forums.ext.net/archive/index.php?t-27293.html
Now my as per requirement i also want to export Grid Panel with these charts into Single png.
Below is snapshot of charts & Grid panel which i want to convert to PNG
I have used the same technique, converted html table to SVG corresponding Grid Panel data and combined these chart & table SVGs into single, but html table is not getting display in converted PNG image with charts
Below is sample SVG table of Grid Panel
<svg>
<foreignObject width="500" height="150">
<table style=" border-collapse:collapse" border="1">
<tr>
<th></th>
<th>P-22</th>
<th>IRP</th>
<th>Diff</th>
<th>Percent</th>
</tr>
<tr>
<td>Median NPV</td>
<td>51K</td>
<td>4.2K</td>
<td>46</td>
<td>90%</td>
</tr>
<tr>
<td>Discounting Rate</td>
<td>2%</td>
<td>30%</td>
</tr>
</table>
</foreignObject>
<svg>
So can you please tell me what i am doing wrong or is there any possibility to convert Ext.net Gridpanel to PNG ?Thanks
Last edited by Daniil; Oct 17, 2014 at 6:08 PM.
Reason: [CLOSED]