calculate axis intervals on render to accommodate graph size changes; fixes #276