Home › Forums › Chart Support › Pan instead of zoom by default › Reply To: Pan instead of zoom by default

#32963

I think I got this functionality by putting this after the render line:

if (document.querySelector('button[state="pan"]')) {
  document.querySelector('button[state="pan"]').click();
}