Disabling the handing of drag (zoom) events in TAxis

You could try with:
canvas->SetEditable(kFALSE);

which disables everything and makes the canvas fixed. If you want more specific control, take a look at the first link below, with statements like:

  mypad->GetFrame()->SetBit(TBox::kCannotMove);