Remove the second y-axis Via COde

Hello

I want to remove the second axis of my report through the code model. Because for one report, I need 2 axis y. for the other report, I don't need a single axis, so I want to remove the second axis.

I tried GraphObjDelete order, it did not work.

Help, please.

Thank you

Sunil Padikar M

Hello

Here is the script code:

Dim o2DAxisYList
Set o2DAxisYList = Report.Sheets ("Page 1"). Objects ("2DAxis1"). YAxisList
MsgBox o2DAxisYList.Count
If o2DAxisYList.Count > 1 then
o2DAxisYList.Remove (2)
end if
MsgBox o2DAxisYList.Count

Greetings

Walter

Tags: NI Software

Similar Questions

  • Lightroom keeps trying to create a second folder "2016" under "2016", then of subfolders, why and how do I remove the second folder "2016".

    Lightroom keeps trying to create a second folder "2016" under "2016", then the subfolders with the correct name (date) at import, why and how can I remove the second folder "2016".

    One of the possibilities: when you import, you select a Destination folder that contains a subfolder of 2016 in the path (displayed in the green rectangle) when you really want a destination folder that does not have the 2016 subfolder in the path (shown in the red rectangle)

  • How to remove the second Fusion VM VMware VMDK

    OK, this should be a simple question, but I do not see the answer anywhere.

    I have a virtual machine with two virtual hard disks: a 100 GB C: drive and a D: 400GO drive. I have drive D: more, because the data it contained has been displaced elsewhere. I shut down the virtual machine and use the parameters dialog box to remove the second hard drive. But my whole VM is still huge, as the VMDK for D: drive is always there. I don't want to narrow it down, I just want that he went.

    How can I remove it? Shouldn't be able to change all references to this second VMDK from the VMX file, and then drag the second VMDK of packaging of the virtual machine and in the trash?

    Thanks for any help.

    Clayj wrote:

    How can I remove it? Shouldn't be able to change all references to this second VMDK from the VMX file, and then drag the second VMDK of packaging of the virtual machine and in the trash?

    When you delete a virtual hard disk in the Virtual Machine settings, it's just changes a value in the from true to FALSE .vmx file but does not delete the files that make up the disc or a hard file.

    You can therefore remove in the settings or manually edit the .vmx file and the button Delete the appropriate hard.

    Note: Make sure that you remove the right files!

  • Equium A200-1AC - cannot remove the second HARD drive cover

    I have an Equium A200-1AC, there is also a second HARD-drive Bay, but I can't get the cover off the coast, can anyone help?

    Hello

    As far as I know, this HARD drive cover is only guaranteed with a screw and after the withdrawal of these screws, you should be able to remove the plastic cover.
    Maybe it's sticks somewhere, you can use a thin object and could leverage with caution
    But don t do something with force!

  • Portege 3490CT: clock stops and how to remove the second operating system?

    I recently bought a 3490CT that has a few probs.
    (1) the continuous clock to stop--has a separate battery? It has an impact on things like sending emails, which are always evil dated/timed. You can set an hour latter, it stops again.

    (2) it came with 2 operating systems, Wind98 and Win2000... you get a choice at startup, how do I remove the old?

    (3) what updates are available to make it faster - playing DVDs on the "plug in the drive" is slow and jerky...

    Thanks to all, any info appreciated.

    Which one do you mean? The clock of the OS?
    Check in the BIOS if the time and data are correct.
    Eventually, you use settings area of bad weather and time of the laptop is going to be permanent synchronize with internet time server. This option that you can find in the Date and time properties

  • How to remove the second operating system

    I have a dimension 8400 with xp media center 2005

    the computer crashed and will not re-start. I used my reinstall disc to reinstall the operating system. After you have reinstalled my drivers and programs on the computer works normally but when I restart the computer I chose 2 operating systems. The top is the media center edition it is xp professional. If I try to use the professional system of the computer will not start. How can I remove the professional system from the hard drive.


  • How to remove the second English language of languages?

    I have Windows 7 Home Premium 64-bit (6.1, Build 7601)

    I'm in the Canada.

    Normally, I have in my computer 2 languages: English (canada) and second language (Russia) by default.

    My location is defined in the Canada, my language for programs no Unicode (system locale) is set to Russian (Russia)

    I use a keyboard shortcut to switch between 2 languages - 1 click, language switched.

    After a few windows recent patch added itself - ESL English (US).

    This additional English does NOT appear in languages - only in the window of the small toolbar. I can't remove it.

    Here is the screenshot of how it looks: http://postimg.org/image/3kfe5hhyb/

    Now switch between languages takes 2 clicks - to scroll through the additional English.

    Someone help please, how to remove it? (I think not that go back to a previous version of windows is a good idea IMHO)

    OK, I think I thought about her.

    So, apparently now English (US) is always the default input language and it can not be removed - it will ALWAYS be there. So if you are Canadian, nevermind, delete your own Canadian English or suffer 2 identical English keyboards.

    It's really nice of microsoft to make.

    in any case, I had to remove English (canada) to solve my problem.

  • How to remove the second preview of the same composition?

    What is happning-

    -WGyHW8E.jpg

    The two of them act independently with the same behavior as the normal preview. I couldn't find all the options to remove one of the previews. Please help with the problem.

    After the basics here effects... Look in the compose window in the bottom just to the right of the camera activates, where it says 2 times... Change that to a single view.

  • remove the second record of strings

    Hi all

    I have the table emp with the id and name columns.

    EMP

    name identity
    --------------------
    100A
    100a < -.
    101 B
    102 C
    102 c <.
    102 C

    now I want to delete duplicate lines second of each group of duplicate rows.

    Can be
    The OP wants to delete 2nd record ;)

    create table test2
    as
    select 100 col1, 'A' col2 from dual union all
    select 100, 'A' from dual union all
    select 101, 'B' from dual union all
    select 102, 'C' from dual union all
    select 102, 'C'  from dual union all
    select 102 ,'C' from dual 
    
    delete from test2 t2
    where rowid in(select rowid from(
    select col1,col2,row_number()over(partition by col1 order by col2) rn
    from test2) where rn=2)
    
    2 rows deleted 
    
    select * from test2
    
    COL1      COL
    100      A
    101      B
    102      C
    102      C
    
  • remove the second timestamp

    Hi, experts!

    If the display on the dashboard at the time is

    16/07/2010 09:30


    How to display the time of

    2010-07-16 09:30?

    I found that it is possible to set the Date Format custom under the column property

    But how the syntax?

    Thank you very much!

    Hi friend

    Go to the properties of the column and change the "custom date format" format that you want in the following link:
    http://authors.ASPAlliance.com/aspxtreme/sys/demos/datetimeformats.aspx

    Try again with this "custom date format': MM/dd/yyyy hh: mm tt

    Good luck
    Kind regards.

    Published by: Hammett81 on July 30, 2010 09:40

  • Cannot get removeInstance to remove the current instance

    I have a form that contains a table inside a subform that I added a button to add additional instances of the subform that contains the table. Add instance works fine, however, I have also a button to remove the current of the subform that contains instance the table, and it does not work well. Keep remove the first instance of the subform rather than the current instance. For example, lets say the first table is to order product A, then the user can add another instance of the table to order product B and then add a third table to the product C command. Then, let the user didn't need the second table (product B) for a reason, so they click on the button on delete in the second table, but instead of removing the second table containing product B, it deletes the first table that contains produced.

    I have the subform (OrderMain) defined to repeat with a minimum number of 1. The button to add an instance of the OrderMain subform contains the following code:

    this.resolveNode('MasterSubform._OrderMain').addInstance (1);

    If (xfa.host.version & lt; 8) {}

    XFA. Form.Recalculate (1);

    }

    The button to remove the current instance of the subform has the following code:

    this.resolveNode('MasterSubform._OrderMain').removeInstance (this.parent.index);

    If (xfa.host.version & lt; 8) {}

    XFA. Form.Recalculate (1);

    }

    I tried to adjust the parent index, but that did not work. I also put the code in the button Delete of table to view a message that contains the current index of parent and each instance returns an index of parent of 0. I use Adobe Acrobat XI to test the form. What I'm doing wrong here?

    I have it. Finish by checking the relative path of the Remove button to the OrderMain subform. While the button Delete in a subform that is different, I have taken into account in the determination of the index of the OrderMain subform repeatable. Given that each "parent" refers to an another subform, I changed the code of the delete button for the following:

    this.resolveNode('MasterSubform._OrderMain').removeInstance (this. parent.parent.parent.parent.index);

    If (xfa.host.version< 8)="">

    XFA. Form.Recalculate (1);

    }

  • Remove the XML node

    Dear adobe experts,

    I have a requirement to remove a node in the XML interface of a form of adobe (not only by removing a subform in the form). It must be a deletion, an empty node does not work (I read this in another post).

    The XML structure looks like this:

    < ITEM >

    < DATA >

    < ROW_IID > 0 < / ROW_IID >

    < PARENT > 0 < / PARENT >

    < CHILD > 0 < / CHILD >

    < / DATA >

    < DATA >

    < ROW_IID > 1 < / ROW_IID >

    < PARENT > 0 < / PARENT >

    < CHILD > 0 < / CHILD >

    < / DATA >

    < / ITEM >

    I want to, for example, to remove the second node of data including the underlying elements: row_iid, parent & child. Already tried: xfa.record.nodes.remove (oRemoveNode); I got it from http://partners.adobe.com/public/developer/en/xml/Adobe_XML_Form_Object_Model_Reference.pd f and several messages in this forum, but I get the following message appears in the error console: remove failed. I know that the somexpression is correct.

    Here's the code I used to try to remove the node.

    var node_loc;

    var del_node;

    [node_loc = ' xfa.record.ELEMENT.DATA [1 '];

    del_node = xfa.resolveNode (node_loc);

    xfa.record.Nodes.Remove (del_node);

    Anyone know what I am doing wrong?

    Kind regards

    Niels

    Hi Steve,.

    I fixed it myself. I adjusted my code a little, so the node, including the elements is successfully deleted.

    Here is the way that I fixed it:

    var node_loc;

    var del_node;

    [node_loc = ' xfa.record.ELEMENT.DATA [1 '];

    del_node = xfa.resolveNode (node_loc);

    xfa.record.ELEMENT.nodes.remove (del_node);

    Thanks for the help!

    Kind regards

    Niels

  • The second instance to copy a single value of first instance.  All the following normal law.

    SubFormA

    TableA

    DropDownList1

    DropDownList2

    TextName

    DateToday

    NumericAlpha

    NumericaBeta

    ButtonDelete

    . / TableA

    ButtonAdd

    / SubformA

    Each field (indicated in bold) is mapped to a schema.  All non-fat items have links 'None' TableA has a default binding of None and is set to repeat for each item of data with no count of min, no max and no initial count.

    When I click on my "ButtonAdd" I create a new instance of TableA via "_TableA.addInstance (true)"; and I remove the instances via ButtonDelete: "_TableA.removeInstance (this.parent.index)" "»

    Foreword pretty simple so far.

    The problem is this: when I add a second instance of TableA, DropDownList1 copies the value of the first instance.  Furthermore, if I take a new choice in both cases DropDownList1, the change is reflected in the other.  Any other value is implemented with mirror like that.  In addition, if I add a third, fourth, etc. instance these instances work independently as expected.  Finally, if I remove the first two instances via ButtonDelete, all remaining occurrences continue to act normally.

    I have no idea why this is happening.  Any ideas?

    TableA must be bound to the repeating node in your schema.

    Paul

  • I have two copies of my e-mail and files in Thunderbird and only need a copy; How to remove the extra?

    So I have two folders with my email address listed; and all subfolders, but do not know how I created two, I need one. There is no way to remove the second useless information that I see.

    Right-click on the folder, select settings. At the bottom of the list, use the account settings button.

  • Upgrade Vista to Windows 7, files using the second internal hard drive and Windows Easy Transfer.

    I have a desktop pc with 2 internal hard drives.  A hard drive has the BONE and the second hard disk is a separate partition.  (I do not combine hard drives using RAID.)  If I upgrade Vista to Windows 7, the upgrade will be to reformat hard disks or just a hard drive with the operating system?  Should I remove the second hard disk of the computer just to be sure?  The second hard drive must be reformatted for use with Windows 7?

    Thank you.

    You must install the upgrade in the Vista operating system.

    For Windows 7 install questions:

    http://social.answers.Microsoft.com/forums/en-us/w7install/threads

    "Download Windows 7 installed and activated on your PC."

    They will help you in the Windows 7 Forum at the above address.

    See you soon. Mick Murphy - Microsoft partner

