support histogram interval of type double