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
About the Author
About the Reviewers

Chapter 6. Creating a Custom Spacefilling Chart

So far, we have seen how to create custom cartesian and polar charts. The third type of chart offered by Sencha Charts is spacefilling. A spacefilling chart offers a drawing area inside which anything can be drawn. It does not have coordinate systems like cartesian and polar charts. Examples of spacefilling charts are: Gauge, Treemap, Mindmap, and so on.

In this chapter, you will learn how to create custom spacefilling charts by:

  • Creating a custom sprite

  • Creating a custom series

  • Using the custom series with a spacefilling chart

  • Working with changing store data

  • Scaling up/down different dimensions dynamically

  • Deriving custom color coding logic