Fixed crash when min > max in histogram and 3D
Fixed crash when min > max in histogram and 3D

bsc-performance-tools/paraver-kernel,bsc-performance-tools/paraver-kernel,bsc-performance-tools/paraver-kernel