Correctly calculate minumum value for histograms
Add setting fill styles to the lines