The TitleChart extension

This class is an extension for Ext.chart.Chart that implements a titled chart, which was developed by Alexander Tokarev. By using this extension we can easily configure our chart title.

Following is the screenshot of a chart where the TitleChart extension is used:

The TitleChart extension

The available configuration options are:

  • titleLocation: left, right, top or bottom. The title text will be rotated accordingly when location is right or left.
  • titleFont: The font properties for chart title, in CSS format.
  • titlePadding: The space between chart canvas edge and title, in pixels.
  • titleMargin: The space between title and actual chart area.

A live demo for this extension is located at http://nohuhu.org/demos/demo_titlechart.html. This extension is licensed under GPLv3. The download link, details of the copyright, and license for this extension are available at https://github.com/nohuhu/Ext.ux.chart.TitleChart.

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

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