Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6840207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:48:51+00:00 2026-05-26T23:48:51+00:00

I would like to scroll the amcharts flex stock chart programmatically on it’s horizontal

  • 0

I would like to scroll the amcharts flex stock chart programmatically on it’s horizontal axis, in other words along the time axis.

I need to do this, because I need to scroll one period at a time and would like to hook this up to keyboard events.

I couldn’t find anything in the documentation here: http://flex.amcharts.com/stock_class_reference/com/amcharts/stock/package-detail.html

I’ve also tried mucking around with the period selector to see whether I can change the values on it, but no luck there.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:48:52+00:00Added an answer on May 26, 2026 at 11:48 pm

    You should simply set some interval and zoom chart each time. For example:

    private function initialZoom():void
    {
        var firstDate:Date = dataSet.dataProvider[0].date;
        var endDate:Date = new Date(firstDate);
        endDate.setDate(endDate.getDate() + 20);
        chart.zoom(firstDate, endDate);
        setInterval(zoomChart, 1000);
    }
    
    private function zoomChart():void
    {
        var startDate:Date = new Date(chart.startDate);
        var endDate:Date = new Date(chart.endDate);
    
        startDate.setDate(startDate.getDate() + 1);
        endDate.setDate(endDate.getDate() + 1);
    
        chart.zoom(startDate, endDate);
    }
    

    initialZoom should be called on dataUpdated event fired by AmStockChart. Note, you shouldn’t set any period as “selected” in order this to work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to create a horizontal scroll bar which has the value varying
I have an iframe for which I would like to enable a horizontal scroll
I would like to completely reset the scroll position of a UITableView, so that
I would like to reproduce UIScrollView's flick-to-scroll behavior, but I don't want to use
I would like to know how I can maintain the scroll position when I
I am using jcarousel to auto scroll some images. I would like to know
I have a big table with vertical scroll bar. I would like to scroll
I have a div and I would like to auto scroll it every 5
I would like to have my user scroll inside a CPXYGraph. I have a
I have an AJAX navigation and I would like to scroll the page to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.