Book Image

Sencha Charts Essentials

By : Ajit Kumar
Book Image

Sencha Charts Essentials

By: Ajit Kumar

Overview of this book

Table of Contents (16 chapters)
Sencha Charts Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

amCharts


amCharts is a responsive modern charting library that renders charts using SVG and is supported by touch or mobile devices.

Let's create the chart by performing the following steps:

  1. Create the ch09/amCharts folder.

  2. Create the index.html file and save the following code inside it:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
      <title>amCharts</title>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <script type="text/javascript" src="http://www.amcharts.com/lib/3/amcharts.js"></script>
      <script type="text/javascript" src="http://www.amcharts.com/lib/3/serial.js"></script>
      <script type="text/javascript" src="http://www.amcharts.com/lib/3/themes/none.js"></script>
    
      <script type="text/javascript" src="themes/awesome.js"></script>
    
      <script type="text...