Fix a memory leak.  Only create the ChartWrapper once and store it in the current scope.  When the data is updated, update the existing ChardWrapper and redraw it instead of creating and drawing a new one.