added support for /nonzero option to chart, which shows only dimensions which have data; this still needs some work on the javascript to be fully supported