Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Qlikview Unlocked

You're reading from  Qlikview Unlocked

Product type Book
Published in Nov 2015
Publisher Packt
ISBN-13 9781785285127
Pages 196 pages
Edition 1st Edition
Languages

Table of Contents (16) Chapters

QlikView Unlocked
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Behind Every Successful Project Is a Plan 2. Building the Correct Environment 3. Are You Sitting Comfortably? Be More Productive 4. It's All About Understanding the Data 5. The Right Data Model Pays Dividends 6. Make It Easy on Yourself – Some QlikView Tips and Tricks 7. Improving Chart Performance and Usability 8. To Deployment and Beyond Hidden Image List
Index

Defaulting the scroll bar to the right of a chart


There are times when you have a lot of dimensions and a scroll bar is required. However, suppose you want to sort on date, going from the oldest to newest, and you want to make the default view the current one, which shows the newest dates that are on the right-hand side of the chart. There is no obvious property that allows this. However, there is a property built into the chart object; it's just that there isn't a GUI option to set it.

The way to set this property is to write a subroutine in the Module script and then to run it just once.

In the example elaborated earlier in this chapter, where we sorted a chart's dimensions, we can show this with the scroll bar to the right.

First of all, we need the Object ID of the chart that we wish to change. Open up the properties and look at the General tab. To the right is a box with the Object ID; in this case, it is CH02:

Now, we need to add the following text to the Module script. First, open the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}