Could you please also integrate the function for switching to the dollar chart?