be changed under any
     * circumstances.
     *
     * Observe that if no configuration is provided (or all flags are set to
     * false), this method will only modify the y-axis bounds if they are empty.
     */
    autoSetFromRange(range, opt_config) {
      if (range.isEmpty) return;

      const bounds = this.bounds;
      if (bounds.isEmpty) {
        bounds.addRange(range);
        return;
      }

      if (!opt_config) return;

      const useRangeMin = (opt_config.expandMin && range.min < bounds