O'Reilly logo

Ext JS 4 Web Application Development Cookbook by Stuart Ashworth, Andrew Duncan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Drawing and Charting

In this chapter, we will cover:

  • Drawing basic shapes
  • Applying gradients to shapes
  • Drawing paths
  • Transforming and interacting with shapes
  • Creating a bar chart with external data
  • Creating a pie chart with local data
  • Creating a line chart with updating data
  • Customizing labels, colors, and axes
  • Attaching events to chart components
  • Creating a live updating chart bound to an editable grid

Introduction

This chapter will demonstrate the new charting and drawing features introduced to Ext JS 4. In particular, you will discover how to chart data for presentation in numerous ways.

We will take you through the Ext.draw package which, as you will learn, is used as the basis of the charting package that we explore later. The first recipes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required