javascript - Anycharts 6.2.0 - "TypeError: this.b.getSVG is not a function" -
anycharts 6.2.0
here. i'm trying implement getsvg()
function, made small test, similar 1 appears in online docs:
<script type="text/javascript" language="javascript"> var chart = null ; // html5 chart anychart.renderingtype = anychart.renderingtype.svg_only; chart = new anychart() ; if (chart!=null) { chart.width = '100%' ; chart.height = '100%'; chart.wmode = 'transparent' ; chart.usebrowserresize = true ; chart.setxmlfile(xmlfile); chart.write("sepchartcontainer"); alert(chart.getsvg(true)) ; } </script>
but on browser web console error:
typeerror:
this.b.getsvg not function
what i'm doing wrong?
Comments
Post a Comment