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

  • SEARCH
  • Home
  • 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 5950093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:20:40+00:00 2026-05-22T17:20:40+00:00

I have created Columnchart in Adobe Flash Builder. Now I want to control that

  • 0

I have created Columnchart in Adobe Flash Builder.

Now I want to control that column chart with Slider.
I want to change the column chart according to value of the slider.

How can I achieve this?

Any suggestions are helpful.
Thanks in Advance !

  • 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-22T17:20:41+00:00Added an answer on May 22, 2026 at 5:20 pm

    You need to add a listener for the Change Event to your Slider component.
    Then you update the chart’s data provider and re-assign it to the chart.
    Here’s a modified sample from Tour de Flex.

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="top"
        horizontalAlign="center" backgroundGradientColors="[0x000000,0x323232]" paddingTop="0" viewSourceURL="srcview/index.html">
    
        <mx:Script>
            <![CDATA[
    
            import mx.collections.ArrayCollection;
    
            [Bindable]
            private var medalsAC:ArrayCollection = new ArrayCollection( [
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]);
            //slider change handler
            private function columnSliderChanged(event:Event):void{
                trace(columnSlider.value);//print slider
                medalsAC.getItemAt(1).Gold = columnSlider.value * 10;//assign slider value to Gold for China (item index 1)
                column.dataProvider = medalsAC;//re-assign data provider
            }
            ]]>
        </mx:Script>
    
        <mx:Panel title="ColumnChart Control" layout="horizontal" color="0xffffff" borderAlpha="0.15" width="600" height="240"
             paddingTop="10" paddingRight="5" paddingBottom="10" paddingLeft="5" horizontalAlign="center">
    
             <mx:ColumnChart id="column" height="100%" color="0x323232"
                showDataTips="true" dataProvider="{medalsAC}">
    
                <mx:horizontalAxis>
                    <mx:CategoryAxis categoryField="Country"/>
                </mx:horizontalAxis>
    
                <mx:series>
                    <mx:ColumnSeries xField="Country" yField="Gold" displayName="Gold"/>
                    <mx:ColumnSeries xField="Country" yField="Silver" displayName="Silver"/>
                    <mx:ColumnSeries xField="Country" yField="Bronze" displayName="Bronze"/>
                </mx:series>
            </mx:ColumnChart>
    
            <mx:Legend dataProvider="{column}" color="0x323232"/>
    
        </mx:Panel>
        <!-- added a slider here, updates on dragging and has a change event handler -->
        <mx:HSlider id="columnSlider" liveDragging="true" change="columnSliderChanged(event);"/>
    </mx:Application>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to create a column chart from values that I have stored in
I have created a few small flash widgets that stream .mp3 audio from an
I have created a simple program that i want to replace some chars with
I have created a class that extends Application to store variables I want to
I have created a mac application using the WebView. But issue is that webView
I have created a currency fomatter class. I want this to be a util
Have created simple Ajax enabled contact forms before that have around 12 fields -
Have created a custom navigation menu in wordpress that has some pages and some
I have created a little program that reads in a Java file and feeds
If I create column chart that has values that are > 0 but much

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.