renamed chart to widget
added parsing of grouping expressions