Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

Scroll position in line chart

hi all,

Is there any way that to achieve the scroll bar in line chart should always starts from right side onwards.

Thanks in advance.

Regards,

venkat

9 Replies
mwoolf
Honored Contributor II

Re: Scroll position in line chart

via macro.

 

Set rep = ActiveDocument.GetSheetObject("Document\CH10")
set p = rep.GetProperties
p.ChartProperties.XScrollInitRight = True
rep.SetProperties p

Employee
Employee

Re: Scroll position in line chart

In the Chart properties its found on the presentation tab, The checkbox is called "Reversed" and is positioned below the "Show/Enable X-axis Scrollbar".

Not applicable

Re: Scroll position in line chart

hi,

If i filter the data or moved slider position then the macro is not working.

Thanks in advance.

mwoolf
Honored Contributor II

Re: Scroll position in line chart

The macro sets the initial postion of the scroll box. Once you start filtering data, the scroll box will change postions as required by the filter.

If you wanted the scroll box to be at the right after each filter, you would need to run the macro every time the data is filtered.

Not applicable

Re: Scroll position in line chart

hi, thank for fast response.

Actually i changed slider position and run the macro through button, but it is not moving to right of the chart.

What might be the cause ?

Thanks in advance

mwoolf
Honored Contributor II

Re: Scroll position in line chart

You're correct. That API call sets the initial scroll postion. After that, the user controls the scroll bar.

Not applicable

Re: Scroll position in line chart

hi,

After changing the slider position, can we make the scroll position should set back to right after leaving the sheet ? So when user come back again to that sheet scroll bar should be visible at right side.

Is this possible ?

Thanks in advance.

mwoolf
Honored Contributor II

Re: Scroll position in line chart

Don't think so.

Not applicable

Re: Scroll position in line chart

Thank for your participation on this post and sharing your knowledge.

If you got to know that it is possible, please share with me.

Once again thanks.

Regards,

Venkat.