Fixes chart settings handling.