Hello,
On a google chart, if I have a javascript function to add absolute values to legend, PDF conversion returns error.
This is my function:
google.visualization.events.addListener(chart, 'ready', function () {
var rowIndex = 0;
Array.prototype.forEach.call(document.getElementById('AnswersNPS_div_').getElementsByTagName('text'), function(label) {
// find legend labels
if ((label.getAttribute('text-anchor') === 'start') && (label.getAttribute('fill') !== '#ffffff') && (label.getAttribute('fill') !== '#000000')) {
label.innerHTML += ' (' + data.getValue(rowIndex++, 1) + ')';
}
});
});
Do you know why?
Hello,
On a google chart, if I have a javascript function to add absolute values to legend, PDF conversion returns error.
This is my function:
Do you know why?