Fix rendering chart