Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Changing scroll position in chart using macro

Hi All,

I have a document which contains a chart (Chart Type is a straight table).

This chart is sized such that it displays approx 25 lines of information on it at any one time. There is however anywhere up to 100 lines of data contained on this chart. This ofcourse enables the scrollbar for the user to scroll up and down the chart to view all the lines. Pretty straight forward.

This QV Document is going to be presented on a screen with no user actively running it so...

What i would like to do is build a macro which, every x seconds (20 or 30 seconds of so) the scroll position of this table is moved by a set amount.

I've seen the ChartProperties.XScrollRight code that can be used in VBScript but this always moves the scroll position all the way to the top of my chart. Does anyone know of a macro that will shift the scroll poition by a set increment? such as 20lines, or 25% the chart height or something?

I should mention that i am trying to scroll vertically, NOT horizintally.

If i cant find anything i think i'll end up just numbering the reconds from 1 through ### and setting a timer in the Dimension to display X number of lines at a time.

Thanks in advance.

Alan

2 Replies
sujeetsingh
Master III
Master III

Any one please provide some solution for this question.

m_woolf
Master II
Master II

I have no suggestion for controlling the scroll bar.

Can you accomplish the same thing by selecting groups of records? Select the first group of 25. Then the next group.