2 Replies Latest reply on Jan 12, 2017 2:52 AM by Rahul Tokase

    How to apply Date filter through javascript API before loading the Visualization

    Rahul Tokase

      Hi

       

      In the vizoptions you can provide category filter and values and those get applied even before loading the visualizations.

       

      I have tried applying the date filter in the same way but its not working. Can somebody will provide me the way to apply the date filter even before loading the visualizations.

      I am trying to add the date filter as

      'Date':{min: new Date(Date.UTC(2016,4,13)),max:new Date(Date.UTC(2016,4,27))}