code cleanup: remove parameter
improve interval checks for axis and tooltip formats
add boundaries to plots, so that the range remains (nearly) the same for all spans