Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Not applicable

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

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.