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

Architecture of Sencha Charts


Sencha Charts supports the following type of charts:

  • Cartesian chart: This works with the cartesian coordinate system where we work with the x and y axes

  • Polar chart: This works with the polar coordinate system where we work with angular axis (circle) and radial axis (towards radius)

  • Spacefilling chart: This creates a chart that fills the complete area of the charts

The following screenshot shows examples of each type of chart that Sencha Charts offers:

The Sencha Charts package implements the different types of chart using the following major classes:

  • Chart (Ext.chart.AbstractChart): This is a common class that implements the different types of charts, as described previously. Based on the type of chart, the class generates the axis. For example, for a cartesian chart, it generates the x and y axes, whereas for a pie chart, it will generate the pie using the polar coordinate system, and so on. The chart class manages the following common features across different...