Multiple chart effects conflicting with each other

Hello all!  
Issue Description:
-  Two chart series of two different series types (mx:ColumnSeries and mx:LineSeries)
-  Trying to run two different chart data effects (mx:SeriesZoom and mx:SeriesSlide) simultaneously 
-  Having some sort of conflict
My application is more complex than this, but this is a good example of the type of thing that's happening on our chart when the data provider changes:
1)  Please compile and run the following code.  
2)  Then click the button at the bottom of the application.
3)  Notice how after the line series gets removed, it appears for a second, then disappears without using its hide and show effects.  Then it reappears, but this time using the appropriate chart data effect.
Can anyone tell me how to fix this?
Thanks,
Anton
-----------------------------   THE CODE:  -------------------------------
<?xml version="1.0"?>
<!-- charts/MultipleSeries.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="100%"
height="100%">
  <mx:Script>
    <![CDATA[
         import mx.collections.ArrayCollection;
        [Bindable]
        public var SMITH:Array = [
           {date:"22-Aug-05", close:42.87},
           {date:"23-Aug-05", close:45.74},
           {date:"24-Aug-05", close:48.77},
           {date:"25-Aug-05", close:44.06},
        [Bindable]
        public var DECKER:Array = [
           {date:"22-Aug-05", close:49.59},
           {date:"23-Aug-05", close:45.3},
           {date:"24-Aug-05", close:43.71},
           {date:"25-Aug-05", close:47.88},
        public var year:int = 1;
        public function changeProvider():void {
            if (year == 2) {
                lineSeries.dataProvider=DECKER;
                colSeries.dataProvider=SMITH;
                b1.label="View Second Year Data";
                year=1;
            } else {
                lineSeries.dataProvider=SMITH;
                colSeries.dataProvider=DECKER;
                b1.label="View First Year Data";            
                year=2;
    ]]>
  </mx:Script>
  <!-- Define chart effects -->
    <mx:SeriesSlide 
        id="slideIn" 
        duration="1000" 
        direction="right"
    />
    <mx:SeriesSlide 
        id="slideOut" 
        duration="1000" 
        direction="left"
    />
    <!-- Define chart effects --> 
  <mx:SeriesZoom id="zoomOut" 
     duration="2000" 
     minimumElementDuration="50"
     elementOffset="50" 
     verticalFocus="top" 
     horizontalFocus="left"
     relativeTo="series"
  />
  <mx:SeriesZoom id="zoomIn" 
     duration="2000" 
     minimumElementDuration="50" 
     elementOffset="-50" 
     verticalFocus="top" 
     horizontalFocus="right"
     relativeTo="series"
  />
  <mx:Panel title="Multiple Data Series" width="100%" height="100%">
     <mx:ColumnChart id="myChart"
        dataProvider="{SMITH}"
        showDataTips="true"
        height="100%"
        width="100%"
     >        
        <mx:horizontalAxis>
           <mx:CategoryAxis categoryField="date"/>
        </mx:horizontalAxis>
        <mx:verticalAxis>
           <mx:LinearAxis minimum="40" maximum="50"/>
        </mx:verticalAxis>
        <mx:series>
           <mx:ColumnSeries
                     id="colSeries"
                dataProvider="{SMITH}"
                xField="date"
                yField="close"
                displayName="SMITH"                   
                showDataEffect="zoomIn"
                hideDataEffect="zoomOut"
           >
           </mx:ColumnSeries>
           <mx:LineSeries
                     id="lineSeries"
                dataProvider="{DECKER}"
                xField="date"
                yField="close"
                displayName="DECKER"
                     showDataEffect="slideIn"
                     hideDataEffect="slideOut"
           >
           </mx:LineSeries>
        </mx:series>
     </mx:ColumnChart>
     <mx:Legend dataProvider="{myChart}"/>
  </mx:Panel>    
  <mx:Button id="b1" click="changeProvider()" label="View Second Year Data"/>
</mx:Application>

This seems to work, how cool!
<mx:SeriesSlide 
    id="slideOut" 
    duration="1000" 
    direction="left"
    effectEnd="lineSeries.visible=false"
/>
<mx:SeriesZoom id="zoomOut" 
    duration="2000" 
    minimumElementDuration="50"
    elementOffset="50" 
    verticalFocus="top" 
    horizontalFocus="left"
    relativeTo="series"
    effectEnd="lineSeries.visible=true"
/>

Similar Messages

  • Will 2 routers running in server mode with no vtp domain defined conflict with each other when connecting over layer 2 sonet?

    Our remote site has a 3845 router running MPLS to connect back to our other 3845 locally. The ISP has provided us a layer 2 sonet connection with no other configurations necessary with the exception of configuring the layer 2 portion on our side. Both of these 3845 routers are in "server mode" with "no vtp domain" specified. Will this cause an issue/conflict when the remote router bypasses the MPLS for the faster 100MB layer 2 connection?

    Jon,
    Excellent answer. Our two 3845 routers are about 400 miles away and we're trying to bring up a layer 2 100MB sonet connection over fiber connected to the GIG0/1 port on each router. I was worried that essentially having these 2 routers back to back over layer 2 may cause issues since our remote site has a higher revision number than our local site. It appears since we're configuring an ip address on each router and then adding the network to ospf this shouldn't conflict with our 2 routers. Below is how each router VTP is configured with the exception our remote site has 1 extra VLAN and a higher revision number.
    VTP Version                     : 2
    Configuration Revision          : 0
    Maximum VLANs supported locally : 68
    Number of existing VLANs        : 5
    VTP Operating Mode              : Server
    VTP Domain Name                 :
    VTP Pruning Mode                : Disabled
    VTP V2 Mode                     : Disabled
    VTP Traps Generation            : Enabled
    MD5 digest                      : 0xBF 0x86 0x94 0x45 0xFC 0xDF 0xB5 0x70

  • Do two wifi networks in the same home have to conflict with each other?

    I have an Xfinity1 system that requires its own combo modem/router supplied by Xfinity in order to run its system. The premise here is that you can play live tv from any of your devices like computers, iPads and iPhones using their wifi system, and it works well.
    I was advised by Apple that my two Airport Expresses, which provided my network before I brought in the Xfinity system, should be reconfigured to "join" my Xfinity network instead of maintaining their own separate network. So I reconfigured everything at their direction, and now my Airports won't stream music or anything else. I called Apple, we checked out my configuration and found out my Airports were set up and working correctly.
    Now I have been advised by a senior Apple tech to go back to my original setup with the Xfinity network and a separate Airport Express network. This was late last night, and I was just too tired to do it at that point. So, today I have a phone appointment with that senior Apple tech to change everything back to my original setup.
    I would like some input from the community about this situation. Maybe there is more to this than meets the eye. Like why are these Airports currently not streaming music from any of my devices? The Airport icon shows up when I try to stream music, but when I choose one of the two Expresses nothing happens.
    The Xfinity system does not stream Apple stuff. Could the problem be that, by joining the Xfinity network, the Airports cannot stream music from iTunes or iPads or iPhones because the Xfinity system cannot accommodate Apple content under any circumstances. In other words, do you just have to have an Apple network to stream Apple content?
    HELP.

    By default, the WLC code does not try to contain rogue AP's.  Just lots of alarm's and unclassified rogue's.
    In this case you hosts may have actually enabled containment but would have also received a screen full of warning about the public nature of the unlicensed wifi band.
    Here the Superior Court system is side by side with the County system even to the extent that the AP's are next to each other.  Gets fun.  Since each SSID constitutes a rogue, each unit represents a LOT of rogues to report.
    Good Luck

  • Ipod Nano and really old 20 gb Ipod, will they conflict with each other?

    Hi. I guess I'm pretty lucky as I won a new Ipod Nano, 8gb. I'm very happy with my old 20 gb first edition Ipod. No issues ever with the old one. I'd like to use the new Nano working out, etc. How will Itunes know I have a new Nano and will it conflict w/my old one? Can I set playlists for just the Nano? Can I watch videos on a Nano? Any help would be great on features, do's/don'ts, etc. Thank you for the time.

    Hello Litodeck,
    Since there is no limit to the number of iPods you can have synced to one library and iTunes account, you should have no problems hooking up the new nano. As to how you want to manage each iPod depends. There are number of different possibilities here. I think for the best help and information regarding these methods, I would check out this Apple support document.
    [How to use multiple iPods with one computer|http://support.apple.com/kb/HT1495]
    As to watching movies on your iPod, yes, you can. You will either have to import videos of your own or purchase them from the iTunes store. On top of that, you will also have to set your iPod up to sync videos from under the Videos tab for your iPod in iTunes.
    Hope this helps.
    B-rock

  • How to keep E6 and N8 in sync with each other?

    I've had an N8 for the last 6 months or so (coming from an E71!.)  I love the N8 hardware but, though I can manage, I do not love "touch."  I've been longing for the ability to slice through the Symbian layers that a hardware keyboard gives so I've ordered an E6.
    I plan on using the E6 as my daily workhorse with the N8 interspersed.  Does anyone have suggestions for the best way to keep them in sync with each other?
    Many thanks,
    Michael

    Hi mknf,
    Welcome to the Nokia Support Discussions!
    Which data/files are you trying to sync between the 2 phones? For the emails, this will still depend on the protocol that your provider is using. For POP mails, emails can only be accessed on 1 device while IMAP supports multiple device as it leaves a copy on the server.

  • Multiple Wireless Mighty Mouses Near Each Other

    Can there be multiple wireless mouses close to each other without affecting the other computer?

    I do not have two MMs, but I have used my MM along with my Logitech MX900 BT mouse with no problems.
    As the other poster noted, they each get paired separately.
    Also once an MM or other BT mouse is paired with a machine, it will require re-paring with another machine if you chose to use the mouse with the other machine. At least that is my experience - a mouse can only be paired with one computer at a time. But there is no limit, AFAIK, to the number of mice you can use on a single computer.

  • Getting 4  swf files comunicate with each other on server

    Hallo
    I would like to ask anybody, may be a bit hard question.
    Firstly the example I'm talking about
    issue">http://www.kiamotors.cz/showroom/ceed_test.aspx
    home">issue
    site. See the flash movie on the bottom. That's it. Those are 4
    diferent swfs. The problem is, as you could noticed, load time of
    each other. If you want to ask why the hell you just wount make 1
    falsh video, put that white cross on top of it if u like the effect
    and ur done. But believe me or not I just simply can't. Site's
    useing special CMS where is 4 divs for 4 swfs... Here u can see it
    more clear [L=http://www.kiamotors.cz/[L=home page ... so here is
    my question.....
    Is ther any posibility to make swfs communicate with each
    other on server. Let's say... swf 1 don't start till swf 2,3,4 load
    aswell a.s.o.
    P.S.: sorry for my grammer ...

    You could use ExternalInterface to have javascript act as a
    middleman to communicate things across swf's, but if you don't have
    the ability to change the page code, which seems to be the case,
    then that probably will not owrk as a solution for you.

  • How do I Help Apple Care Stop Warring with Each Other and Fix the Problem with My iPhone that They Acknowledge Creating?

    How Do I Help Apple US & Apple Europe Stop Warring With Each Other And Fix The Problem They Created?
    PROBLEM
    Apple will not replace, as promised, the iPhone 5 (A1429 GSM model) that they gave me in London, UK, with an iPhone 5 (A1429 CDMA model).
    BACKGROUND
    My iPhone 5 (A1429 CDMA model) was purchased this year in September on an existing Verizon Wireless (VZW) line using an upgrade. The purchase took place in California and the product was picked up using Apple Personal Pickup through the Cerritos Apple Retail Store. I will refer to this phone at my "original" phone.
    The original phone was taken into the Apple Store Regent Street in London, England, UK on November 15, 2012. The reason for this visit was that my original phone's camera would not focus.
    The Apple Store Regent Street verified there was a hardware problem but was unable to replace the part.
    The Apple Store Regent Street had me call the US AppleCare. At first they denied support, but then a supervisor, name can be provided upon request, approved the replacement of my original phone with an iPhone 5 (A1429 GSM model) as a temporary solution until I got back in the US. And approved that the GSM model would be replaced with a CDMA model when I came back to the US. I will refer to the GSM model as the "replacement". They gave me the case number --------.
    The Apple Store Regent Street gave me the replacement and took the original. The first replacement did not work for reasons I do not understand. They switched out the replacement several times until they got one that worked on the T-Mobile nano SIM card that I had purchased in England, UK. Please refer to the repair IDs below to track the progression of phones given to me at the Apple Store Regent Street:
    Repair ID ----------- (Nov 15)
    Repair ID ----------- (Nov 16)
    Repair ID ----------- (Nov 16)
    The following case number was either created in the UK or France between November 15 to November 24. Case number -----------
    On November 19, 2012, I went to France and purchased an Orange nano SIM card. The phone would not activate like the first two repair IDs above.
    On November 24, 2012, I went to the Apple Store Les Quatre Temps. The Genius told me that my CDMA phone should not have been replaced with a GSM model in the UK and that this was clearly Apple's fault. They had me call the AppleCare UK.
    My issue was escalated to a tier 2 UK AppleCare agent. His contact information can be provided upon request. He gave me the case number -----------.
    The UK tier 2 agent became upset when he heard that I was calling from France and that the France Apple Store or France AppleCare were not helping me. He told me that my CDMA phone should not have been replaced with a GSM model in the UK and that this was clearly Apple's fault.
    The UK tier 2 agent said he was working with engineers to resolve my problem and would call me back the next day on November 25, 2012.
    While at the Apple Store Les Quatre Temps, a Genius switched the phone given to from repair ID ----------- with a new one that worked with the French nano SIM card.
    Also, while at the Apple Store Les Quatre Temps, I initiated a call with AppleCare US to get assistance because it seems that AppleCare UK was more upset that France was not addressing the issue rather than helping me. I have email correspondance with the AppleCare US representative.
    A Genius at the Apple Store Les Quatre Temps switched the replacement with a new GSM model that worked on the French SIM card but would not work if restored, received a software update, or had the SIM card changed. This is the same temporary solution I received from the Apple Store Regent Street in the UK.
    By this point, I had spent between 12-14 hours in Apple Store or on the phone with an AppleCare representative.
    Upon arriving in the US, I went to my local Apple Store Brea Mall to have the replacement switched with a CDMA model. They could not support me. He told me that my CDMA phone should not have been replaced with a GSM model in the UK and that this was clearly Apple's fault. My instructions were to call AppleCare US again.
    My call with AppleCare US was escalated to a Senior Advisor, name can be provided upon request, and they gave me the case number -----------. After being on the phone with him for over an hour, his instructions were to call the Apple Store Regent Street and tell them to review my latest notes. They were to process a refund for a full retail priced iPhone 5 64BG black onto my credit card so that I could use that money to buy a new iPhone 5 64GB black at the Apple Store Brea Mall to reoslve the problem.
    The Apple Store Regent Street did not process my refund. He, name can be provided upon request, told me that the AppleCare US did not do a good job reviewing my case, that they were incapable of getting to the bottom of it like they were, and instructed me to call AppleCare US and tell them to review this case number and this repair id. I asked if he read the notes from the AppleCare US Senior Advisor and he would not confirm nor deny. When I offered to give him the case number he accepted but it seemed like would do no good. Our call was disconnected. When I tried calling back the stores automated system was turned on and I could not get back through.
    Now I have the full retail price of an iPhone 5 64GB black CDMA on my credit card and Apple will not process the refund as they said they would.
    I've, at this point, spent between 14-16 hours at Apple Stores or on the phone with AppleCare representatives, and still do not have the problem resolved.
    SOLUTION
    AppleCare US and AppleCare Europe need to resolve their internal family issues without further impacting their customers.
    Apple is to process a refund to my credit card for the cost of a full retail priced iPhone 5 64GB black.
    DESIRED OUTCOMES
    I have an iPhone 5 (A1429 CDMA model) that works in the US on VZW as it did before I received the replacement phone in the UK.
    Apple covers the cost of the solution because I did not create the problem.
    Apple resolves their internal issue without costing me more time, energy, or money.
    This becomes a case study for AppleCare so that future customers are not impacted like I have been by their support system.
    Does anyone have recommendations for me?
    Thank you!
    <Edited by Host>

    Thanks, but I've been on the phone with AppleCare US (where I am and live) and AppleCare UK. They continue bouncing me back and forth without helping resolve the problem.
    Perhaps someones knows how to further escalate the issue at Apple?

  • Hi, I'd like to set alarms or reminders on my I phone or I pad so that it can update or sync automatically with each other. I don't know if this is possible or how to do it. I hope you can help..

    Hi, I'd like to set alarms or reminders on my I phone or I pad so that it can update or sync automatically with each other. I don't know if this is possible or how to do it. I hope you can help.

    HI, if I did this, then I believe that I cloud would then hold my info which I don't want. Is that the case? The reason is that I'm an old git, therefore used to not giving out info. Would I be right?
    Thank-You so much for taking the time to answer.
    John.

  • I currently use an iPhone, an iPad, and a Mac computer for business.  The three devices have Contacts Managers that sync with each other through both Google and through Mobile Me.  Currently, this has created a mess of duplicate contacts.  Please researc

    I currently use an iPhone, an iPad, and a Mac computer for business.  The three devices have Contacts Managers that sync with each other through both Google and through Mobile Me.  Currently, this has created a mess of duplicate contacts.  Please advise me on the steps necessary for removing these duplicates and establishing a syncing solution that doesn't regenerate the duplicates.  There are several applications available that remove duplicates, but I am not sure which ones work or don't work.  I want information on this, but most importantly I want to understand how to fix this problem permanently.  Also, I read somewhere that Mac's new operating system, Lion, can help deal with duplicates.  I don't have Lion, but I would be willing to get it, if this would fix the problem.

    Had the same problem with 4 devices (two computers, an iPhone and an iPod). The solution is simple: open the Address Book application in your mac, ask it to locate duplicate entries (under one of the top menu items, "edit" I think), and then ask it to consolidate them: it took me all of three seconds after I figured it out: worked like a charm! PS: if you have more than one mac with unconected Address Books, repeating the operation in the second one may be a good idea.
    Message was edited by: mfduran

  • I have two apple id's because my hotmail account is no longer active. How can I delete the old one and use or update the new one?  Every time I try it won't allow me and now my iPad thinks there are two accounts and they are arguing with each other. Help!

    I have two apple id's because my hotmail account is no longer active. How can I delete the old one and use or update the new one?  Every time I try it won't allow me and now my iPad thinks there are two accounts and they are arguing with each other. Help!

    You can't merge accounts or copy content to a different account, so anything that you bought or downloaded via the old account is tied to that account - so any updates that those apps get you will only be able to download via that account. You can change which account is logged in on the iPad via Settings > Store

  • I have an I pad2, an iMac desktop and an I phone 5, how do I get them all to be bale to face time with each other, do I need different email addresses, use the phone number, or the sim number in the iPad ? Ay help gratefully received !!

    I have an I pad2, an iMac desktop(2012) and an I phone 5, how do I get them all to be able to face time with each other, do I need different email addresses, use the phone number, or the sim number in the iPad ? Any help gratefully received !!

    Graham,
    For the iPad, iMac you need to create verifyible e-mail addresses created with one of the providers such as Yahoo, Gmail,etc.  For the iphone you should use it's phone number, but an e-mail could be used for it too.  If you want to associate these e-mail addresses with a single ID, I'm including a link to give you info about how you can do that. Read it carefully, as it can be a bit confusing.
    http://support.apple.com/kb/HE68

  • New bug in 8.02 - regions confused with each other

    So, I just updated to 8.02, and loaded up a recent project that was half finished (bad idea).
    Now I have some strange bugs going on that I never had before, and they are basic issues.
    My audio regions keep getting confused with each other.
    I have an audio region that I can't open in the sample editor. When I double click on it, the sample editor will bring up the last region I edited, not the new one. I've re-named the region, deleted it and re-added it to the arrange window, but this region will not open in the sample editor.
    I can see it in my media bin, and preview it there, and it plays in my arrangement no problem, but I can't get it to open in the sample editor. In fact sometimes when I click on it, with the media window open, I can see another sample being 'selected' in the media window instead of the proper audio region.
    Scott

    finally i find someone else with the same prob, o already post into apple.com too
    yes here the same, bug new in 8.0.1, cause on logic 8.0.0 all works fine (except some click noise when you pre-listen a file in autoloop)
    however here what i can say to you (it's 3 days i'm studyng this cause i make a massive use of ultrabeat)
    - no matter both power pc / intel soffer of this bug
    - i try to update to leopard from my 10.4.11 (same bug) tryin a new os installation (same bug), tryn without audio card and driver (same bug)
    so i really don't know how to solve it, cause there are only few people that have this problem
    big mistake and big mistery

  • For WRT1900AC, how do the 4 antennae work with each other?

    I am curious how the 4 antennae work with each other.  Does a wifi client need to communicate with all 4 antennae?  Or just 1 (or 2)?  I am curious, as I would like to move 1 or 2 of the antennae via proper cable to expand the coverage area.  

    bigdave240 wrote:
    spec on that cable is 10.8dB per 100 feet. I would think that the router would still have a problem with that. Not sure how long the OP was going to make it but with the beaming technology i would think it would throw it off balance.
    My maximum is 60ft when using LMR400 for standard wireless applications. I have done that many many times.
    These days they typically integrate the higher gain antenna right into the bridge housing or mount the outdoor bridge right next to the antenna.
    Please remember to Kudo those that help you.
    Linksys
    Communities Technical Support

  • How can I have threads communicate with each other?

    I'm working on a project that requires a group of classes communicating with each other. I decided on using a server and carrying out communication that way. However, my app only has communication between the client and server. I need the clients to be able to communicate with each other. Does anyone know how I can do this or point me to a good tutorial?

    Sorry, here's a bone stock example of my server and client:
    <SERVER>
    package testserver;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class TestServer
    static int portOpen;
    public static void main(String[] args)
    portOpen=4000;
    try
    ServerSocket portListener = new ServerSocket(portOpen);
    TestServer userThreads = new TestServer();
    while (1==1)
    Socket userConnection=portListener.accept();
    userThreads.new PortConnection(userConnection);
    catch (Exception e)
    System.out.println("The server encountered a serious error. Server shut down.");
    e.printStackTrace();
    System.exit(0);
    class PortConnection extends Thread
    //Declare variables to handle connections.
    Socket ourConnection;
    BufferedReader serverInput;
    PrintWriter serverOutput;
    PortConnection(Socket userConnection)
    try
    ourConnection=userConnection;
    serverInput=new BufferedReader(new InputStreamReader(userConnection.getInputStream()));
    serverOutput=new PrintWriter(userConnection.getOutputStream(),true);
    start();
    catch (Exception e)
    System.out.println("An error occurred when a user attempted a connection.");
    public void run()
    serverOutput.println("Welcome to the Server.");
    try
    serverOutput.close();
    serverInput.close();
    ourConnection.close();
    catch (Exception e)
    </SERVER>
    <CLIENT>
    package testclient;
    import java.io.*;
    import java.util.*;
    import java.net.*;
    public class TestClient {
    static BufferedReader userInput;
    static Socket quizServer;
    static BufferedReader serverInput;
    static PrintWriter serverOutput;
    static String serverData;
    public static void main(String[] args) {
    userInput = new BufferedReader(new InputStreamReader(System.in));
    try {
    quizServer=new Socket("localhost",4000);
    catch (Exception e) {}
    try
    serverInput=new BufferedReader(new InputStreamReader(quizServer.getInputStream()));
    serverOutput=new PrintWriter(quizServer.getOutputStream(),true);
    catch (Exception e) {}
    try {
    serverData=serverInput.readLine();
    catch (Exception e) {}
    System.out.println(serverData);
    </CLIENT>

Maybe you are looking for