Anychart图表系列二---执行Flash和HTML5渲染
AnyChart.renderingType = anychart.RenderingType.FLASH_PREFERRED;var chart = new AnyChart('swf/AnyChart.swf', 'swf/Preloader.swf');chart.width = "100%";chart.height = "100%";chart.setXMLFile("anychart.xml");chart.write("chartContainer");AnyChart.renderingType = anychart.RenderingType.SVG_PREFERRED;var chart2 = new AnyChart('swf/AnyChart.swf', 'swf/Preloader.swf');chart2.width = "100%";chart2.height = "100%";chart2.setXMLFile("anychart.xml");chart2.write("chartContainer2");
?
关于Flash/HTML5渲染更多的知识可以访问官方帮助文档(这里)。