add numeric check to graph axes