Open carlodmendoza opened 4 years ago
Thanks for your report, Carlo. Definitely a new bug, though I am not sure why it would work sometimes, or how you might work around it. I bet there is some library also loaded in the page that overwrites the browser's implementation of Dom Nodes. I'm seeing it on some other pages, like http://yii2.kadastrcard.ru/.
Thanks for your report, Carlo. Definitely a new bug, though I am not sure why it would work sometimes, or how you might work around it. I bet there is some library also loaded in the page that overwrites the browser's implementation of Dom Nodes. I'm seeing it on some other pages, like http://yii2.kadastrcard.ru/.
Looks like dlaliberte was right that something is overriding browser's implementation of Dom Nodes. In my application I've found some obsolete code that looked like this:
function Node() {
...some obsolete code here...
}
After removing this code I no longer receive Unexpected type of text node 3
error and my google chart works fine again.
I have made a change that will be included in the next release (49) that avoids the potential for conflict with an overridden Node. Not sure when v49 will be released, but maybe a couple weeks.
Hello :). I would like to ask how the work is going. I`v encountered this issue in my project and I wonder how could i fix this. Any news when v49 will be released. Greetings !
Trying to draw a chart in my web app but it keeps giving this error:
Has anyone encountered the same error before?
Below is the code snippet:
` google.charts.load('current', {packages: ['corechart']}); google.charts.setOnLoadCallback(drawChart);
function drawChart() { var data = new google.visualization.DataTable(); data.addColumn('number', 'X'); data.addColumn('number', 'Dogs');
};`
The above code works in jsfiddle but not in my web app. The console doesn't print anything as well about this error.
I have the script in the body tag of my website:
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>