Added Charting to the measurement panel.

    Charting now works for counting objects in the sprite drawer.
    Charting works when dragging the interaction to an object.
    Delete charts when objects are deleted.