Home › forums › Using CanvasJS › How to control padding of plotted data › Reply To: How to control padding of plotted data
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:
Issue resolved using viewPortMinimum / viewPortMaximum: