set chart flat and hardware accelerated toggle