需要将Google图表导出到Excel中。有没有办法通过jquery实现相同的目标?从Google Chart文档中,我了解可以通过获取ImageURI将图表转换为图像。但是当尝试使用ImageURI导出图像时(请参阅link-2),它不会加载到excel文件中。
参考:
https://developers.google.com/chart/interactive/docs/printing
$("[id$=myButtonControlID]").click(function(e) {
window.open('data:application/vnd.ms-excel,' + encodeURIComponent( $('div[id$=divTableDataHolder]').html()));
e.preventDefault();
});
<button id="myButtonControlID">Export Table data into Excel</button>
<div id="divTableDataHolder">
<title>Demo for huge data</title>
<table>
<thead>
<tr>
<th colspan="5">
Demoe By <a href="http://codePattern.net/blog">CodePattern.net</a>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>Anil Kumar</td>
<td>2012</td>
<td>Delhi</td>
<td>India</td>
<td><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABUYAAADICAYAAAAkwztuAAAgAElEQVR4Xu3dCfxUVf3/8Q9qiIJ+c0ENNCXEFRX6orlFqWlmbriBWi6oaIKiYiogKmJg7uCCIKmAGy6omKi4r1gKWJgVoqEmReKCIApi/B7v0/9+//Md5jvLd2buPffMax6PHmkz955znp/7nWbec865LVauXLnSeCCAAAIIIIAAAggggAACCCCAAAIIIIAAAjUk0IJgtIaqzVARQAABBBBAAAEEEEAAAQQQQAABBBBAwAkQjHIhIIAAAggggAACCCCAAAIIIIAAAggggEDNCRCM1lzJGTACCCCAAAIIIIAAAggggAACCCCAAAIIEIxyDSCAAAIIIIAAAggggAACCCCAAAIIIIBAzQkQjNZcyRkwAggggAACCCCAAAIIIIAAAggggAACCBCMcg0ggAACCCCAAAIIIIAAAggggAACCCCAQM0JEIzWXMkZMAIIIIAAAggggAACCCCAAAIIIIAAAggQjHINIIAAAggggAACCCCAAAIIIIAAAggggEDNCRCM1lzJGTACCCCAAAIIIIAAAggggAACCCCAAAIIEIxyDSCAAAIIIIAAAggggAACCCCAAAIIIIBAzQkQjNZcyRkwAggggAACCCCAAAIIIIAAAggggAACCBCMcg0ggAACCCCAAAIIIIAAAggggAACCCCAQM0JEIzWXMn//4A//vhjO/bYY+2JJ55opLD11lvbCSecYH369LH1118/NqGoP2rwzjvvtA022CC2tufPn28XXnih3X///dauXTvXfn19fUP7TVltvvnm9otf/MLOOeecqlolaZNZhGyHO+64w11Denz55Zd29tln25gxY9y/X3rppTZkyJCK17DSFpU+X6EBy+ehhx6yiRMn2oYbbljo5c16fsWKFXbxxRfbbbfd5traZZddGp1n8eLFNnr0aLvppptM/3zaaafZgAEDqnoNN2sgHIQAAggggAACCCCAAAIIIIBAFQUIRquI6/upmwr7on736NHDhVxt27aNZSi5Air9b7fffrt1797ddt5556r149prr3Xhph7f+c537JFHHikqGI061K9fP7viiitsrbXWqkof4w7vmhpE9jWjIPTyyy+3li1bmsJlhaTPPfecO7zYYLTUGlfaotLny3cBLF++3C644AL3ksitGhfMX/7yFzvyyCPtr3/9qws8f/Ob39iaa67pmvrmm29s6NChNmzYsEZNV/sarsY4OScCCCCAAAIIIIAAAggggAAC5QgQjJajl/JjcwVCK1eutH/84x9u9uTdd99t48aNs5NOOimRkWbOQHzppZdsjz32qFo/FBJddNFFNnXqVNt///1NDquttlpDe7ms/vvf/9of//hHO+uss+yTTz5xs0133HHHqvXRhxNHDu+++66bXaggWLNrNcv25Zdftp/97Ge25ZZb2qxZs4oKRptT4ziDzEqbL1y40H75y1/aoYceaqeeemqlT+/Op2tXQb/+dtu3b28ffvih3Xfffbb99tu75z/66CMXlv7tb3+z3/3ud+6Hj5NPPtn++c9/2qRJk0wzxnkggAACCCCAAAIIIIAAAgggUAsCBKO1UOUmxpgvYFKw1bNnT9t1113txhtvtHXWWcctub366qvdDE798+GHH+6WSm+22WaWea5zzz3XLdF98MEHbZ999rHLLrvMnUePN954w4YPH26PP/64+3eFnTrHbrvt5sLFaFm2AhuFldGybL1WS/u1vP6GG26wxx57rCEoffLJJ22//fZzfdMMxhYtWjQasZYVT5kyxfXp6aefdsHPr371KxcGKfzMXP6tAxVYKVjKnP3ZlFV2sLfNNtu4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zdcMMN1r59+0Z7yOaruYLgagSj6mtmu9oCQTfM0szazTbbrIbfERk6AggggAACCCCAAAIIIIBArQkQjNZaxQMZb7QMWTMJtdw/M8ANZIgMo4ICs2fPdrODR40atco2EJVoZu7cudarVy83W1Yh9AEHHGBvvvmmu2O8gnzdwEx7vPJAAAEEEEAAAQQQQAABBBBAAAF/BAhG/akFPSlCQHtgal9KBVyaSXrdddfZmWeeucpd3Is4FS+pEQHNRB48eLCbabrrrrtWZdTaKkFbM9x+++2rnH/AgAFupvOaa65ZlbY5KQIIIIAAAggggAACCCCAAAIINE+AYLR5bhyVkEC0hF5LurUsXHfX1ow8HggkLaCl+lpKf99997mtJnRjq6OOOsrOOusst9yfBwIIIIAAAggggAACCCCAAAII+CVAMOpXPegNAggggAACCCCAAAIIIIAAAggggAACCMQgQDAaAzJNIIAAAggggAACCCCAAAIIIIAAAggggIBfAgSjftWD3iCAAAIIIIAAAggggAACCCCAAAIIIIBADAIEozEg0wQCCCCAAAIIIIAAAggggAACCCCAAAII+CVAMOpXPegNAggggAACCCCAAAIIIIAAAggggAACCMQgQDAaAzJNIIAAAggggAACCCCAAAIIIIAAAggggIBfAgSjHtRj/vz5Nm7cOJs+fbrrTdeuXa1fv37Wrl27VXr30Ucf2aBBg+zUU0+1bt26edB7uoAAAggggAACCCCAAAIIIIAAAggggED6BAhGE67ZokWLbMiQIbbbbrvZYYcd5nozefJkF5IOGzbM6urqGnq4YsUKGz16tE2ZMsVGjBhBMJpw7WgeAQQQQAABBBBAAAEEEEAAAQQQQCC9AgSjCddu1qxZdv3119tVV11l66+/vuvNJ598Yueee66dccYZbvZo9HjhhRdswoQJ9tlnn9kFF1xAMJpw7WgeAQQQQAABBBBAAAEEEEAAAQQQQCC9AgSjHtZOweiAAQOsb9++DeHnBx984GaJnnDCCXbzzTfb6aefTjDqYe3oEgIIIIAAAggggAACCCCAAAIIIIBAOgQIRj2sk2aGjhkzxq644gpr3769ffXVV3b55Zdbly5drHv37m42KcGoh4WjSw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QQQQAABBBBAAAEEEEAgYQGC0YQLQPMI+CJQKPgs9Lwv46AfCCCAAAIIIIAAAggggAACCCCAQDECBKPFKPEaBGpAoFDwWej5GiBiiAgggAACCCCAAAIIIIAAAgggEJAAwWhAxWQoCCCAAAIIIIAAAggggAACCCCAAAIIIFCcAMFocU68CgEEEEAAAQQQQAABBBBAAAEEEEAAAQQCEiAYDaiYDAUBBBBAAAEEEEAAAQQQQAABBBBAAAEEihMgGC3OiVchgAACCCCAAAIIIIAAAggggAACCCCAQEACBKMBFZOhIIAAAggggAACCCCAAAIIIIAAAggggEBxAgSjxTnxKgQQQAABBBBAAAEEEEAAAQQQQAABBBAISIBgNKBiMhQEEEAAAQQQQAABBBBAAAEEEEAAAQQQKE6AYLQ4J16FAAIIIIAAAggggAACCCCAAAIIIIAAAgEJEIwGVEyGggACCCCAAAIIIIAAAggggAACCCCAAALFCRCMFufEqxBAAAEEEEAAAQQQQAABBBBAAAEEEEAgIAGC0YCKyVAQQAABBBBAAAEEEEAAAQQQQAABBBBAoDgBgtHinHgVAggggAACCCCAAAIIIIAAAggggAACCAQkQDAaUDEZCgIIIIAAAggggAACCCCAAAIIIIAAAggUJ0AwWpwTr0IAAQQQQAABBBBAAAEEEEAAAQQQQACBgAT+D8p43Gugq1ywAAAAAElFTkSuQmCC' alt=''/></td>
</tr>
<tr>
<td>abc</td>
<td>12</td>
<td>Delhi</td>
<td>India</td>
<td>Earth</td>
</tr>
<tr>
<td>abc</td>
<td>12</td>
<td>Delhi</td>
<td>India</td>
<td>Earth</td>
</tr>
<tr>
<td>abc</td>
<td>12</td>
<td>Delhi</td>
<td>India</td>
<td>Earth</td>
</tr>
<tr>
<td>abc</td>
<td>12</td>
<td>Delhi</td>
<td>India</td>
<td>Earth</td>
</tr>
<tr>
<td>abc</td>
<td>12</td>
<td>Delhi</td>
<td>India</td>
<td>Earth</td>
</tr>
</tbody>
</table>
</div>
答案 0 :(得分:1)
因为下载URI似乎无法正常工作
通过将base64字符串上传到sharepoint库
来将URI保存到文件中使用CopyIntoItems
网络服务
完成后或下载前,将图表替换为图像
然后下载到Excel时,应显示图表图像
请参阅以下摘录...
google.charts.load('current', {
callback: function () {
var data = google.visualization.arrayToDataTable([
['File', 'fileSize', 'output Target'],
['a', 10, 15],
['b', 12, 18],
['c', 14, 21],
['d', 16, 24]
]);
var container = document.getElementById('chart_div');
var chart = new google.visualization.ColumnChart(container);
google.visualization.events.addListener(chart, 'ready', function () {
var soapEnv = '<?xml version="1.0" encoding="utf-8"?>';
soapEnv += '<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">';
soapEnv += '<soap:Body>';
soapEnv += '<CopyIntoItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">';
soapEnv += '<SourceUrl>null</SourceUrl>';
soapEnv += '<DestinationUrls><string>http://domain' + _spPageContextInfo.webServerRelativeUrl + '/Temp/test.png</string></DestinationUrls>';
soapEnv += '<Fields><FieldInformation Type="File" /></Fields>';
soapEnv += '<Stream>' + chart.getImageURI().replace('data:image/png;base64,', '') + '</Stream>';
soapEnv += '</CopyIntoItems>';
soapEnv += '</soap:Body>';
soapEnv += '</soap:Envelope>';
$.ajax({
url: 'http://domain' + _spPageContextInfo.webServerRelativeUrl + '/_vti_bin/Copy.asmx',
beforeSend: function(xhr) {
xhr.setRequestHeader('SOAPAction', 'http://schemas.microsoft.com/sharepoint/soap/CopyIntoItems');
},
type: 'POST',
dataType: 'xml',
data: soapEnv,
complete: function (result, status) {
if (status === 'success') {
document.getElementById('chart_div').innerHTML = '<img alt="Chart" src="http://domain' + _spPageContextInfo.webServerRelativeUrl + '/Temp/test.png">';
}
},
contentType: 'text/xml; charset="utf-8"'
});
});
chart.draw(data, {
legend: {
position: 'bottom'
}
});
},
packages: ['corechart']
});