Hi Priyanka, sorry I misunderstood the description of these properties. Initially when I went to test these properties I had issue trying to use date for min and max. switching to timestamp resolves that issue.
In case someone comes accross this, here is a working fiddle
fiddle showing different margins for different data:
https://jsfiddle.net/mLgbxrnf/
Issue resolved using viewPortMinimum / viewPortMaximum:
https://jsfiddle.net/jmw2xL36/