Stock Ext JS Chart Legend is not very usable for charts with many Series points, which happens quite often. This class implements a Legend that will adjust itself to Chart dimensions to avoid ugly-looking charts.
It looks like this:
Screen shot 2011-11-20 at 8.21.06 PM.png
Screen shot 2011-11-20 at 8.33.39 PM.png
Legend can be placed at top, bottom, left or right edge, with Chart adjusting its size accordingly. Legend items sizes are based on font used for item titles.
Usage is very easy; in fact SmartLegend was intended a drop-in replacement for stock Legend class. See demo application for details.
Source code is released under GPL 3.0 on Github: https://github.com/nohuhu/Ext.ux.chart.SmartLegend. Commercial licensing is also available.
Live demo: http://nohuhu.org/demos/demo_smartlegend.html
Sencha Market page: https://market.sencha.com/users/30/extensions/59