Added support for flot categories and flot aggregate.