dc-js/dc.js — pull request #549 by wssbck (2014-03-25 18:54:38+00:00)
Title: "Auto" value for horizontal legends

Added the option of setting itemWidth to "auto" for chart legends. When this is set, horizontal distribution of legend elements will not be fixed - they will be laid out according to their width. The setting uses _gap to add horizontal gaps between elements. Also, the default for _itemWidth is now "auto".