Help with Datatip Not showing on 2 different charts at the same time

What's up guys?  I am building a massive application and came across an issue. I was able to create a smaller flex application that recreate the problem. Basically its about the datatip. Let's say you have a Main application with tab navigation that calls 2 different modules:  Module A, and Module B. Module A has a piechart with datatip enabled. Module B has a linechart with datatip also enabled. For some reason the piechart datatip are showing while the linechart datatip are not showing on mouse over (only on click). Any idea what's going on or how to fix it so that both charts show their datatip on mouse over? -Thank you
Here are the codes below:
MAIN APPLICATION:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" paddingTop="20">
    <mx:VBox paddingTop="50" width="80%" height="100%" paddingLeft="50">       
            <mx:TabNavigator width="80%" height="100%" >           
                <mx:VBox label="Module A" >
                    <mx:ModuleLoader url="tester2.swf" width="100%" height="100%"/>
                </mx:VBox>
                <mx:VBox label="Module B" mouseChildren="true" >
                    <mx:ModuleLoader url="tester.swf" width="100%" height="100%" />
                </mx:VBox>                   
            </mx:TabNavigator>   
    </mx:VBox>   
</mx:Application>
Module A:
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"   xmlns:local="assets.*"  initialize="_onInitialize( event )">
    <mx:Script>
        <![CDATA[
            import mx.controls.Alert;
            import mx.events.FlexEvent;
            import mx.collections.ArrayCollection;
            [Bindable] private var _chartDP:ArrayCollection;
            private function mouser(event:MouseEvent):void
                Alert.show("RPG");
            private function  _onInitialize( event:FlexEvent ):void
                // set up our chart data
                _chartDP = new ArrayCollection();
                _chartDP.addItem( { quarter:1, shooter:1000, racing:400, rpg:550 } );
                _chartDP.addItem( { quarter:2, shooter:875, racing:230, rpg:600 } );
                _chartDP.addItem( { quarter:3, shooter:920, racing:310, rpg:512 } );
                _chartDP.addItem( { quarter:4, shooter:750, racing:130, rpg:489 } );
        ]]>
    </mx:Script>
    <!-- defining the chart -->
    <mx:LineChart id="gameSales_chrt"   
       dataProvider="{ _chartDP }" showDataTips="true"  y="45" x="83" >
        <!-- Setting our Axis/Axes -->
        <mx:horizontalAxis>
            <mx:CategoryAxis categoryField="quarter" title="Sales Quarter" />
        </mx:horizontalAxis>   
        <!-- Set up our data series -->   
        <mx:series >
            <mx:LineSeries yField="shooter" displayName="First Person Shooter" form="segment" />
            <mx:LineSeries yField="racing" displayName="Racing Simulation" form="segment" />
            <mx:LineSeries yField="rpg" displayName="Role Playing Game" form="segment"  />
        </mx:series>
    </mx:LineChart>
    <!-- Set up the legend for the chart -->
    <mx:Legend dataProvider="{ gameSales_chrt }" direction="horizontal"  x="121" y="10"/>
</mx:Module>
Module B:
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"  initialize="_onInitialize( event )">
    <mx:Script>
        <![CDATA[
            import mx.events.FlexEvent;
            import mx.collections.ArrayCollection;
            [Bindable] private var _chartDP:ArrayCollection;
            private function  _onInitialize( event:FlexEvent ):void
                // set up our chart data
                _chartDP = new ArrayCollection();
                _chartDP.addItem( { genre:"Shooter", quarter1:1000, quarter2:932,  quarter3:845, quarter4:663 } );
                _chartDP.addItem( { genre:"Racing",  quarter1:565,  quarter2:875,  quarter3:732, quarter4:432 } );
                _chartDP.addItem( { genre:"RPG",     quarter1:432,  quarter2:743,  quarter3:531, quarter4:289 } );
        ]]>
    </mx:Script>
    <!-- defining the chart -->
    <mx:PieChart id="gameSales_chrt"   
       dataProvider="{ _chartDP }"
       showDataTips="true" y="60" x="10">
        <!-- Set up our data series -->   
        <mx:series>
            <mx:PieSeries
                nameField="genre"
                field="quarter2"
                labelPosition="insideWithCallout" />
        </mx:series>
    </mx:PieChart>
    <!-- Set up the legend for the chart -->
    <mx:Legend dataProvider="{ gameSales_chrt }" direction="horizontal"  y="10" x="24"/>
