Scale main chart according ranges selection