Link Zoom and Scroll Bar

Hello
I'm using Labview 8.0 an I have a small expirence with Labview
I got 5 Waveformcharts with different ranges, is it possible to link the zoom an scroll bar function, so that i could zoom in one graph an the other will change dynamicly like in Diadem "dynamic Zoom" and is it
possible to control the visible area of the 5 charts with one scroll bar?
Thanks

Hello Densel,
I searched for an easy implementation with the help of a property node, what I found is attached in my VI. It is just a solution to change the axes properties of x and y for one chart, but it should also works with more charts.
Check my result, hope it helps you!
Günther.
Message Edited by gprossinger on 08-17-2006 08:01 AM
Attachments:
zoom programitcally in waveformcharts.vi ‏101 KB

Similar Messages

  • Link a single scroll bar to two arrays

    I am trying to link a single scroll bar to a pair of arrays (one is dbl, one boolean; both single dimension), so they line up correctly as I move the bar. Any ideas on how to get this to work? I tried a cluster, but no luck (Maybe I missed somethng?). Thanks!

    Hi Templar,
    use property nodes:
    read shown array index (property "Index values") from 1st array and set the same indices for the 2nd array...
    Message Edited by GerdW on 07-26-2007 04:03 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • JTable can't display column names and scroll bar in JDialog !!

    Dear All ,
    My flow of program is JFrame call JDialog.
    dialogCopy = new dialogCopyBay(frame, "Bay Name Define", true, Integer.parseInt(txtSourceBay.getText()) ,proVsl ,300 ,300);
    dialogCopy.setBounds(0, 0, 300, 300);
    dialogCopy.setVisible(true);        Then,I set the datasource of JTable is from a TableModel.
    It's wild that JTable can diplay the data without column names and scroll bar.
    I have no idea what's going wrong.Cause I follow the Sun Tutorial to code.
    Here with the code of my JDialog.
    Thanks & Best Regards
    package com.whl.panel;
    import com.whl.vslEditor.vslDefine;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.Frame;
    import javax.swing.JDialog;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.table.AbstractTableModel;
    public class dialogCopyBay extends JDialog {
        vslDefine glbVslDefine;
        int lvCnt = -1;
        JTable tableCopyBay;
        int bgnX = 0;
        int bgnY = 30;
        int tableWidth = 100;
        int tableHeight = 100;
        public dialogCopyBay(Frame frame, String title, boolean modal, int sourceBay,
                vslDefine pVslDefine, int ttlWidth, int ttlHeight) {
            super(frame, title, true);
            Container contentPane = getContentPane();
            System.out.println("dialogCopyBay Constructor");
            glbVslDefine = null;
            glbVslDefine = pVslDefine;
            copyBayModel copyBay = new copyBayModel((glbVslDefine.getVslBayStructure().length - 1),sourceBay);
            tableCopyBay = new JTable(copyBay);
            tableCopyBay.setPreferredScrollableViewportSize(new Dimension(tableWidth, tableHeight));
            JScrollPane scrollPane = new JScrollPane(tableCopyBay);
            scrollPane.setViewportView(tableCopyBay) ;
            tableCopyBay.setFillsViewportHeight(true);
            tableCopyBay.setBounds(bgnX, bgnY, tableWidth, tableHeight);
            tableCopyBay.setBounds(10, 10, 100, 200) ;
            contentPane.setLayout(null);
            contentPane.add(scrollPane);
            contentPane.add(tableCopyBay);
        class copyBayModel extends AbstractTableModel {
            String[] columnNames;
            Object[][] dataTarget;
            public copyBayModel(int rowNum ,int pSourceBay) {
                columnNames = new String[]{"Choose", "Bay Name"};
                dataTarget = new Object[rowNum][2];
                for (int i = 0; i <= glbVslDefine.getVslBayStructure().length - 1; i++) {
                    if (pSourceBay != glbVslDefine.getVslBayStructure().getBayName() &&
    glbVslDefine.getVslBayStructure()[i].getIsSuperStructure() == 'N') {
    lvCnt = lvCnt + 1;
    dataTarget[lvCnt][0] = false;
    dataTarget[lvCnt][1] = glbVslDefine.getVslBayStructure()[i].getBayName();
    System.out.println("lvCnt=" + lvCnt + ",BayName=" + glbVslDefine.getVslBayStructure()[i].getBayName());
    public int getRowCount() {
    return dataTarget.length;
    public int getColumnCount() {
    return columnNames.length;
    public String getColumnName(int col) {
    return columnNames[col];
    public Object getValueAt(int rowIndex, int columnIndex) {
    return dataTarget[rowIndex][columnIndex];
    public Class getColumnClass(int c) {
    return getValueAt(0, c).getClass();
    public boolean isCellEditable(int row, int col) {
    if (col == 1) {
    // Bay Name Not Allow To modify
    return false;
    } else {
    return true;
    public void setValueAt(Object value, int row, int col) {
    dataTarget[row][col] = value;
    fireTableCellUpdated(row, col);

    Dear DB ,
    I am not sure what you mean.
    Currently,I don't undestand which code is error.
    And I also saw some example is add JTable and JScrollPane in JDialog.
    Like Below examle in Sun tutorial
    public class ListDialog extends JDialog implements MouseListener, MouseMotionListener{
        private static ListDialog dialog;
        private static String value = "";
        private JList list;
        public static void initialize(Component comp,
                String[] possibleValues,
                String title,
                String labelText) {
            Frame frame = JOptionPane.getFrameForComponent(comp);
            dialog = new ListDialog(frame, possibleValues,
                    title, labelText);
         * Show the initialized dialog. The first argument should
         * be null if you want the dialog to come up in the center
         * of the screen. Otherwise, the argument should be the
         * component on top of which the dialog should appear.
        public static String showDialog(Component comp, String initialValue) {
            if (dialog != null) {
                dialog.setValue(initialValue);
                dialog.setLocationRelativeTo(comp);
                dialog.setVisible(true);
            } else {
                System.err.println("ListDialog requires you to call initialize " + "before calling showDialog.");
            return value;
        private void setValue(String newValue) {
            value = newValue;
            list.setSelectedValue(value, true);
        private ListDialog(Frame frame, Object[] data, String title,
                String labelText) {
            super(frame, title, true);
    //buttons
            JButton cancelButton = new JButton("Cancel");
            final JButton setButton = new JButton("Set");
            cancelButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ListDialog.dialog.setVisible(false);
            setButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ListDialog.value = (String) (list.getSelectedValue());
                    ListDialog.dialog.setVisible(false);
            getRootPane().setDefaultButton(setButton);
    //main part of the dialog
            list = new JList(data);
            list.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
            list.addMouseListener(new MouseAdapter() {
                public void mouseClicked(MouseEvent e) {
                    if (e.getClickCount() == 2) {
                        setButton.doClick();
            JScrollPane listScroller = new JScrollPane(list);
            listScroller.setPreferredSize(new Dimension(250, 80));
    //XXX: Must do the following, too, or else the scroller thinks
    //XXX: it's taller than it is:
            listScroller.setMinimumSize(new Dimension(250, 80));
            listScroller.setAlignmentX(LEFT_ALIGNMENT);
    //Create a container so that we can add a title around
    //the scroll pane. Can't add a title directly to the
    //scroll pane because its background would be white.
    //Lay out the label and scroll pane from top to button.
            JPanel listPane = new JPanel();
            listPane.setLayout(new BoxLayout(listPane, BoxLayout.Y_AXIS));
            JLabel label = new JLabel(labelText);
            label.setLabelFor(list);
            listPane.add(label);
            listPane.add(Box.createRigidArea(new Dimension(0, 5)));
            listPane.add(listScroller);
            listPane.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
    //Lay out the buttons from left to right.
            JPanel buttonPane = new JPanel();
            buttonPane.setLayout(new BoxLayout(buttonPane, BoxLayout.X_AXIS));
            buttonPane.setBorder(BorderFactory.createEmptyBorder(0, 10, 10, 10));
            buttonPane.add(Box.createHorizontalGlue());
            buttonPane.add(cancelButton);
            buttonPane.add(Box.createRigidArea(new Dimension(10, 0)));
            buttonPane.add(setButton);
    //Put everything together, using the content pane's BorderLayout.
            Container contentPane = getContentPane();
            contentPane.add(listPane, BorderLayout.CENTER);
            contentPane.add(buttonPane, BorderLayout.SOUTH);
            pack();
        public void mouseClicked(MouseEvent e) {
            System.out.println("Mouse Click");
        public void mousePressed(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseReleased(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseEntered(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseExited(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseDragged(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseMoved(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
         * This is here so that you can view ListDialog even if you
         * haven't written the code to include it in a program.
    }

  • Change Height of Web Resource to Get Rid Of Blank and Scroll Bar

    Hi, I am a junior CRM developer. I'm using CRM online.
    I wrote a HTML web resources. In Web Resource Properties, I set the Number of Rows as 20.
    But the problem is: If the form window are maximized, there will be blank under web resource; if the form windows become smaller, there will be a scroll bar on the side.
    I want get rid of blank and scroll bar, automatically change height according to the size of the window.
    I tried checkbox "Automatically expand to use available space", but it didn't work.
    I don't think add CSS to my HTML will work, because CSS in HTML will change the html height, not the container in CRM.
    Thank you in advance.

    You most likely have a malware infection. Run and update the following scanners. (Not all programs detect the same infection.)
    1. [http://www.safer-networking.org/]
    2. [http://www.malwarebytes.org/]
    3. [http://www.spywareterminator.com/]
    4. [http://www.microsoft.com/security/malwareremove/default.aspx]
    If those programs do not do the trick, try to post in the following forum:
    1. [http://www.bleepingcomputer.com[
    Other spyware removal forums can be found in a search.
    Does the issue occur in [[Safe Mode]]?

  • Firefox actualized the new version, but it looks only a black screen and no watch buttons and scroll bars, nothing

    The new version of Firefox dosen't work is only a black screen without buttons and scroll bars. I try re install and uninstall and erase files, but dosen't work.

    Sorry, please disable hardware acceleration as a temporary workaround. This is an incompatibility between Firefox 33 and some older graphics card/chipset drivers. More info: https://support.mozilla.org/questions/1025438

  • Dropdown text and scroll bars in popups

    Hello All,
    I have a topic that is relatively short when it is first
    opened and the (dhtml) drop down text is hidden. So, when it is
    opened in an autosizing popup window from a link in another topic,
    (and the WebHelp is full or almost full screen), no scroll bars are
    presented in the pop-up. That's fine. But then when I click the
    dhtml link and the drop down text is shown, the topic expands
    beyond the length of the window. The popup is not redrawn and no
    scroll bar appears, leaving the reader with no obvious way to view
    the rest of the topic.
    I can probably change the content design to keep this from
    occurring, but is there something else I can do to correct this?
    Thank you all for your help.

    Of course, until the forum changeover, we had a nice little collection of FAQ about changing link colours and such As you're new to web design, I think the best thing would be to take a step back - you're trying to run before you can walk, I'm afraid. Golive is only a tool, you'll get on much better in the end if you start by doing some studying on html and css.
    For both, http://www.w3schools.com is a very good place to start. There's a lot more to web design that learning how to use any one piece of software.

  • Problem in Drill Down feature and Scroll Bar

    Hi All,
    Well I have designed a report on Oracle BI and facing the following issues:
    1. When i opened the report through image/link box(from mypage dashboard or from some other way) and if the data have enough rows and columns to overflow the screen size then there is no scroll bar on the screen so i wouldn't be able to see that data.
    2. When I am clicking on the year(as i made a time hierarchy --> year then quater then month) on the either pivot table or chart view then automatically all corresponding Dashboard Prompts(DP) disappear so i can't filter the data.
    Please help me out in this.
    thanks in advance.
    regards
    mohit

    Regarding 2)
    This is the expected behavior of drill downs. The subsequent reports from the highest level are "system-generated." If you want the prompts, you will have to use the Navigate feature and navigate to a dashboard where you can have your prompts.
    Regarding 1)
    Are you using the Table View or Pivot Table view? If Table View, you can increase the number of rows that are visible by default (change this in the Properties of the Table View.) If you are using a Pivot Table, try this link:
    http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-pagination-in-pivot-tables/

  • Missing zoom timeline scroll bar

    Since yesterday the  zoom scroll bar has disappeared that should be underneath the timeline on Premiere Pro CS6. I cannot find how to turn it on again, I would be grateful for any help please.
    Michael

    Hi mike_ben.
    Welcome to the forums.
    Please try to reset the workspace ( Window>workspace>reset current workspace ),  to its original layout and check if it fixes the issue.
    Regards,
    Vinay

  • Issue with div "s4-workspace" and scroll bar

    Hi,
    I have a standard publishing site, I just added an horizontal menu (the publishing site doesn't have it) but I'm experiencing a strange behavior:
    With my custom menu the div "s4-workspace" shifts down by the height of the menu and I cannot see the end part of the page content.
    I noticed this because I was looking at the workspace right scroll bar and I could not see the end.
    I copied my horizontal menu from the Team Site, where the menu is scrolling inside the workspace, but I want to keep it fix under the ribbon.
    I guess that it's a div displacement problem, but I could not find anything to fix it. I opened the nigthandday.css and the core4.css looking for some CSS style property, but nothing...
    This is what it looks like:
    <!-- Ribbon end -->
    <div>
    <!-- my custom menu -->
    </div>
    <div id="s4-workspace">
    Any help?
    Thank you,
    Nicola.

    If you look at the page, you will notice that the whole page doesn't scroll by default.  Only the S4-workspace and below scrolls.  This is done through the use of a Javascript.  Your problem is that you have inserted something between the
    div's at the top of the page and the S4-workspace div.  The javascript isn't aware of that and so it's not factoring in that height when it calculates how to scroll the page.  So you can never reach the bottom.
    To fix it you need to either remove the factors that cause the partial page scrolling and scroll the whole page or insert your menu into either the top of the s4-workspace div or one of the other existing div's at the top of the page.  Take a look at
    the following article for a more indepth explanation.
    http://blogs.msdn.com/b/sharepoint/archive/2010/04/06/customizing-ribbon-positioning-in-sharepoint-2010-master-pages.aspx
    Paul Stork SharePoint Server MVP

  • Data Table Fixed rows and Scroll Bar

    Hi
    I have data table which displays the data dynamically, but when there is no data , the table is shrinking and moving the other elements of the page. Is there any way i can keep to fixed number of rows irrespective of data presence?
    Like i need to display only 10 rows at a time, if there are 7 rows in DB, i have t o display 7 rows containing data and rest as blank .
    If my data increases more than 10 rows how can i enable Scroll Bar Automatically on this?
    Thanks in advance.

    Then add empty row objects to the collection or datamodel which is been passed to the datatable value.

  • Table with fixed header and scroll bar

    Was able to use Dreamweaver 2004 to set up a table to display
    data from a MySQL table. But then the customer wanted to have a
    scroll bar on one side and fixed headers at the top "like Excel",
    because the number of rows retrieved were too long to fit on a
    page. This was harder than I thought. I had to use CSS and
    Javascript with a lot of help to make this happen. Then it didn't
    work in IE7, so I had to use a different approach for IE. I got it
    to almost work perfectly in IE7. It just has a tiny bit of the
    table visible scrolling by above the header rows.
    http://www.ykfp.org/php/lyletrap/tabletotalscss13.php
    Why does Microsoft make this so difficult? Why aren't web standards
    good enough for Microsoft? Is there a better approach to tables
    with scroll bars?

    When things go sour in any browser, validate your code.  I see you have some unclosed <table> tags which could effect page rendering.
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.ykfp.org%2Fphp%2Flyletrap%2Ft abletotalscss09.php
    If you still have problems with IE8 after fixing the code errors, try adding this meta tag to your <head>.  It forces IE8 into IE7 mode.
    <meta http-equiv="X-UA-Compatible" content="IE=7">
    Hope that helps,
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Firefox Doesn't Load Any Website and Scroll Bar Switches to the Left Side of the Screen??

    First let me say this is a work computer that I am using, so there is plenty of virus protection and firewall. I have always used firefox for all my casual internet browsing and work network needs. I recently updated to the latest version of firefox and that is when I started having problems. Almost any web page I go to wether it is my work intranet home page or a common site such as google mozilla will not finish loading the page. If I hit refresh or try to go to another site it gets wierd and the scroll bar switches to the left side of the screen and the page seems to be stuck loading. At this point almost nothing responds to any mouse clicks except for closing the firefox window. If I go to tools --> options it brings up a blank options window with only the "ok" and "cancel" buttons displayed. Help please, I don't like using IE, but right now that is my only option.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.1; Tablet PC 1.7; .NET CLR 1.0.3705; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    There are several reasons why the site may look wrong:
    * ''Bad item stored in the Browser Cache'': Follow the steps at [[How to clear the cache]].
    * ''Bad cookie from the broken site'': Clear cookies from the broken site by following the steps at [[Deleting cookies]].
    * Images are blocked/disabled: see [[Images or animations do not show]]
    * Plug-ins are outdated: check for outdated plugins on the [http://www.mozilla.com/en-US/plugincheck/ plugin check page].
    * Firewall software is blocking some resources on the page: see [[Firewalls]]
    * An extension may be causing the problem: see [[Troubleshooting extensions and themes]]
    For other steps to try, see [[Web sites look wrong]]

  • Really simple question, stop function and scroll bar won't work

    I was working on different parts of this VI separately, when I put them together the scroll bar and stop button stopped working. 
    In the individual VI both are in the while loop. In the final one I was one scroll bar and one stop button to apply to all 5 while loops.
    I tried taking the scroll bar in and out of the first loop to attach it to the rest but it still won't work.
    I'm sure that there is a really stupid simple answer but I've been playing with it for a while.
    I attached the VI that I am working on as well at fake data (to test the color boxes).
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    trial8.vi ‏95 KB
    trial8.vi ‏95 KB
    0_1024.txt ‏25 KB

    You have a typical beginner problem due to incorrect understanding of dataflow. Run the code using execution highlighting and watch the diagram to see.
    Your stop button is outside any loop and thus will only be read by the code exactly once at the start of the program.
    Your scroll bar is read in the first loop. All other loops cannot start until the first loop has completed and since (1) is true, it will never happen if the boolean is false when the code starts.
    Why do you have so much duplicate code? 95% of the loop code is the same and can be re-used. I am sure the entire thing could be written using 5% of the total code. Put everything in one loop, the iterate over the 2D array to get all the values. Don't forget to place a small wait inside the while loop.
    LabVIEW Champion . Do more with less code and in less time .

  • Access, fixing cursor while zooming, coloring scroll bar

    While designing a pdf page for visually impaired
    1) How do you make the magnifier to stay on a fixed point of the text?
    As  is when you magnify a page the cursor position changes with respect to the text. But for a visually imapired person it would be hard to navigate to particular place in text if his/her position is changed. Such a person can get easily lost.
    2) Is there a way of assigning a color to the scroll bar?
    The scroll bars of the Reader are dark gray in a light grey background. After magnification this bar could get small and hard to detect for a visually impaierd person. Choice of color is also imortant for color blind person.

    While designing a pdf page for visually impaired
    1) How do you make the magnifier to stay on a fixed point of the text?
    As  is when you magnify a page the cursor position changes with respect to the text. But for a visually imapired person it would be hard to navigate to particular place in text if his/her position is changed. Such a person can get easily lost.
    2) Is there a way of assigning a color to the scroll bar?
    The scroll bars of the Reader are dark gray in a light grey background. After magnification this bar could get small and hard to detect for a visually impaierd person. Choice of color is also imortant for color blind person.

  • [FYI] FRM-92101 and scroll bar and form crash

    Forms 6i
    Windows 2k for app server.
    I have just spent three hours figuring out why I was getting a FRM-92101 when I deployed a form from my development app server to my test app server. Noted that the development server has patch 18 and uses cgi, not sure what patch the test server has but it uses servlet. Anyway the form worked perfectly on the dev server but would crash out with the error on entry in the form on the test server. Eventually I found the solution to be a scroll bar on a block, get rid of the scroll bar from the canvas and voila it worked. Ended up having to place the scroll bar on a stacked canvas to get it to work on the test server. I have already had to deal with a palette issue and those dark pink colours on deployment. Developed for a while on visual studio and never came across such annoying quirks as these.

    I use XP to develop so I was compiling it there and then copying it across to both servers. Should I compile forms on the app server where they are going to be served or have I picked you up correctly?
    Kind regards

Maybe you are looking for