generated json for histogram opacity