How to dynamically add new line series to the line chart in flex?

i need to add line series dynamically..and each line  series should have a different data provider...

A chart can have only 1 dataProvider which in my case is an ArrayCollection.
The chart will update every time the dataProvider changes if you use binding.
So you have to write a function that periodically populates the ArrayCollection with data from the server and the chart will update automatically.
'Using line charts' tutorial from Adobe: http://livedocs.adobe.com/flex/3/html/charts_types_08.html#243339

Similar Messages

  • How can I add new games without overwriting the old ones?

    I have just purchased two new games in the itunes store and although they are showing in the library (under applications) my previously purchased games are not. In Summary under games it will not let me choose selected games only 'all games' and when I press sync warns that the existing games will be replaced. How can I add these games without deleting the older ones? Also if I did want to remove a game from my ipod how do I do it?

    hardlyquinn wrote:
    Part of the problem is that I can never sync the whole thing as I dont keep all my music in my library (it seems silly to have my enture cd collection on the computer).
    Clearly it ISN'T silly as it avoid issues like you are having right now. If you need more space, get an external hard drive. To me it is much sillier to only have your stuff on the iPod and no where else as the iPod, as a small portable player, is much more likely to be dropped, lost, damaged, stolen, forgotten somewhere, etc.
    While I am not familiar with the use of games on the iPod (I have never bought any) you can switch the iPod to manually manage and then you can add content to your iPod without losing what is already there. Perhaps it works for games as well.
    But long term, I strongly suggest you keep all your stuff in your library so if you need to (you have to perform a restore on the iPod, you lose it and buy a new one, etc.) you can very easily sync it all back to the iPod when needed.
    Good luck,
    Patrick

  • How to dynamically add new components in a panel when a button is clicked

    Hi,
    I am building a gui which is used to create a new database schema, the panel now contains 6 entries and if i want to include more fields i press add more field button, how to write the event handler for the button which adds more fields. please help
    thank you.
    Edited by: rahul_ram on Sep 30, 2009 10:59 PM
    Edited by: rahul_ram on Sep 30, 2009 11:02 PM

    To get better help sooner, post a [_SSCCE_|http://mindprod.com/jgloss/sscce.html] that clearly demonstrates your problem.
    Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
    db

  • How to dynamically add/remove a button from the ribbon based on some condition? (Ribbon XML)

    Hi,
    I have a ribbon (done using ribbon XML) with menu options. I need to remove few buttons from the menu dynamically based on some condition. Also, I want to change the label of another button. How to achieve this programmatically? (C#)
    Thanks in advance.
    Thanks Prasad

    Hello Prasad,
    Use callbacks for populating Ribbon controls such as menu, dropDown, gallery and etc. Then you can use the
    Invalidate or
    InvalidateControl methods of the
    IRibbonUI interface to get your callbacks invoked when required. Thus, you will be able to delete the required item(s).
    You will find the following articles in MSDN helpful:
    Chapter 11: Creating Dynamic Ribbon Customizations (1 of 2)
    Chapter 11: Creating Dynamic Ribbon Customizations (2 of 2)
    To change the label of your controls at runtime you need to use the getLabel callback and call the Invalidate or InvalidateControl methods of the IRibbonUI interface. The following series of articles describe the Fluent UI in depth:
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)

  • How can I add new/changed passwords to the 'save password'feature?

    I recently change an important password. Firefox didn't prompt me to 'save' it. Is there anyway I can add it or any other 'non saved' passwords to the existing list. If not, why not ?

    See:
    *Saved Password Editor: https://addons.mozilla.org/firefox/addon/saved-password-editor/

  • How can I Add new LookAndFel to IDE

    How can I Add new LookAndFel to IDE "JDeveloper 10g" ?
    (to the combo box in the Tool->Preferences->LookAndFeel ).

    Here is how you can add new L&Fs to the drop down list. (Instructions are for Linux , as I use Linux, but they will work for Windows too)
    Add the L&F jar to <path to JRE>/lib/ext (or <path to JDK>/jre/lib/ext). Then create swing.properties (if it does not already exist) in <path to JRE>/lib (or in jdk...) with following lines:
    swing.installedlafs = motif,windows,metal,mac,plastic
    swing.installedlaf.motif.name = CDE/Motif
    swing.installedlaf.motif.class = com.sun.java.swing.plaf.motif.MotifLookAndFeel
    swing.installedlaf.windows.name = Windows
    swing.installedlaf.windows.class = com.sun.java.swing.plaf.windows.WindowsLookAndFeel
    swing.installedlaf.metal.name = Metal
    swing.installedlaf.metal.class = javax.swing.plaf.metal.MetalLookAndFeel
    swing.installedlaf.mac.name = Mac
    swing.installedlaf.mac.class = com.sun.java.swing.plaf.mac.MacLookAndFeel
    swing.installedlaf.plastic.name = Plastic
    swing.installedlaf.plastic.class = com.jgoodies.plaf.plastic.PlasticLookAndFeel
    swing.defaultlaf=com.jgoodies.plaf.plastic.PlasticLookAndFeel
    Note that I retained default example L&Fs that normally come with the JDK/JRE (depending on the platfom) and added PlasticLookAndFeel as additional PLAF (Pluggable Look And Feel).
    Now it should be possible to choose Plastic L&F in not only JDeveloper but also other Swing apps that you want to use.
    Please let me know if this works and also if you have any questions.
    - Ganesh

  • Add new column in PO Schedule line.

    -Currently Container# and Port is stored in table EKET
    -Add new columns in PO schedule line items and show the above two fields
    Please help me in this.
    How to add above two fields in standard transactions ME21n/Me22n/Me23n
    The answer is User Exit.
    The next question is how to find,write,configure an user exit.

    .

  • Add New Screen Fields in Delievery Line Item

    Hello All,
    We have a requiremnet where we should add 3 custom fields to delivery line item tabs,
    please let me know how I can add a new tab for delievry line item tabs and how to add new custom screen fields in that tab,.
    Thanks
    Add New Screen Fields in Delievery Line Item
    Edited by: kishore_99 on Dec 8, 2009 5:31 PM

    No, I won't explain it in detail - you need to read the documentation and at least make an attempt at the process on your own first.  The documentation is right there in the IMG where I said it was but here's the path since you can't find it:
    Logistics Execution -> Shipping -> System Modifications -> Business Add-Ins in Shipping -> BADI for Additional Item Detail Screen...

  • How do I add new Apple ID as it said it reach maximum

    Please tell me how do I add new apple id as I already added a lot and it's said that it reach maximum. I forgot my Apple ID password and can't recover because I cant ***** the email.

    Easy. Open System Preferences > iCloud and sign in with the same Apple ID and password you used when you initially set up your MacBook Pro. Select the iCloud services you wish to use.
    I also want to know how to sink my phone with my Mac
    Read iOS: Syncing your data with iTunes
    Instructional video

  • How do I add new contacts to my Hotmail on my IPad?, How do I add new contacts to my Hotmail on my IPad?, How do I add new contacts to my Hotmail on my IPad?, How do I add new contacts to my Hotmail on my IPad?

    How do I add new Contacts to my Hotmail on my IPad?

    You can add them via the Contacts application on your iPod or via the Hotmail interface in a web browser.
    For future reference, this forum is for older iPods not the iPad, so you post future questions regarding your iPad in the iPad forums.
    https://discussions.apple.com/community/ipad
    B-rock

  • How do i add a music zipfile to the new itunes?

    how do i add a music zipfile to the new itunes?

    Unzip the folder first (extract all).
    Right-click the folder and from the menu, choose Extract All and follow the prompts. You then import the extracted files.

  • How can I add new content in iDVD to a DVD-RW disc which has ample remaining free space? After preparing the new video for burning and clicking on Burn to iDVD, I get a window saying the disc's already recorded and that I can either Erase or Eject.

    How can I add new content in iDVD to a DVD-RW disc with a video previously successfully recorded on it? (The disc has ample remaining free space.)
    After preparing the new video for burning and clicking in the File menu on Burn to iDVD, I get a window saying the disc's already recorded and that I can either Erase or Eject. My assumption has been that iDVD would automatically find the free space and continue with the new recording from there. I'd be grateful if anyone can shine light on this.

    There are, but not with a DVD written as a movie disk. It must be closed when completed, or it doesn't work.
    Apple's built in Burn utility also automatically closes any data CD, DVD or Blu-ray disk you burn. Doesn't matter how much space is unused, you can't use it. You'd have to use a more advanced disk creation app, such as Toast Titanium. I then have the option of choosing to write the data as a session:
    I can keep doing this until the disk is full. If I've written five sessions to the disk, when I put it in the drive, five CD/DVD icons will appear on the desktop since the OS will treat each session as if they are separate physical disks. At any point you choose Write Disk when writing a group of data, that means you're closing the disk, and again can't add anything after that. So if I had written two sessions, and the third was Write Disk, it's over. I can't put anything else on that disk.

  • HT1351 We had 2 computers: his itunes library on one, and mine on the other. We got rid of both of those and got a new computer.  I put music on the new computer.  My ipod songs are not on itunes.  Will I erase them if I sync?  How do I add new music?

    We had 2 computers: his itunes library on one, and mine on the other. We got rid of both of those and got a new computer.  I put new music on the new computer.  My ipod songs are not on itunes on the new computer.  Will I erase them if I sync?  How do I add new music?

    See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • How can i add new tab in Business Partner

    hi every body,
    Present i am working on SAP CRM 3.0 version. i need to add new tab in BP.  Here EEWB not available. How can i add new tab?

    Hi  babu,
    you can add new tab in Buisness partner with the help of screen configaration functionality,in screen configaration u select first bp role (sold to party or retailer etc) and click on process screen sequence  and again click on overview and u will get fields right side of the screen, there u will see the field "new screen" click on that and add description for new tab and click on continue,save the document
    now u will again create a bp with modified bp role u will see changes means u will see new tab page on perticular bp role
    i hope this is helpful
    Rewards points if helpful
    Thanks&regards
    kishore kumar

  • How can i add new jcomponent to a frame?

    hi.
    how can we add new component to a frame? look at this code. Why when i click on button, nothing added to frame? event handled correctly and frame size changes but no button adds to frame.
    private void convertButtonMouseClicked(java.awt.event.MouseEvent evt) {
    // TODO add your handling code here:
    JButton newButton = new JButton("new");
    getContentPane().add(newButton , BorderLayout.CENTER);
    newButton.setVisible(true);
    setSize(500, 500);
    }

    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.
    Well typically you wouldn't add a button to the Center of a BorderLayout. If you really want to do this you should be using a [Card Layout|http://java.sun.com/docs/books/tutorial/uiswing/TOC.html].
    In general the code for adding/removing components should be:
    panel.add(...)
    panel.revalidate();
    panel.repaint();

Maybe you are looking for

  • Column order in the index and its effects

    Lets say i've an index called ind_tab3 which is made up of two columns in the following order (col1,col2). If query comes against the table with WHERE clause like 'WHERE col2 =35' , will the ind_tab3 index be used. If this index is not used for this

  • How to find which displays are supported

    Is there a way that I can find out what monitors are supported in 10.5.4? Is there a file in one of the directories that shows the various drivers? I had been using my Sony KLV-S32A10 as an external monitor, and it worked fine in Leopard 10.5.2, but

  • Wifi problem, Lenovo G560, Broadcom device, cannt find drivers that work in Win 7 32bit.

    Hi,  i scoured the internet and you forums for solutions and unfortunatelly nothing helped.  My problem is as folows:  i did a new clean install of Win 7 Home Proffesional on laptop Lenovo G560 Bios: 29CN34WW and after i downloaded all your recommend

  • Ant Scripts works fine in one but fails in other environment

    Hi, Ant script is working fine in Dev environment but is failing in the other environment. Somehow the BPEL server is not able to pick the latest deployed process , due to this the dependent BPEL processes are failing. If we restart the server , it m

  • Different Web Template selection based on query selection values entered

    Dear Experts, We have a very unique requirement in our BI7 system. There is a web report which comprises of multiple queries and query views embedded in web templates. There are 2 selection parameters F1 and F2 that appear on executing the report. Ou