Sign in to follow this  
ultranerds

ScrollArea2D - make it so the scrollbar automatically scrolls to the right?

Recommended Posts

Hi,

 

 

 

I'm using the ScrollArea2D chart, to show the last 90 days worth of "rankings" for a site. This is fine, appart from the fact I need it to really scroll over to the right (i.e the most recent data) automatically.

 

 

 

Is this possible?

 

 

 

I know I could just reverse the data, so the newest comes first, and then goes backwards - but that will really confuse people, so isn't really an option =)

 

 

 

TIA

 

 

 

Andy

Share this post


Link to post
Share on other sites

Hi,

Please use <chart> attribute - scrollToEnd='1' .

i.e

<chart ......... scrollToEnd='1' ...... >

scrollToEnd Boolean 0/1 When the chart renders, you can opt to scroll to the end of the chart (to show data at extreme right) by setting this attribute as 1.
Edited by Guest

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this