Maybe you are looking for

  • How to fix unresizeable maximized the window the addon

    I'm on Firefox Mac v42. I followed some instructions on resizing windows on El captain and now I have a window of the addon for "DownTheAll" which is maximized to full screen and has no control to resize it. I can move it, but just not resize. Uninst

  • Safari doesn't load not all Web sites

    Hi all Now, I have this problem for a few weeks. Safari works fine most of the time, but sometimes it doesn't load websites to half way and seems to have stopped. However, the message that this Web site cannot be charged ever shows up. I tried to res

  • XY graphics cursor doesn't snap to draw when you drag

    I have not used the XY graphs a lot and need to have several locations on the chart and be able to find the points on the path value using cursors.  Everything works fine except that I can't drag the cursor along the plot.  Even if Snap to is on and

  • Write to a file at a different frequency?

    Hello: I want to represent a two variable of each 200 m graphic waveform is what I do in the attached vi. But I also want to write on a file of this measure two variables variable rate (user can change). Where and how can I put my 'Write to file meas

  • esxupdate - command not found ESX 4.0.0

    Trying to get our patched up ESX environment. It was installed by my predecessor, and nothing was ever patched.When I try to run esxupdate (in root), I get "Command not found". I have access to/usr/sbin / and see esxupdate in there, but I can't run i