Hello everyone!
I have a problem. I wanted to draw a chart on the browser on a click of button. I have done the same. The code is as follows:
<!--html code--> <button onclick="analyze();">Analyze</button><br /> <!--javascript code--> <script type="text/javascript"> function analyze(){ var chart= AmCharts.makeChart("chartdiv", { type: "serial", dataProvider: [{ "year": 2005, "income": 23.5 }, { "year": 2006, "income": 26.2 }, { "year": 2007, "income": 30.1 }], categoryField: "year", rotate: true, catego ...

Go to the complete details ...