</mx:Module>

Well upon using the debug function and having a stop at the show datatip static function, i came across this error
TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::DragManagerImpl@195b9b21 to mx.managers.IDragManager.
at mx.managers::DragManager$/get impl()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\DragManager.as:15 2]
at mx.managers::DragManager$/get isDragging()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\DragManager .as:187]
at mx.charts.chartClasses::ChartBase/processRollEvents()[C:\work\flex\dmv_automation\project s\datavisualisation\src\mx\charts\chartClasses\ChartBase.as:2310]
at mx.charts.chartClasses::ChartBase/mouseMoveHandler()[C:\work\flex\dmv_automation\projects \datavisualisation\src\mx\charts\chartClasses\ChartBase.as:4308]

Similar Messages

  • Collecting data from advantech-usb4704 with two different apps at the same time

    I wonder if I can access to Advantech-4704 with two different applications at the same time?
    I use this block in my vis.
    I have enough ports, but inputs are needed in completely different applications. Do I have to close one of them or can they run simultaneously?
    Thankyou!

    Dear gtu,
    as nathand said, usually it is not supported to access the same physical resource simultaneously from multiple programs. In case of DAQmx for instance, you will get an error message which says that the resource is already reserved. I suppose the same would happen with your driver, however it might be worth a try.
    One workaround could be however if you revise your applications and merge the codes if it is possible so that no concurent resource allocation takes place.
    Best Regards,
    Adam Cseh
    Applications/Systems Engineer
    National Instruments

  • Is it possible to realize two different processes in the same time with TDMS?

    Hello all,
    we have one TDMS but a lot of workstreams. Is it possible that 2 different workstreams in the same time realize anonymization in TDMS?
    Thanks in advance!!!
    Ilkin Mammadov

    Hello Anita,
    I am sorry.I mean we have a lot of projects (for example Procurement, Finance, Logistics, etc) and each of them wants to anonymize. But it is existing just one TDMS. Can these projects start with anonymization in the same time or they have to wait till one of projects finished anonymization?
    Thanks in advance!
    Best regards,
    Ilkin

  • Is it possible to face time with 3 different people at the same time?

    Is it possible to face time with 3 different people at the same time?

    Check out GoToMeeting http://tinyurl.com/k6q84kw
     Cheers, Tom

  • Time Division Multiplexing and Processing Different Loops at the same time

            Hi, I am new in Labview so you may find my questions too silly, sorry about that
    I want to design an interface to control the test&measurement devices remotely. I have two desks and there are several devices on these desks. The real problem is to use two different devices at the same time. To do this I heard that I can use time division multiplexing. But I couldn't find enough information about it in Labview. Another advice I heard was to use a matrice and hold the on/off state of the devices in this matrice. 
    Where should I start the design to create such a system? Do you have any advices? Thank you in advance.
    My basic GUI is attached.
    Attachments:
    InterfaceAli.zip ‏42 KB

    As Mike pointed out you cannot communicate in parallel on the GPIB bus - unless you have separate buses for each instrument - and that defeats the purpose of a bus. I am not sure about LXI.
    With regard to your VI:
    1. Do not use global variables to pass your data around.
    2. You should use the Array data type, not the Matrix data type. The Matrix data type in LabVIEW should only be used for matrix mathematical operations (linear algebra) which cannot be easily performed on the array data type. You have many more tools in LV to work with arrays.
    3. The Event structure needs to be in a parallel loop. This is basic data flow. If you do not understand this concept, get some training, either though the online tutorials or through a class.
    4. Use Value Changed events and place the button terminals inside the event case for that control.
    5. The parallel loops need to have a Wait or some other function which causes a delay. Otherwise, the first one to start executing could consume all available processor resources. These are called "greedy loops." 
    6. Use integer data types for case structure selector inputs. Floating point values are coerced to integers at the inputs. If the values resulted from calculations, unexpected rounding effects may occur, resulting in the wrong case being selected. In some cases using type defed enums may be even better. The underlying data is integer and the enum item names show up in the case selector labels, helping to document what the case does or why it was selected.
    7. Remove the timeout case from the event structure since it never executes. Also avoid Use Default if Unwired on the terminal with your matrix (array) data. You never have a situation where an empty array is appropriate.
    Before going any further with the program questions, you need to carefully define your requirements.  How many instruments will you have? How many can be active at one time? What kinds of communication between the program and the instruments is required? This includes commands to the instrument, data returned from the instrument, error handling, and timing requirements. What will be done with the data? Display, save to file, use to automatically control another device? What safety requirements or constraints need to be met? Once you have a good requirements document, then you can begin to determine what kind of program architecture is best suited to meet the needs.
    I suspect that you may be making some things much more complicated than they need to be while ignoring other important issues.
    Lynn

  • My MacBook is almost two years old and has started running really slow. It gets bogged down when it is running different programs at the same time, like Safari and Pages. It didn't react this way until recently. Any advice would be very welcome.

    My MacBook is almost two years old and has started running really slow. It gets bogged down when it is running different programs at the same time, like Safari and Pages. It didn't react this way until recently. Any advice would be very welcome.

    Launch Disk Utility and select the icon of the internal drive (the drive itself, not the volume icons below it.) Is the SMART status "Verified?" If not, replace the drive immediately. If the status is "Verified," the drive may still be failing. Back up all data, if you haven't already done so. Reinstall Mac OS X, then run Software Update. Test with all wired peripherals disconnected. If it's still slow, you have a hardware problem.
    Mac OS X 10.6 Help: Reinstalling Mac OS X

  • Controller different Input in the same time in a real Scenario...(SIMULATION IN 2 TANKS CONTROLLER BY PCB BOARD)

    Hi! I really need help....
    I´m doing a simulation where I can controller the input and output with one external PCB, all is working properly (the communication) but my problem is, I can´t open where ever I want the different valves...I mean, I must wait until the process is finish...
    The program is working with diferents process like this:
    §Process 0:
        Programinitialization. Tanks and pipes in zero state. Control for this state with  “pump on” button.
    §Process 1:
        §State:
             “ Pump on ” button istrue: Pump 1 isrunning, andTank 1 starts to be filled with water.
             “ Pump on ” button is false: nothing happen, go to the next process
    §Process 2:
         This process is controlled from the “Control 1”button with is who control “Valve 1” for the discharge of water from tank 1 to tank 2.
    §Process 3:
          This processiscontrolledfromthe “Control 2 ”button with is who control “Valve 2” for the discharge of water from tank 1 to tank 2 if “Control 3 ” button is close or if “Control 3 ”button is open the water go out from the loop.
    §Process 4:
          This processgiveyoutheoptiontocome back totheprocess 1 ortotheprocess 2 dependingofthestate in process 3.
    So my problem is I want  run different processes in the same time, without having to wait out the current process is running....
    this look like this:
    and with the differents states...so I was trying to use a Statechart for try to improve the simulation....
    like this:
    But when I was tried to implement in labview with the statechart module i can't find the way to interconexión with this new module...
    Because i need two differents regions...but i can't use the connexion between them....
    Some new idea, help....all is welcome!!!
    Thanks in advance.
    Elena

    Buenos días Alvaro,
    Si, mejor en español
    Si, me has entendido bien, exactamente es lo que me gustaria. 
    Empece por mi cuenta con labview y hay muchas cosas que se me escapan... Voy a implementar la máquina de estados a ver si asi soluciono el problema.
    Muchas gracias!
    Un saludo!

  • How Can I generate 2 different WaveForm in the same time

    Hello,
    I use a NI 6733 card and measurement studio 8 with MFC class.
    I would like to generate 2 different waveform in the same time on 2 diffrent analog output channel.
    I would like to know how can i do that bescause I succeed to generate one wafeform on one channel but not the second.
    I would like to create 2 task one per analog output channel and waveform and launch the task in the same time.
    I use the buffer FIFO and I think I have a probleme to share the buffer between the to different channel.
    thank you for your attention.

    Hello,
    This corresponds of the third case detailed in this KnowledgeBase. You have to use one task with two channel, and feed it with your two independant waveforms (at the same sampling rate).
    Cordially,
    .mrLeft{float:left} .mrInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898}
    Mathieu R.  
      CTD - Certified TestStand Developer / Développeur TestStand Certifié  
      CLAD - Certified LabVIEW Associate Developer  

  • I can not establish more then 1 call at the same time

    Hi,
    I have SPA9000 with four active accounts. I can not establish more then 1 call at the same time. Accounts are all in registered state. The field in SIP tab, Default Group Line:, is by default: 1,2,3,4 which means if line 1 is busy try the next one in the order ( in this case number 2). But this is not happening. It always tries to dial out with the first line (account). There is no problem with the provider and I don't want to specify groups of userID's and to assign them special line for dialing out.( by the way in this way it is possible to establish more parallel calls, but then each user will always have to dial thru specific line only). Please help me to find out if the SPA is faulty or give me some workaround, so that when I try to make a call , if one line is busy to dial out thru the next available.
    P.S. I suspect that SPA9000 does not notice when the line is busy or not. Maybe there is some issue with the Control Timer Values (sec) on Regional tab.
    Thanks,

    no it can only be one person at a time

  • "you can not use multiple instance of Program at the same time"

    Hello @ all,
    I have a Problem, after the installing from Acrobat Testversion and acrobat reader in version in "all Combination" 8 an 9.
    I get this misstake information "you can not use multiple instance of Program at the same time" if I want open more then 1 .pdf.
    If I have no pdf open, but acrobat/reader so i can´t open with the same Misstake.
    I have deinstalled and installed, Allways I bekame the same information. I tryed all things to clean and know i don`t know forward.
    Important: by Drag an Drop in the Acrobat Reader it is going, but by direct click on the pdf i get mistake.
    Maybe, you know what I can do!
    Thanks for help!

    Installation of both Acrobat and Reader in the same Windows machine is not advisable. If I were you, I would remove both completely and then reinstall the one you want to keep.

  • How to compare two different characteristics at the same time in polestar

    Hi Gurus,
    I would like to analyse the e fashion universe in polestar with comparison of previous year product line with current year product line at the same time.
    is there any way to do that we can compare two years of the product line sales revenue at the same time with comparison chart like 2003 T shirts vs 2002 T shirts 
    in polestar we can compare the two measures at the same time but i want to compare the sales revenue of product lines of two years in a comparison chart at the same time.
    Regards and thanks
    Abid Paul

    Hi Stratos,
    I am actually able to compare the Measures  but i want the comparison between the two different characteristics like this year  productline  vs last year productline at the same time with say one measure like sales revenue or any other.
    Is it possible to compare the both and it should represent in the chart as well at the same time.
    In the polestar i can compare three measures at the same time but i want to compare characteristics like year  2009 productline VS 2008 productline with one measure say sales revenue.
    I would really appreciate if you could help me out.
    Regards and thanks
    Abid

  • Stream from iMac to 2 different ATV's; different movies, at the same time?

    Can I stream  from my iTunes library on my mid 2014 iMac; to two different 3rd gen ATV's, two different movies at the same time?

    Thank you Alley_Cat for your reply!
    Yes...all devices are enabled for Home Sharing with the same APPLE ID, all on the same network, the content is in iTunes and compatible, computer and iTunes running, and I am initiating playback on the AppleTVs themselves via the Computers icon.
    playback is is fine on 1st ATV. When I TRY to connect to ATV #2... and try to connect to my iTunes library i get:
    COULD NOT CONNECT TO _______ LIBRARY MAKE SURE COMPUTER IS ON THE SAME NETWORK AND ITUNES IS UP TO DATE AND ITUNES IS RUNNING.
    iTunes is up to date ver11.3.1.(2) .  As noted before,same network iTunes compatible, running and initiating playback on ATV's via Computers icon.

  • Control two different parameters at the same time

    Two motors were connected each other rigidly. One motor controlled torque and the other motor controlled speed. I generated some torque and speed data which represented one cycle of motion from a motor simulation. I like to send these two different data sets (torque and speed) to two different motors at the same time. Torque data sends to one motor and speed data sends to the other motor to see the response of the load profile. In order to do this, I thought about using multithread, but I am not sure it will work for this application. Usually multithreading delay the CPU time so the overall control process might be delayed, right? If you have better idea, please let me know.

    If you are using one motion controller to control both motors, you will probably run into problems if you try to use multithreading on the PC. However, you can execute up to 10 programs (threads) at a time, in addition to host communication, using on-board programming. For more information on on-board programming please refer to the following tutorial: Developer Zone Tutorial: On-board Programming in FlexMotion
    Best wishes!
    Dawna P.
    Applications Engineer
    National Instruments

  • Same query different timings , different sessions at the same time

    I am running exactly the same query from 2 different sessions almost simultaneously and in one session it is taking 2 seconds and in the other it is taking 20 seconds. The explain plans in both the sessions (by set autotrace on) are exactly the same. The timing is almost same for succesive runs of the query in the same sessions. That is when I run the query again in the "slow session" it is always around 20 seconds and when I run the query again in the "fast session" it is always fast. The queries are being run within a few seconds of each other so the load on the database is almost same.
    My hunch is that it is a database parameter that needs to be changed to solve this problem, can someone guide me with this ....which parameters I should ask our DBAs to adjust ? Our database is Oracle 10G.
    Regards
    Amitabha

    Duplicate thread
    Same query different timings , different sessions at the same time
    Gints Plivna
    http://www.gplivna.eu

  • HT204380 Can you FaceTime two different people at the same time?

    Can you FaceTime two different people at the same time?

    No, not at this time. Feedback to Apple goes HERE, and click on the appropriate section.

Maybe you are looking for

  • How to validate for 2 decimal places

    How can I put a check while inserting into a number(5,2) field that user has entered only 2 decimal places. Right now if the user inserts records like 23.5456 it gets inserted as 23.56 . I want these type of records to error out. Is there an easy way

  • CRM 5.0 Business package

    All, We have install CRM 5.0 Business Package on an EP7.0 box. A portal user has been assigned Partner Manager Channel Role ( com.sap.pct.crm.partnermngrcc). On logging into the portal with Partner Manager Role, the iviews associated to the Worksets

  • Missing address book icon

    My address book icon is missing.  I have checked the "show all" and it still doesn't appear.  Any suggestions??  Thanks! Solved! Go to Solution.

  • STARTTLS issue, related to "Invalid" certificate

    Hi, We have an issue on one of our CAS servers that is not allowing STARTTLS. We have tracked this down to an invalid certificate. In fact I believe it is the certificate that is created when you install Exchange. On each server we have two certifica

  • MIMETYPE FDF PDF

    Sorry für das Mehrfachposting, aber ich hab aufgrund eines fehlenden Bildes beim Developer´s Corner gar nicht gesehen, daß es diese Rubrik gibt :-( Ich bin dabei, von einem PDF-File ein Servlet zu starten, welches eine FDF-Datei generiert, mit Daten