Dynamically adding ColumnSeries doesn't work

I created the following code to create different series dynamically:
<?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
        creationComplete="application1_creationCompleteHandler(event)"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
        <fx:Script><![CDATA[
            import mx.charts.series.ColumnSeries;
            import mx.collections.ArrayCollection;
            import mx.collections.Sort;
            import mx.collections.SortField;
            import mx.events.FlexEvent;
            [Bindable]
            public var Loc01:ArrayCollection = new ArrayCollection([
                {date:"2002", close:41.87, loc: "Location 01"},
                {date:"2005", close:48.06, loc: "Location 01"},
                {date:"2006", close:48.06, loc: "Location 01"},
                {date:"2002", close:157.59, loc: "Location 02"},
                {date:"2003", close:160.3, loc: "Location 02"},
                {date:"2003", close:45.74, loc: "Location 01"},
                {date:"2004", close:42.77, loc: "Location 01"},
                {date:"2004", close:150.71, loc: "Location 02"},
                {date:"2002", close:45.74, loc: "Location 03"},
                {date:"2003", close:42.77, loc: "Location 03"},
                {date:"2004", close:150.71, loc: "Location 03"},
                {date:"2005", close:156.88, loc: "Location 02"}
        protected function application1_creationCompleteHandler(event:FlexEvent):void
            // TODO Auto-generated method stub
            var obj:Object;
            var arr:Array = [];
            var i:int;
            var ac1:ArrayCollection;
            var NS:ColumnSeries;
            var sortA:Sort = new Sort();
            var sortByLocation:SortField = new SortField("loc",false,false,false);
            var sortByDate:SortField = new SortField("date", true, false, false);
            sortA.fields=[sortByLocation, sortByDate];
            Loc01.sort=sortA;
            Loc01.refresh();
            i=0;
            arr[i] = Loc01[0].loc;
            for each(obj in Loc01){
                if(arr[i] != obj.loc)
                    i++;
                    arr[i] = obj.loc;
            var str: String;
            i=0;
            for each(str in arr){
                ac1 = new ArrayCollection();
                for each(obj in Loc01){
                    if(str == obj.loc)
                        ac1.addItem(obj);
                ac1.refresh();
                if(!myChart.series[i])
                    myChart.series.push(new ColumnSeries());
                NS = myChart.series[i];
                NS.dataProvider = ac1;
                NS.yField = "close";
                NS.horizontalAxis = h1;
                NS.displayName = str;
                NS.verticalAxis = v1;
                NS.id = "cs" + i.toString();
                i++;
    ]]></fx:Script>
    <fx:Declarations>
        <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <mx:Panel x="49" y="30" width="868" title="Column Chart With Multiple Axes">
        <!--mx:Legend width="769" dataProvider="{myChart}"/-->
        <mx:ColumnChart id="myChart" width="601" showDataTips="true" dataProvider="{Loc01}">
            <mx:horizontalAxis>
                <mx:CategoryAxis id="h1" categoryField="date"/>
            </mx:horizontalAxis>
            <mx:horizontalAxisRenderers>
                <mx:AxisRenderer placement="bottom" axis="{h1}"/>
            </mx:horizontalAxisRenderers>
            <mx:verticalAxisRenderers>
                <mx:AxisRenderer placement="left" axis="{v1}"/>
            </mx:verticalAxisRenderers>
            <mx:verticalAxis>
                <mx:LinearAxis id="v1" minimum="30" maximum="170"/>          
            </mx:verticalAxis>
            <mx:series>
                <mx:ColumnSeries id="cs0"/>
            </mx:series>
        </mx:ColumnChart>
    </mx:Panel>
</s:Application>
The hard coded ColumnSeries (the first one) works fine, but the next series which are created dynamically don't work. What's wrong in my code? Any help would be much appreciated.

I replaced the following part of the code:
     if(!myChart.series[i])
          myChart.series.push(new ColumnSeries());
with the following lines:
     if(!myChart.series[i])
          var tmp:Array = myChart.series;  
          tmp.push(new ColumnSeries()); 
          myChart.series = tmp;  
          myChart.invalidateSeriesStyles();
And it works fine now.

Similar Messages

  • In human task, dynamically assign group doesn't work

    Oracle SOA 11.1.1.4
    My bpel process invokes a human task.
    On the human task Assignment tab, I assigned 3 users (by name), 1 group (by expression).
    The group is configured in LDAP
    When I tested the bpel process, I entered the group and other data required.
    From the worklist app, I see the task listed. It is assigned to the 3 users, but not the dynamically passed-in group.
    From the Audit trail, I saw all data I entered (include the group). Everything seems correct, but I still can’t make the dynamically-pass-group work.
    If I assign the group by name in human task, it works fine.
    The problem is: dynamically assign group doesn't work.
    Please kindly advice.

    Yes, it is possible assign a group as participant of some human task, passing the group name as parameter.
    I have tested just now.
    It works pretty well in SOA 11.1.1.4 (BPEL or BPM).
    Make sure add a data parameter in your human task definition and pass a valid group name to it.
    At the Assignment tab, in the participants' list, add a group, data type by expression, and set the value to the right xpath expression to the corresponding parameter.
    For example: /task:task/task:payload/task:group
    If it is not working look the SOA log files, probably you'll find some information about the error there. Maybe there is some problem with your jazn.com configuration.
    You can also test if there is something wrong related to the group name, trying to transfer some task to the same group by the worklist.

  • Satellite P300 - Value Added package doesn't work after computer restart

    Hi,
    I have got Toshiba Satellite P300 PSPCCA running windows vista ultimate 64x. I can not get my soft touch button working. I downloaded latetest TVA Package and installed it. After installation it asks for restart but I dont restart my laptop and I just perform Restart Flash Card and my soft touch button works all good which is mute, media player,etc. but once I restart my laptop it stops working.
    I have tryed uninstalling and reinstalling software but no luck. I have read in toshiba forum about running CCleaner and do fresh installation but still have same problem.
    Does any of you know how to fix it.
    BTW i have got AVG internet security software on my system but have have added toshiba folder to exclude from realtime scanning just in case if its causing problem but no luck. I have searched qurantine folder and its nothing in there.
    Please help me to get my soft touch button working.
    Thanks.
    Regards,
    Jay
    Message was edited by: Jay Padia

    Hello Jay
    I agree with Akuma. All you can do is to remove preinstalled VAP from the system and install latest version again. Why you didnt follow instruction to restart notebook after VAP installation?
    I have installed VAP several times on my Satellite P200 and Satellite A300 without any problems but after latest version installation I have restarted notebook immediately. The installations procedure was finished and needed processes started in the background. I presume this is the problem on your Satellite P300.
    If nothing helps the last step is to install OS again using recovery installations DVD. After doing this you will have clean preinstalled OS and everything will work well again.

  • Itunes File Sharing: Adding files doesn't work

    Hi,
    i have a problem adding files via Itunes File Sharing in Apps. Here's my setup:
    Windows 7 64bit, german
    Itunes 11.1.5.5, x64, german
    Iphone 5s, 32GB, directly attached via USB
    several apps with file sharing support (OpenVPN, VLC, Good Reader...)
    Now, when i choose one of the apps and click "Add...", i get a file selection dialogue, select a file and click 'ok'... that's it.
    Nothing happens. The file is not added to the window.
    It's not added to the phone after a sync, so it doesn't seem to be a display  problem. But i don't get an error message at
    any point, so i'm quite flattered where to start looking for the problem.
    Steps so far:
    Reinstallation Itunes - no effect
    Reinstallation Drivers - no effect
    Starting with a new media library - no effect
    The only thing suspicious are some bonjour errors in the windows logs. But even with disabled bonjour service the problem persists.
    I've searched for this in the forums but didn't find a proper thread/answer for this.
    Anyone coming up with an idea? At least where to look for the problem? Is there a log file/command line parameter/deep inside special genius trigger to pull? I'm getting out of options here. :/
    Thanks a lot!
    Regards from germany,
    l0calhost

    Problem solved. Complete deinstallation of ITunes, computer restart, telephone restart and finally reinstallation of the app did the trick.
    But still, how would you debug a problem like this, when no error message comes up at any point?

  • Dynamic Entry List doesn't work correctly on Visual composer  7.3

    Hi,
    Well I create two Dynamic Drop dow list box in the model of Visual Composer 7.3 and I Linked the two Dinamic drop down boxes ( i.e. drop down box "country" is linked with drop down box "state"), where the 2nd drop down is populated by the entries of the 1st drop down by the help of a web service.
    When i run the model and chose one item form the 1st drop down list, the 2nd drop down list work's fine but when i select again the 1st drop down list and change the item for another, the 2nd drop down list try to refresh the data and erase the descripcion of the item but don't erase the value of that item and when you select the 2nd again the value appears like another item to select..
    Has any one experienced this problem and can help on this?  
    Thanks in advance AllenXP.

    Hello,
    Could you please send me a simple model that demonstrates the case you are talking about?
    For your convinience I've create SAPMATS container. So you can upload the model example using this link:
    https://sapmats-de.sap-ag.de/upload/index.cgi?id=XTGM95R7EH199IIGMCWJ6QK43592SXT1Z9CVCQ57D7QI8XRS8F
    Thanks,
    Talia

  • .mov files appear as Unix after recovery, adding extension doesn't work

    (Also posted in Quicktime forum)
    Whilst backing up (with Synchronise X) a drive, I accidentally clicked to allow around 15GB worth of Quicktime files to be deleted, in two folders.  Realising my mistake, I stopped the back up immediately, and recovered all the files with Disk Drill.  One folder recovered correctly, however the other folder recovered the files as 'Unix executable files'.  I have tried adding the .mov extension to these files, tried opening from within Quicktime, but always get the error message that the files are not a movie.  I tried telling the file to open with QT in the Get Info windoww, still without success.  All the files are of a size which seem to be about right for what they are supposed to be, but I cannot get them to open as movies.
    One observation: the files which recovered correctly all had '.mov' in their file names at the time of recovery, all those with which I am having a problem had no extension name showing.
    I've searched through these forums and elsewhere - most people get the files to work by adding the .mov extension, but for me this is not the answer.  Are there any more tricks?

    Thanks guys for your speedy suggestion, both of you!
    I tried QT Repair, and when that was unsuccessful, moved onto Media Salvage, as suggested by QT Repair.  The final report was that the media was seriously corrupted, so I had no success.
    It seems odd to me that the rescued files in one folder from the original delete are OK,  but those in the other folder are unrescuable, even though there was clearly no time to overwrite all those files before I cancelled the delete action.
    Fortunately they are backed up elsewhere, 5,000 miles away, but that's another story.

  • Dynamic trimming function doesn't work?

    I'm currently editing a 3D movie using Apple ProRes 422 (SQ) QT video files. I'm syncing and linking them to separate audio wave files on the time line and then creating new video and audio clips in the browser.
    When I go into dynamic trimming with these master clips in the time line to match action I can't seem to see in the viewer or the canvas what I'm matching to. Also, when I set a new edit point the playhead jumps to the another point in the canvas.
    Does FCP 6 have a bug using this work flow to trim with?

    i'm editing a movie using ProRes 422 (SQ) QT files that have been synced with audio, and when I go to use the trim tool, lately I've been having what sounds like the same problem.
    I go into dynamic trimming, but when I add frames to one side, often the edit point skips to an entirely different place in the timeline. It seems to be happening more and more and has basically rendered the trim tool useless.

  • Adding JScrollPane doesn't work... hmm....

        private void jbInit() throws Exception {
            this.getContentPane().setLayout(null);
            this.setSize(new Dimension(400, 300));
            this.setTitle("All Videos Own By Store");
            ta_show.setBounds(new Rectangle(30, 25, 320, 220));
            ta_show.setEditable(false);
            ta_show.setEnabled(false);
            JScrollPane scrollingArea = new JScrollPane(ta_show);
            getContentPane().add(scrollingArea);
            this.getContentPane().add(ta_show, null);
            //this.getContentPane().add(scrollingArea);
            this.setVisible(true);
        }ta_show is the JTextArea...
    I will load a text file into the JTextArea and it should show the JScrollPane since the text file is quite large... But it doesn't show..
    Any ideas?

    try this for size:
        private void jbInit()
            JPanel p = new JPanel();
            p.setPreferredSize(new Dimension(400, 300));
            p.setLayout(new BorderLayout());
            int eb = 20;
            p.setBorder(BorderFactory.createEmptyBorder(eb, eb, eb, eb));
            ta_show.setPreferredSize(new Dimension(800, 600)); // or however big you want it
            ta_show.setEditable(false);
            //ta_show.setEnabled(false);
            JScrollPane scrollpane = new JScrollPane(ta_show);
            p.add(scrollpane, BorderLayout.CENTER);
            getContentPane().add(p);
        }

  • Adding contacts doesn't work

    Just downloaded skype. Instructions -which are impossible to find- say to click on People icon on the left and then to click on the + on the right to add contacts. Clicking on Peopke does nothing.
    How do you add contacts???

    Hi
    Have you tried logging out of AIM and logging back in again.
    Tony

  • Dynamic adding of components (doesn't work when programmatically)

    Hi, I don't understand, why this doesn't work. I'll explain it on this example:
    import java.util.concurrent.ScheduledThreadPoolExecutor;
    import java.util.concurrent.TimeUnit;
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    public class NewFXMain extends Application {
        Group root;
        public static void main(String[] args) {
            Application.launch(NewFXMain.class, args);
        @Override
        public void start(Stage primaryStage) {
            primaryStage.setTitle("Hello World");
            root = new Group();
            Scene scene = new Scene(root, 300, 250, Color.LIGHTGREEN);
            Button btn = new Button();
            btn.setLayoutX(100);
            btn.setLayoutY(80);
            btn.setText("Add button now");
            btn.setOnAction(new EventHandler<ActionEvent>() {
                public void handle(ActionEvent event) {
                    addButton();
            root.getChildren().add(btn);  
            primaryStage.setScene(scene);
            primaryStage.setVisible(true);
            System.err.println("Number of buttons before: "+root.getChildren().size());
            ScheduledThreadPoolExecutor executor = new ScheduledThreadPoolExecutor(1);
            executor.schedule(new MyTask(), 5, TimeUnit.SECONDS);
        private void addButton() {
            System.err.println("Button adding");
            root.getChildren().add(new Button("YEAH"));
            System.err.println("Number of buttons after: "+root.getChildren().size());
        class MyTask implements Runnable {
            public void run() {
                addButton();
    }There are two ways how a new button can be added. Either by clicking on existing button or programmatically by the program itself after 5 seconds.
    If you add it by button, there is no problem. The error print is:
    Number of buttons before: 1
    Button adding
    Number of buttons after: 2
    But if you just wait, then the error print is:
    Number of buttons before: 1
    Button adding
    and no button is added. In fact, the error printing after the adding isn't performed either.
    I'd like to ask if there is some solution for this because I'd love to do some changes by schedulers. Thx
    Edited by: 876949 on 14.8.2011 9:09
    Edited by: 876949 on 14.8.2011 9:11

    No, these are not error messages, they are just for purpose of example. Here it doesn't matter whether err or out... (yes, 'out' would be better ;)
    But thanx, it's working. By the way, I am creating scheduler for task lists. They are supposed to be printed dynamically in specific time (or periodically). For example: at 5 o'clock I need to print 5 items of some list and every 3 hours I need to print 3 items of another list etc. - so it's quite dynamic with regard to component adding (No, I don't want to use some sort of ListView, I want interactive printing: one item on screen at a moment). I'll try to work your solution into my code.
    Edit: So either it's not possible to use this for the purpose of my app or it will be really cumbersome. Maybe it would be easier to draw some rectangles with mouse listeners...
    Edit: So I finally got around it. In the end, I won't use dynamic adding as intended. It's working and that's important.
    Edited by: 876949 on 14.8.2011 12:48
    Edited by: 876949 on 15.8.2011 5:21

  • Inserting dynamic image doesn't work for range of records

    Hi,
    I'm using BI Publisher 5.6.3 and E-business Suite 12.1.3.
    I have set up my RTF template so that it brings in a logo image dynamically onto an invoice.
    The code in the "alt text" field behind my dummy image is: url:{concat('${OA_MEDIA}/',//CF_LOGO)} 
    The image is within a repeating loop that loops around the invoices chosen.
    It works fine if I run the concurrent request for a single invoice - the correct logo image is shown.
    However if I run the concurrent request for a range of invoices which should contain a mixture of both logos it doesn't work and prints the same logo for each invoice regardless of what it should be displaying.
    For testing purposes I also output the name of the image, field CF_LOGO (which is calculated in a formula in the RDF file) just before the actual image, and this always displays the correct value even for a range of invoices. As you can see above this is the field that I include in the code to obtain the image.
    Does anyone have any idea why a range of invoices will only display one logo image?
    Many thanks for any suggestions.
    Regards,
    Hazel

    It's a bug in MDM 5.5 SP04.  The fix is in MDM 5.5 SP05.

  • [Photoshop CC 2014] Click&hold-move-release doesn't work when adding adjustment layer from the layer panel

    When selecting a menu item I used to click the left mouse button and hold it down, move the pointer to the desired menu item and release the mouse button. Everything works fine in the mine menu, but there's a problem when adding new adjustment layer from the layer panel: when I release the button nothing happens, I have to press the button again. In previous PS version it worked fine. How can I fix this?

    I don't think that is user fixable, meaning you'll have to wait till adobe fixes it with an update.
    Photoshop cc 2014
    windows does not work
    mac does work
    Did you already post over here:
    [Photoshop CC 2014] Click&hold-move-release doesn't work when adding adjustment layer from the layer panel

  • Bug? chained jQuery Selector in Dynamic Action doesn't work

    Just found out, that this jQuery Selector jQuery("#ABOTYPE_REPORT").find("#f01_0001") doesn't work as triggering Element of type "jQuery Selector" in a Dynamic Action.
    But this one jQuery("#ABOTYPE_REPORT").find("#f01_0001")[0] worked with type "DOM Element" as triggering Element in a Dynamic Action.
    To my knowledge even the first one is a real and valid jQuery Selector and should work.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

    Hi Patrick,
    It would be really nice if you could support a less strict definition of the jQuery Selector (as i understand DOM Object and jQuery Selector to be the advanced and more powerful options).
    In my example i could directly use #f01_0001 if my page wouldn't have more than one TabForm on it (and therefore multiple elements with id f01_0001) ;-)
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • Dynamical HtmlDatTable - action Listeners still doesn't work

    HI everybody.
    i create HtmlDatTable with dynamic columns count. I bind methods for every component (commandButton) but all of them doesn't work!!! Please help? it take me a lot of time :-(
    some pice of my bean:
    public HtmlDataTable getDynamicDataTable()
    return null;
    * @param dynamicDataTable the dynamicDataTable to set
    public void setDynamicDataTable(HtmlDataTable dataTable)
    this.loadDataFromTable(this.getSelectedTableId()); // Reload to get most recent data.
    // First we remove columns from table
    dataTable.getChildren().clear();
    PlainDataModelCreator builder = new PlainDataModelCreator(this.getStructuresList());
    this.plainStructeresList = builder.deepToPlainDataConverter();
    // Get amount of columns.
         int columns = ((List) this.plainStructeresList.get(0)).size();
    // Set columns.
    for (int i = 0; i < columns; i++)
    // Set header (optional).
    UIOutput header = new UIOutput();
    header.setValue(this.headers);
    //UIOutput output = new UIOutput();
    UICommand comand = new UICommand();
    ValueBinding structureItem = FacesContext
    .getCurrentInstance()
    .getApplication()
    .createValueBinding("#{structureItem[" + i + "]}");
    comand.setValueBinding("value", structureItem);
    comand.setRendererType("javax.faces.Button");
    MethodBinding mbAction = FacesContext
                   .getCurrentInstance()
                        .getApplication()
                             .createMethodBinding("#{DynamicData.editRowAction}", null);
    comand.setAction(mbAction);
    comand.setTransient(true);
    // Set column.
    UIColumn column = new UIColumn();
    column.setHeader(header);
    column.getChildren().add(colimn)
    // Add column.
    dataTable.getChildren().add(column);
    this.dynamicDataTable = dataTable;
    public String editRowAction()
    String str = "editrow";
    return str;
    in my jsp i am use some code:
    <%@ page session="false" contentType="text/html;charset=utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <html>
         <body>
              <f:view>
                   <h:form>
                        <h:panelGroup id="body">
                             <%------------------------ Dynamic HtmlDatTable section ------------------------%>
                             <t:dataTable
                                  var="structureItem"
                                  id="dynamicData"
                                  value="#{DynamicData.plainStructeresList}"
                                  binding="#{DynamicData.dynamicDataTable}"
                                  style="summary"
                                  rowClasses="linkButton">
                             </t:dataTable>
                        </h:panelGroup>
                   </h:form>
              </f:view>
         </body>
    </html>
    all components are rendred, but any of actions by clicking on my button doesn't work , i am never entering in to editRowAction()
    what problem ? please help me

    See also:  http://forums.adobe.com/message/4662367#4662367
    -Noel

  • Dynamic VLAN-Assignment from RADIUS with Aironet 1242AG doesn't work properly

    Hello All,
    our setting is to assign VLANs dynamically from RADIUS (freeradius) to Clients connected to the 1242 Access-Points with one SSID. We have Firmware
    12.4(10b)JA/JDA on the Aironet 1242.
    The clients should be connected to one of three VLANs - one for staff, one for students and one for guests. I use the Web-Interface of
    the 1242, because I'm not very familiar with IOS cli.
    After assigning the first VLAN to the SSID -> click Accept, assigning the second VLAN to the SSID (overwriting the previous one) -> click Accept,
    assigning the third VLAN to SSID (overwriting again) -> click Accept,  the assignment of VLANs works really fine,
    (the only thing i change on the page is VLAN, the SSID is set to mandatory WPAv2)
    BUT...
    when the 1242 is rebooted (due a building power off or similar) it doesn't work anymore. Clients end up in an endless authentication loop.
    After doing the procedure again from above - assigning all VLANs sequently once, it works fine again !  till next reboot...
    All VLANs have same encryption, cypher, TKIP+AES CCM. On the Cisco-Site I found a command, which i also tried with no success:
    'aaa authorization network default group radius'.
    I also tried to save the working config and load it into the 1242 again, this also did not work.
    It seems that i'm doing something wrong, but what ?
    Thanks for some help,
    Frank

    All you really need to do is make sure the subinterfaces/vlans are created for each VLAN you need, then have radius push down IETF attributes 64, 65, and 81.

Maybe you are looking for

  • Iphone 3GS  to update 4.1 or not?

    I read a while ago that the 4.1 update had alot of bugs. Thanks to all, i have held out and still run 4.0.1 Is 4.1 good now or should i stick with what i got?

  • Message-mappings: stored in which database-table?

    Hello everybody, I want to code some ABAP to check some message-mappings. Does anybody know in which DB-tables the mapping including the mapping steps are stored? Thanks a lot. Regards Mario

  • How the message is processed in the BPM?

    Hello, First in XI I developed a scenario JDBC->XI->RFC. It worx now. This time I'd like to use ccBPM for the same process but with time dalay (to be sure, that the process uses the steps from the ccBPM). I've configured following scenario: ->START -

  • Create Table or MV in PL/SQL

    Hey everyone, This is probably a really simple question, but I can't seem to create a table in a PL/SQL procedure. I have something like this: PROCEDURE TEST_PROC IS BEGIN EXECUTE IMMEDIATE 'CREATE TABLE TEST_TBL AS SELECT * FROM DUAL'; END TEST_PROC

  • Instance health check failing with errors

    Hi One of the instance showing " Agent connection is Instance is unavailable". How ever it is collecting and showing instance performance when I go to Performance pane. When I check in emagent.trc file it is saying either agent/instance are running w