Chapter 5. Chart Downloader

In this chapter we are going to develop an Ext JS plugin, which will help us to download a chart as an image. This plugin will generate a button and when the button is clicked, it will perform the required functionality, such that the plugin container's chart item will be downloaded as an image.

In this chapter we will cover:

  • Functional requirements
  • Planning and coding the chart downloader

Functional requirements

We want to develop a plugin that will facilitate downloading a chart as an image. The plugin will generate a button at the container's bottom toolbar. If the container does not contain any toolbar at the bottom, this plugin should create a bottom toolbar for the container and then it will generate the button within the toolbar. When this button is clicked, the plugin will search for a chart item within the container and will download the chart as an image.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset