Refactor void CartesianPlot::calculateDataRange(const Dimension dim, const int index, bool completeRange) {
The functions is very error prone, because 4 times the same thing will be done. Try to merge it together
This bug happended because of this #538 (closed)
Edited by Martin Marmsoler