added real-time refreshment of charts
Added ChartWidget, but got compile errors