Added toggleValues method to allow switching between absolute and percentage values