The Ext JS 4 framework offers a complete drawing library used on the chart components. However, the Sencha team did not only focus on the charting components, they decided to implement a more versatile set of tools that are the core of the charting library.
This means that we can use the drawing package to implement cross-browser custom graphics. The drawing package contains a
Surface class that abstracts the graphics implementation and enables the developer to create arbitrarily shaped sprites that respond to the user; it also provides a rich set of animations.
The topics we are going to cover in this chapter are as follows: