The SmartLegend extension
SmartLegend
is an extension which implements the chart legend with a more advanced behavior, developed by Alexander Tokarev. This extension class is basically the same as Ext.chart.Legend
, except that some of its methods were refactored for a better re-use.
Following is the screenshot of a chart where the SmartLegend
extension is used:
The following are some of the features of SmartLegend
:
The sizes of legend items are adjusted to the font size
Legend items can be configured to display any particular text, not only fixed series titles or values
Legend draws itself in several rows or columns, depending on the orientation
A live demo for this extension is located at http://nohuhu.org/demos/demo_smartlegend.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.SmartLegend.