If you are considering an electric vehicle or a hybrid, it is important to factor in the costs associated with charging, too.