|
@ -40,11 +40,8 @@ |
|
|
'</foreignObject>' + |
|
|
'</foreignObject>' + |
|
|
'</svg>'; |
|
|
'</svg>'; |
|
|
|
|
|
|
|
|
var DOMURL = window.URL || window.webkitURL || window; |
|
|
|
|
|
|
|
|
|
|
|
var img = new Image(); |
|
|
|
|
|
var svg = new Blob([data], {type: 'image/svg+xml;charset=utf-8'}); |
|
|
|
|
|
var url = DOMURL.createObjectURL(svg); |
|
|
|
|
|
|
|
|
var url = "data:image/svg+xml;charset=utf-8,"+ encodeURIComponent(svg); |
|
|
|
|
|
|
|
|
// Called when the Visualization API is loaded. |
|
|
// Called when the Visualization API is loaded. |
|
|
function draw() { |
|
|
function draw() { |
|
|