How to programmatically change the width of a graph?

How can I programmatically change the width of a Waveform Graph or Waveform Chart? When I create an implicit property node for a graph or chart, it is read-only. Changing the plot bounds worked in earlier versions of LabVIEW, but not anymore.
Solved!
Go to Solution.

It works for me in LV2013 but I'm using the Plot Area : Size : Width property.
Using LabVIEW: 7.1.1, 8.5.1 & 2013

Similar Messages

  • How do I change the width of column "rating"

    all columns are variable in widht. but not "rating" (stars). How do I change the width of column "rating"?

    Hi Emkaha,
    By the way the column "last played" can be reduced to a size which display the date "incorrect" as well (you'll see only the first number of the date which wouldn't make any sense too, but it is possible).
    True, but if you see date of "1" you will know you are not seeing a full date.  If you see 2 stars, it is a valid value, even if it is not correct.  At least, that is my supposition about why it is designed the way it is.
    Having said that, the extra width in the German version -- the Wertung column is wider than needed for 5 stars -- does seem odd.  In the English version for Windows PC, the Rating width is just enough for 5 stars.  You can report this to Apple via the iTunes Feedback page.

  • How can i change the width of a webapp depending on the view?

    In Dashcode how can i change the width of the web app depending on the width of the view. I am using the stack layout.
    For example if view 1 had a width of 400 px
    the web app would have a width of 400 px
    if i changed to a view with a 400 px
    the webap would change to have a width of 400 px
    it automatically adapts the the hight of a view how do i do the same with the width.

    While they may auto adjust to what it thinks is a correct width, far too often it allocates way too much room and that causes lists with 4 columns to be much longer than they need to be and without the ability to adjust them, lists look strange.
    http://twitpic.com/23ro09/full is an example of the first column having been allocated too much room.
    Denzel

  • Can you programmatically change the width of columns in a table control\indicator

    Is it possible to programmatically change the width of columns in a table control\indicator ie to fit to width of the data or in my case the header information.

    Create a property node (or reference) and use the 'Active Cell' property to select which column you want to change and then use the 'Cell size'--> 'Width' property to change the size.
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
    Attachments:
    table.vi ‏33 KB

  • How can I change the width of a column in a list of sharepoint 2010 ?

    How do I change the column width in sharepoint 2010 so the data displays properly in standard view?
    I open the list View in sharepoint designer,and change the width of the <td> ,but ,when I preview ,the column width don't change. what should I do?

    While they may auto adjust to what it thinks is a correct width, far too often it allocates way too much room and that causes lists with 4 columns to be much longer than they need to be and without the ability to adjust them, lists look strange.
    http://twitpic.com/23ro09/full is an example of the first column having been allocated too much room.
    Denzel

  • How do I change the width of the x-scrollbar for a waveform graph?

    I have a LV7.1 application that contains a waveform graph and must be usable on several PC with widely varying screen resolutions.  I have decided to position and scale the front panel objects programatically, including the graph itself.  The appearance of the graph is satisfactory on all screens, except for the x-scrollbar.  The width of the x-scrollbar does not change when I change the size of the graph.  I cannot figure out how to change the width of the scrollbar programatically to match the adjusted size of the graph.  Any suggestions?
    Regards,
    Chris

    Chris,
    I don't think that you can change the width of the x axis scroll bar programatically.  One thing you could do though is create your own scrollbar and change it's properties as your program runs.  I wrote a quick example of how you could do this and I've attached it to this thread.
    I hope this helps,
    Justin D.
    Applications Engineer
    National Instruments
    Attachments:
    ChangeXScrollbar.vi ‏116 KB

  • How to programmatically change the password of user accounts in PDF Generator

    I am using 4 user accounts for multi-thread converting Word documents to PDF in PDF Generator ES3, and I have to update the password of those user accounts. Does PDF Generator ES3 save the password somewhere on the Windows 2008 server? Can I programmatically change the password of those accounts other than updating them manually from LiveCycle Admin console?
    Thanks,
    Will

    Not in LiveCycle API.
    Changing user account password is related to Operating System.

  • How do I change the width of the "polygon splitter" line?

    I have Ultiboard v10 with all the updates.  I have been unable to find a way to shrink the size of the line that the polygon splitter function uses.  The split seems to be stuck at 0.1 inches.  Anyone know how to change this setting?  Thanks for any help.

    When you start drawing the line that will act as the polygon splitter, make the first click where you want to start... then --before you do the second click-- go to the toolbar and look for the numeric field where you can change the mils width of the trace you are drawing... change the number there and see how the splitter line changes its width... no go back to the workspace, you still have the line drawing utility on, make the second click where you want to drop it and you should see a different width split line.
    The other method is, after you make the first click to mark the beginning of the line, continue towards the place where you would like to finish that line, however, before you do a left-click to finish the line, first do a right-click and you will have an option to widen and an option to narrow.
    I prefer the first method is more precise...
    Nestor
    National Instruments

  • How to programmatically change the cell color of an ADF table ?

    Hi all,
    I have an ADF table with some fields on it. Depending on the value of a field named, say, "F1", I would like to change its background color.
    So far I can change the field color with this EL expression inside the InlineStyle table column property:
    font-size:medium; background-color:#{viewScope.myBean.setColor};
    where setColor is a bean function, in where I access the field "F1" via binding, parse its value, and return the right value - so far, so good.
    The bad thing is, the InlineStyle affects that field in all the rows of the table, while I would like to change only the field in the rows, which have that specific value in it.
    So for example having the rows:
    F1
    abc#1 ----> currently selected row
    cde#2
    efg#3
    I want to change the background color to all the F1 fields which have a "1" after the '#' and let the other "F1" row cells background color stay unchanged.
    But as you can imagine, the InlineStyle affect the "F1" background color in all the rows (assuming that the first row of the table is selected).
    So the question: how to access a single cell of a row in an ADF table, and programmatically change its background color ?
    So far I can iterate through the ADF table with:
    BindingContext bindingctx = BindingContext.getCurrent();
    BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
    DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
    DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("aTableIterator");//access the iterator by its ID value in the PageDef file
    RowSetIterator rsi = dciter.getRowSetIterator();
    System.out.println("rsi getrowcount = " rsi.getRowCount());+
    Row row = null;
    +if (rsi.getRowCount() > 0) {+
    row = rsi.getCurrentRow();
    System.out.println("row attr = " Arrays.toString(row.getAttributeNames()));+
    System.out.println("class : " row.getAttribute("F1").getClass().toString());+
    +}+
    +while (rsi.hasNext()) {+
    row = rsi.next();
    System.out.println("row attr = " Arrays.toString(row.getAttributeNames()));+
    +}+
    Regards,
    Sergio.

    Hi,
    I mean a specific cell within a row.
    Here are two pictures that show an ADF table with two rows and some fields on it:
    https://skydrive.live.com/?cid=7D3084D8BF755808&id=7D3084D8BF755808!107&sc=documents#cid=7D3084D8BF755808&id=7D3084D8BF755808!107&sc=documents
    bild_A is what I have, bild_B is what I would like. Note that:
    in bild_A the first row contain a yellow background color for the field F4 and an orange background color for the field F5. This is correct, because F4 has an "1" at the end of its string value, and F5 has a "3" at the end. So far so good.
    But the second row (again, bild_A) has also the fields F4 with yellow background color, and the field F5 with orange background color, even if the value in both fields is 0.
    What is should be, is shown in bild_B.
    The problem is that the solution provided affects all the cells of the column, while I need to change the background color of a single cell, and leave the other unchanged (see bild_B).
    I hope that clarify a bit :)
    Sergio.

  • How to programmatically change the feedback device??

    Hello,
    We are using the NI UMI7774, together with a Servo-drive for a linear actuator. In our application, we must first go to a certain position, then maintain a certain force for while, then go back to a certain position....
    For the position control we have mapped the actuator's encoder as the feedback device in MAX - and it works well. For the force control part, we want do use the "Force control using analog feedback"-method (see NI-Motion manual, chapter 13). For this, the force sensor needs to be mapped as the feedback device...
    (1) The question is, HOW can we make this mapping programmatically in our application source code???...is there a method "setFeedbackDevice()" or something??
    (2) Is it likely that we have to have 2 PID-settings (one for the position control part and one for the force control part) and if yes, how can we load the PID parameters programmatically, without opening MAX??
     (3) In the mean time, we have experimented a bit: Using MAX and the encoder as the feedback device, we have positioned the actuator to a certain point. Then we mapped the Force sensor as the feedback device in MAX and pressed Save. However, when we run the force-control-using-analog-feedback example, it didnt work. It still used the encoder as the feedback and hence just moved to a certain position.....We then did another try, where we set the force sensor as the feedback device in MAX, pressed SAVE and pressed INITIALISE.....the actuator subsequently started rattling, without us issueing another move command??.....does anybody know, what this could mean and what we should do????......
    THANKS a LOT FOR ANY ANSWER AND YOUR EFFORTS.......
    p.s. We know that there is also the option of "Force Control using Monitoring Force", but after some discussion on here, it appears that the Analog Feedback-method seems to give better force control results in our application....

    Hi janClose,
    You can change the feedback programmatically by using flex_config_axis(). The axis needs to be stopped when you call this function.
    The control behavior differs significantly when you change the feedback resource, so yes, you will have to tune your axes for both feedback modes seperately. You can change the PID parameters by using flex_load_pid_parameters(). Please note, that you can define two sets of PID parameters and you can switch between these two sets by calling flex_load_single_pid_parameter().
    The last paragraph in the online help for flex_load_pid_parameters() discusses this feature.
    Parameter changes in MAX are not applied before you reinitialize the board, so if you just save the changes the board's operation mode is not affected. The reason why the motor starts rattling when you initialize it, is due to the fact that you are still using the position control PID parameters, which are typically not valid after changing to force control.
    I hope that helps,
    Jochen

  • How can I change the width of a field without affecting all others ?

    I'm working with Text fields that have, for example Name, address, etc. on the left & the box to its right.
    I'm further down the form & want to allow for a longer field description but then it changes all the formatting above.

    You can change the size of the label, the text input box, and the field itself (border around the field in the design tab) - however there is one exception to being able to control the size of every field individually:
    Fields that have "Labels left" or "Labels right" that are also the first field in a row will all share the same label width.
    This is probably what you are encountering, this is how the fields work for now, those first in a row label left/right labels are all the same width.
    Thanks,
    Josh

  • How to Change the Width of a Graph Created in 9iReports

    Report Version 9.2.0.1.0
    In the following listing, the plot area is wider than the width of the enclosing graph area and the information is being truncated. How do I make the graph wide enough to support the plot area?
    <p><rw:graph width="70000" id="graph" src="G_LAST_NAME" groups="LAST_NAME" dataValues="SALARY">
    <!--
    <?xml version="1.0" ?>
    <Graph version="2.5.0.5" depthRadius="15">
    <DataviewFootnote foreground="#0" background="#ffffff"/>
    <DataviewSubtitle foreground="#0" background="#ffffff"/>
    <DataviewTitle foreground="#0" background="#ffffff"/>
    <O1Axis lineWidth="1"/>
    <O1MajorTick lineWidth="1"/>
    <O1Title text="Employee" visible="true" textRotation="TR_HORIZ_ROTATE_90"/>
    <PieFrame fillColor="#996600" fillTransparent="false"/>
    <PlotArea fillColor="#996600">
    <Rect width="30000"/>
    </PlotArea>
    <SeriesItems>
    <Series id="0" color="#ffff66"/>
    <Series id="1" color="#99cc00"/>
    <Series id="2" color="#cc9933"/>
    </SeriesItems>
    <Title text="Employee Salaries" visible="true"/>
    <X1Axis lineWidth="1"/>
    <Y1Axis lineWidth="1"/>
    <Y1MajorTick lineWidth="1"/>
    <Y1Title text="Salary" visible="true"/>
    <Y2Axis lineWidth="1"/>
    <Y2MajorTick lineWidth="1"/>
    </Graph>
    -->
    </rw:graph></p>

    Kirk,
    In the <rw:graph> tag, just add the standard HTML properties of width="xxx" and height="xxx" to control the width and height of the image. BTW, the graph tag is in the on-line help, although not in the index. You can find it by doing a search for "rw:graph".
    regards,
    Stewart

  • How can I change the width and color of the title bar of the JFrame

    I would like to use the UImanager to change the look and feel of the title bar on all of my JFrames. How is this possible.
    Thanks in advance.

    I appologize for being rude, and thank you for your response.
    The reason I did not respond was that I don't think that your answer solves the question of top level containers (specifically JFrame). I have been researching the net and some of the text books to come up with an answer before I respond. To this point, I believe that the answer has something to do with changing the boundary. If this is the case I'm within four or five hours of the solution, and will publish. If not, back to the drawing board.

  • How can I change the width of columns in (e.g.) the week view in Thunderbird / Lightning?

    As it currently displays, the Lightning display of a week doesn't fit in the window, so I'm forever scrolling left and right. I'd like to reduce the width of columns so that all 6 or 7 days (depending on whether it's a work week or full week) can be displayed within the window's width, without scrolling. There seems to be no standard way to configure this to happen.
    I have the calendar pane on the left reduced to its narrowest (I still need this for navigation, so I can't just get rid of it).
    I have tried zooming out, but all this does is reduce the height of events etc. within the columns, it does not affect the width of the columns.
    Thanks.

    While they may auto adjust to what it thinks is a correct width, far too often it allocates way too much room and that causes lists with 4 columns to be much longer than they need to be and without the ability to adjust them, lists look strange.
    http://twitpic.com/23ro09/full is an example of the first column having been allocated too much room.
    Denzel

  • How do I change the width of a lead column in an enhanced layout ?

    I have an enhanced layout in BPS that gets rendered in TPM (CRM2007) application.
    I need to increase the width of a lead column in this layout. I saw a bunch of methods in a BADI UPX_LAYOUT_RENDER. There is one to manipulate XML and another to manipulate HTML. Are these my only options? or is there an easier way via config or another BADI?
    Cheers
    Vijay

    Can you share if you have got a solution to this.
    Regards
    Manga

Maybe you are looking for