Reset Grayed chart - Null pointer fix