Open apoorva-shah opened 7 years ago
I suggest you use maxSelectedTime
instead.
This way you can set a number of milliseconds that can be zoomed out at most. This will also affect initial zoom.
So for 2 months selection you'd set it to 5270400000
:
"maxSelectedTime": 5270400000
I hope you find this useful.
I want to display only last 2 months data in amcharts. If user want previous data then he should scroll..
How can i do that? Display only last 2 months in amcharts. See image. So i want data of only Nov, Oct and Sep or half september, Not till March. Please guide.
see image you can see data from march to nov i want only last 2 months data. (Means till 11 sep 2017 to 11 nov 2017) to see other data user need to do scroll. thats no issue. https://i.stack.imgur.com/YCbsZ.png
I have tried dataDateFormat and minimumDate in valueAxes. I have also tried duration and durationUnits. Did not understand what should i write in duration so i see 2 months in chart. Thanks in advance!