fix scaling from Chart