fix bug of not auto ranging after visibility is toggled

fix bug of not filling null x_log_base