11.07.2015 Views

AJAX and PHP

AJAX and PHP

AJAX and PHP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 7Figure 7.2: SVG Charting in ActionTo get the dynamically generated contents of the SVG chart at any given time withFirefox, right click the chart, click Select All, then right-click the chart again, <strong>and</strong> chooseView Selection Source.Now that you have a good idea about what you are going to implement, let's get to work. It's timefor action!Time for Action—Building the Real-Time SVG Chart1. Start by creating a new subfolder of the ajax folder, called svg_chart.2. In the svg_chart folder, create a new file named index.html with the followingcontents:<strong>AJAX</strong> Realtime Charting with SVG193

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!