Making the ultimate chart fit in the given space and fixing the path to the spinner