Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Scrolling start position in chart?

Hi there,

Is it possible to set a start position for a scroll bar in a chart object? (line chart)

Please see my attached images. As you can see, my x-axis dimension consists of periods, and I want to have the scroll bar placed to the right as default when I open the QlikView document. I have used the chart scroll setting (also attached) och the Presentation tab in the object. I thought it would be nice to see the last 12 months, but i don't want to reverse my dimension as getting the latest period to the left makes no sense.

I also read about the "Preverse scroll position" setting on the Layout tab, but that couldn't help me... Is it possible to get a solution to this slight problem?

Thanks in advance.

Best regards,

Filip

1 Solution

Accepted Solutions
swuehl
MVP
MVP

There is a way to set the initial position to right.

You need to create a Macro, and run it once. After that you can delete the Macro, the chart property will be kept changed.

The Macro code looks like

SUB StartScrollRight 

         SET chartObject = ActiveDocument.GetSheetObject("CH01") 

         SET chartProperties = chartObject.GetProperties 

        chartProperties.ChartProperties.XScrollInitRight = true

        chartObject.SetProperties chartProperties  

END SUB 

You'll need to adapt the Chart ID. Run the Macro e.g. from a button.

View solution in original post

17 Replies
MK_QSL
MVP
MVP

Layout Tab >> Preserve Scroll Position

Not applicable
Author

You can create a bookmark/ It's also possible to save scroll position

Bookmark.png

richard_pearce6
Luminary Alumni
Luminary Alumni

Hi,

I'd like to know the answer to this questions too.

One thing I did recently is to create a class() field on the date and used a variable attached to a slider to control the interval.

Using a combination of this and chart scrolling 'when number of items exceeds' the first view a users sees has no scroll and then they have the option with the slider to show greater detail and therefore more dates.

It worked for my requirements although you are now aggregating the data when you're not at the lowest level which may not suit your needs.

I look forward to hearing a solution.

Richard

QlikCentral.com

richard_pearce6
Luminary Alumni
Luminary Alumni

I tried the bookmark option and it didn't work for chart scrolls

richard_pearce6
Luminary Alumni
Luminary Alumni

I also tried the layout option and that didn't seem to work

Anonymous
Not applicable
Author

Back to my original question,

Is it possible to set a start position for a scroll bar in a chart object?

I don't want to use bookmarks and as I wrote in my post, "Preserve Scroll Position" doesn't help me...

Anonymous
Not applicable
Author

Is there nobody who knows a solution to this problem? Is it not possible?

bnichol
Specialist
Specialist

Did you ever find an answer?

Thanks,

B

Anonymous
Not applicable
Author

Unfortunately not.