0 Replies Latest reply: Mar 31, 2016 3:42 PM by Ted Sullivan RSS

    using javascript, move the scroll bar to middle of bar, it now defaults to left side on page display

    Ted Sullivan

      In QlikSense, my App opens a chart with X-Axis as date_time [-5 days/+5 days] scroll bar always is left of the screen with the earliest date. We want the scroll bar to automatically move to the current date, about the middle of the chart.

       

      How do I do this with JavaScript? Should be a matter of setting the initial position of the chart scroll bar for the chart by moving it to the centre of the scroll bar. Very basic JavaScript math.