Remember toggle state of lineGraph legend

Hi,
I have a lineGraph with 5 series (Company, Region, Cluster etc). The user can click on the legend's line description to show/Hide the line on the graph. The graph is driven by table and refreshes when a new row is selected.
I want to save which lines were hidden, so what when the data is refreshed, i can hide the same ones for the session. What property on the graph will I use to show/hide the line, but also give the user the option to change the previous selection going forward.

Hi,
don't see this being controlled by an attribute so that I am not sure this can be persisted. However, the setting should be kept for a PPR refresh
Frank

Similar Messages

  • Hot Keys toggle state of toggle switch

    How can I prevent a toggle switch from updating it's GUI state when it is accessed via Hot Key (Alt + letter)?
    I want to be able to do this without Disabling the control,  and without setting the control to Indicator mode.  I created a callback to swallow the event_commit.  The control still toggles state when using hot keys but not when clicking the control. 
    Solved!
    Go to Solution.

    While thinking about your problem it has occurred to me to experiment with some SDK function to check whether the accelerator key function could be diabled. While I haven't succeeded in it, I have noted that if you install a system hot key via RegisterHotKey SDK function it has precedence over the accelerator CVI installs while adding a double underscore somewhere in the control label. That is, even if the accelerator sign is present, a system hot key comes before and prevents the button callback to be fired. That could be a feasible solution for your actual problem.
    I made up a fast example that shows all this matter: you can test all combinations of hotkeys installed on the control and see what happens.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?
    Attachments:
    hotKey.zip ‏8 KB

  • Laptop wireless hard blocked - hardware key does not toggle state

    hello,
    this is my 3d arch install. i kept notes, and followed them exactly and this time i've ran into an issue i just cannot seem to debug myself.
    this laptop is the hp envy 4 1130us. i also have the hp envy 6t-1000 with arch installed and this is not a problem at all for that version of the computer (one is my personal the other is my work machine).
    after installing the base system i installed the wifi related packages:
    pacman -S wpa_supplicant iw wireless_tools networkmanager network_manager_applet gnome_keyring
    i enabled the network manager
    systemctl enable NetworkManager.service
    disabled dhcp (enabled from install)
    systemctl stop dhcpcd.service
    systemctl disable dhcpcd.service
    enabled the wpa toolkit
    systemctl enable wpa_supplication
    add my user to the network group
    gpasswd -a xero network
    turn off the network interface controllers
    ip link set down eno1
    ip link set down wlo1
    start the supplicant
    systemctl start wpa_supplicant
    start the network manager
    systemctl start NetworkManager.service
    reboot
    after that the wired internet work perfect fine. the network manager applet detects the network and does it's thing. i configured and tested vpn as well, and it is also working as expected.
    but then i pressed the hardware wifi switch (F12 key) and nothing happened. i pressed it a few more times, rebooted, tried again, tried during the bios/post test, etc. i simply cannot disable the hardware lock on the wireless.
    so i went hunting on the wiki and here in the forums. nothing has worked. since, this was a fresh install last night i actually wiped the drive and tried the install again hoping i did something wrong, but with no avail. here's the debug messages:
    [~]── - lspci -k (edited for brevity)
    01:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0a)
    Subsystem: Hewlett-Packard Company Device 1894
    Kernel driver in use: r8169
    Kernel modules: r8169
    02:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
    Subsystem: Intel Corporation Centrino Wireless-N 2230 BGN
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi
    [~]── - ip link
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether 28:92:4a:1c:0c:af brd ff:ff:ff:ff:ff:ff
    3: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 68:5d:43:b1:d3:89 brd ff:ff:ff:ff:ff:ff
    [~]── - ip link set wlo1 up
    RTNETLINK answers: Operation not possible due to RF-kill
    [~]── - dmesg | grep firmware
    [ 7.166700] iwlwifi 0000:02:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
    [~]── - dmesg | grep iwlwifi
    [ 7.133763] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
    [ 7.141638] iwlwifi 0000:02:00.0: irq 46 for MSI/MSI-X
    [ 7.166700] iwlwifi 0000:02:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
    [ 7.245928] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
    [ 7.245934] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
    [ 7.245937] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
    [ 7.245941] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Wireless-N 2230 BGN, REV=0xC8
    [ 7.246078] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
    [ 7.253731] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
    [~]── - rfkill list
    0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
    so based on some of the output it looks like RFKILL is blocking it during the boot process. i tried to unblock it via the unblock all command, but that's only soft blocks. i'm really not sure what to try next, so i'm asking for help (before i throw my laptop out the window).
    thank you in advance for any advice

    yeah,
    i was thinking that recompiling each kernel would be a huge hassle as well.
    so i just booted 2 live usb disks.
    the 1st, the arch installer - the wifi was still hard blocked.
    the 2nd, debian / crunchbang. what's odd, is that in debian the wifi key light is while (enabled) but it's still blocked. if the press the button it turns amber (disabled), if i press it again it turns white again and is actually enabled.
    it almost seems like arch is not "catching" the action keypress. the keyboard backlight key works out of the box, and so does the screen brightness keys. but i run xfce4-volumed to control the volume related keys. is there anyway to emulate the hardware keypress to even see if that's the issue?
    -----------------[update]-----------------
    so i decided to try and enable the rfkill unblock all service:
    systemctl enable [email protected]
    that alone didn't work, but...  i booted into another os, enabled wifi, then hard powered off the laptop. when i rebooted into arch it seems to work now. it's a really hacky work-around. but i'll take it. i'd really like a proper solution, but it works for now i guess.
    Last edited by xero (2014-07-24 19:34:53)

  • [SOLVED]KDE does not remember window state, restoring from System Tray

    Hi,
    I'm facing a problem with some KDE applications that dock in the system tray, like Amarok and Konversation. I like to keep these apps maximized. But when I restore them from the system tray, they always revert back to their original, unmaximized size. Is there any workaround or fix for this?
    Using KDE 4.3.4-2 (not KDEmod)
    Thanks.
    Last edited by codemon (2009-12-08 08:56:16)

    Funny thing happened. I tried out your suggestion for my Firefox window, which would always start in an un-maximized state. It worked perfectly. Then I opened up Konversation and Amarok, and found that they properly remember the window state now!
    Thanks for the help.

  • RE: Remembering Previous State in Array

    The previous vi link doesn't work.
    Here's a link to the file that I zipped:
    http://homepages.about.com/mesatabletennis/MultiSwitch.ZIP
    --Rob
    >===== Original Message From Robert Trudell =====
    >It appears I can't wire an array back to itself so it can recall it's
    >previous
    >state.
    >
    >I'm trying to read and record a multimeter measurement for 7 different
    >values
    >and place the output into an array that corresponds to one of 7 different
    >buttons.
    >
    >I'd like the array to remember it's previous state for the buttons that
    >aren't
    >being pressed.
    >
    >Here's a link to the vi of what I'm basically trying to get at:
    >
    >http://members.fortunecity.com/pongclub/MultiMeterSwitchArray.vi
    >
    >Any ideas
    for solving this problem will be appreciated.
    >
    >--Rob
    >http://members.aol.com/ttoutpost1
    Get your FREE web-based e-mail and newsgroup access at:
    http://MailAndNews.com
    Create a new mailbox, or access your existing IMAP4 or
    POP3 mailbox from anywhere with just a web browser.

    I hadn't tried using local variables. Someone else suggested using shift registers which worked out great.
    Attachments:
    multimeterswitcharray.vi ‏30 KB

  • Remembering previous state in array.

    Sample VI at:
    http://homepages.about.com/mesatabletennis/MultiSwitch.ZIP
    It appears I can't wire an array back to itself so it can recall it's previous state.
    I'm trying to read and record a multimeter measurement for 7 different values and place the output into an array that corresponds to one of 7 different buttons.
    I'd like the array to remember it's previous state for the buttons that aren't being pressed.
    --Rob

    Yeah, that's what I needed. Thanks.
    Attachments:
    multimeterswitcharray.vi ‏30 KB

  • Gnome 3 - Remember window state

    Hi fellows. I've been using gnome3 for a while now. One thing i couldn't figure out is how to make it remember the window state (maximized, unmaximized). For example, if i open a terminal, maximize it and then close it, i want the therminal maximized next time i open it. That doesn't happen and the terminal opens unmaximized again.
    Is there a way to do that in gnome3? Thanks!

    I'm fairly positive that Compiz is incompatible with Mutter in GNOME 3.  If you insist on having Compiz then the Xfce desktop environment paired with compiz-manjaro from the AUR works perfectly on the 3 machines I run it on.  Xfce is a light-weight desktop and is similar to GNOME 2.  A bit of tweaking here and there and it's sexy too.

  • Remembering Window State

    Various threads have addressed parts of this topic, but I haven't seen a complete workable solution so far. Here's the problem:
    When my application starts, it's supposed to restore its main window (a JFrame) to the state it had when it was last closed (unless it was minimized). If it was maximized, it should maximize automatically, otherwise it should open with the same location & dimensions it last had. As the application runs, I monitor changes in size, location & maximized state, then save them to a properties file when it exits.
    Mostly, this is working OK, but I'm having a problem the ComponentListener. When the user maximizes the window, the componentMoved method is called, but at that point the Frame state doesn't indicate the window is maximized. So I save the window coordinates, but they turn out to the wrong coordinates, because the window is maximized. Here's my componentMoved method:
    * Saves new position when frame moves.
    * @param event The event being handled.
    public void componentMoved(ComponentEvent event)
       Object source = event.getSource();
       if (source instanceof UprrFrame)
          UprrFrame frame = (UprrFrame)source;
          if (frame.isMaximized() == false)
             frame.saveBounds();
    }The frame.IsMaximized method looks like this:
    * Determines whether the frame is currently maximized.
    * @return <b><code>True</code></b> if maximized.
    public boolean isMaximized()
       int state = getExtendedState();
       boolean maximized = (state & Frame.MAXIMIZED_BOTH) == Frame.MAXIMIZED_BOTH;
       return maximized;
    }I'm, not sure if I'm doing something wrong, or whether I've stumbled across an AWT/Swing bug. Any insights would be greatly appreciated!
    P.S. I'm running JDK 1.4 under Windows XP.

    If your solution works for you, then thats all good. However, i'll add this for completion...
    Actually, the invokeLater in componentMoved does not always work in this case... it might seem to work all the time, but in reality, it's just luck that it's working. If you test it in enough environments, or with slower machines, you'll see what I mean.
    Basically, you are trying to time it so that the test for frame maximization occurs after the window state change event. However, the window state change events are caused by asynchronous native window events.. and if the machine is slow enough (or perhaps fast enough), the invoke later is executed too sonn, and it says the frame is not maximized when it is.
    You need to save the window location in componentResized, and rollback the save transaction when you hear a window state changed event from NORMAL -> BOTH_MAXIMIZED.

  • Cookies to remember login state, is it safe?

    Hello,
    For my web application I use "WWW-Authenticate", "BASIC realm=\"My website access\"" to get username and password from the visitor. This info is checked agains account info I have stored in registrants infofiles that are only accessible locally at the server. If this user's info matches the my stored info, I grant the user to enter my site.
    If the visitor visits the next page generated by my server, this info appears to be sent again automatically and so I can check it again before showing the contents of the next page. That means I have to do some file-access each time a page is requested at my server. So this could be a lot of 'slow' file access.
    Now I thougt to use cookies to reduce this file-access, by storing the login-state in a session cookie (storing the user's name). In that case I can first check if the concerning cookie-info is set (username is set) and in case it is set, I can skip the file-check part.
    I was wondering if this is save way of working. Can't a client view and/or change the contents of such a cookie? For instance, can't a client build a browser-look-a-like and let it view/alter the cookies that it receives? Or perhaps there more simple ways to do that. If so, I imagine the client alters it's login-state (by setting the cookie contents itself) and can enter my site with another username of a registered user.
    So, are cookies save enough for storing login states? Since cookies are data stored at the client side, so I assume the client has access to that data one way or the other?
    Many thanks in advance.
    Best regards,
    Harry Postma.

    I would be somewhat nevous storing any sensitive information in a Cookie. As you say, the client can get access to this information locally on their system, or there is the potential of someone capturing packets being able to view the cookie as well.
    That being said, there is an interesting discussion on theserverside.com regarding secure login cookes that you may want to review: http://www.theserverside.com/common/printthread.tss?thread_id=23406

  • IPhoto not remembering previous state in Lion

    If I put iPhoto into full-screen mode, quit and then re-open iPhoto it does not start in full-screen mode. Ideas?

    iPhoto menu -> Provide iPhoto Feedback and let them know you want that feature.
    Regards
    TD

  • Fixed: How to remember the DataTable state and still use buttons

    Lets say that you have a DataTable on a page, with a bunch of hyper links and buttons on the same page (for navigation to various parts of your application). If you use the built in pagination and sorting, you will find that the following behaviour:
    1. DataTable remembers its state (sorting, page number, etc.) if you click on any hyper link. You can even go back to a different page, and then come back to the original page to find that your DataTable is in the state you left it (very cool, it is session scope and works as intended).
    2. If you click on any button, DataTable does not remember its previous state (goes back to page 1 and default worting, etc.). After playing around with it and going nuts, I discovered the way to use Button and still have the DataTable remember its state. I wanted to share it with the rest of you:
        public String btnClose_action() {
            try {
                this.getExternalContext().redirect("faces/users.jsp");
            } catch (Exception ex) {
                log("Error: userDetail > btnClose_action", ex);
            return null;
        }This was my original post:
    http://swforum.sun.com/jive/thread.jspa?threadID=103583
    Message was edited by:
    Sabir

    II think there should be a property
    to disable form submission on buttons. There is!
    To make the form not be submitted by a button click:
    1. In the Visual Designer, select the button.
    2. In the Properties window set the JavaScript > onClick property to return false;
    This might interest you: http://blogs.sun.com/divas/entry/disabling_a_button_after_it

  • Library panel folders state not remembered

    I am using LRM3 on Win 7. LRM does not remember the state of the folders in the panel when I re-open the application. For example if I have my folders organized by year. I open 2004 browse to some file. Then I close the folder tree at 2004 and then open 2007 and select a sub folder. I then close the application and reopen it. It shows both 2004 and 2007 folders open even though I shut (collapsed) the 2004 folder before quitting the program. This can be quite annoying when you have lots of folder as the folder with focus, i.e. 2007 subfolder is way off the bottom of the screen. Does everyone have this problem, i.e is it a feature or a bug?

    rgb964 wrote:
    I have a similar problem with LRM3 on Mac OS X 10.6.3.  But it's even worse.  Not only does Lightroom insist on opening three of my top-level folders when it starts, it does this every time I perform an operation that affects the file system.  For example, with all folders closed, I open folder X, and rename X/OldName to X/NewName.  Upon confirming the change, folder X/OldName changes to X/NewName, but then A/ B/ and C/ all open.  I can't tell you how much time and mouseclicking this has wasted for me.
    I've tried your Alt-Click method for closing the folders, however that doesn't help.  A/ B/ and C/ always open at startup and anytime I modify the file system. I've even totally uninstalled Lightroom and re-installed, but that didn't help.  Whatever the problem is, it must be in the catalog.  I verify and backup the catalog every time I quite Lightroom after doing real work.
    Any suggestions from anyone?
    OK, I've fixed my problem I hope.  After uninstalling and  re-installing LR3, I created a new catalog.  Then I imported all the  photos from my previous catalog using "Import from Catalog..."  This  took an entire evening.  Then I shut down Lightroom.  I have it set to  backup every time I shut down, and I always set it to verify and  optimize the catalog.  The backup took quite a while also.  Now, my  three folders that always opened on startup and anytime I touched the  file system all stay closed under those circumstances.
    Curiously, my installation of  Lightroom still does not remember folder states.  It now always  starts with all folders closed, even if I left top-level or subfolders  open when I shut it down.  But this is fine with me!

  • Flash CC code editor toggle fields function

    PROBLEM:
    The action script file does not recall it's closing state on reopening.
    ISSUE:
    When I come back to my work and work area it should be in the same state in which I left it. It would greatly improve my workflow and reduce setup time if this were the case in CC  
    DESCRIPTION:
    In CS6 if I collapse a block of code - like a large function block - then close the script file and reopen it at a later date - the collapsed fields remember their state and are still collapsed when I reopen. Granted this is only when the same file is opened on the same machine not when opened from the cloud on a remote laptop.
    In CC all the folds are expanded (or now "toggled") back to open when the file is reopened. (Side note - Why was it necessary to change the verbiage from "collapse" to "toggle"!?!?!?)
    BTW there is a "Toggle All Folds" in the right click menu but it is pretty much useless when using the code editor for a class file since it toggles all fields up to the package statement so clicking it hides all the code.
    SOLUTION:
    Please someone let me know if this is a preference and if so where to set it in the API
    - or -
    Instead of "Toggle All Folds" - Adobe - please implement "Toggle All Folds Below" or make this selection definable in the preferences panel as well as make the preserve file state on close easier to find or implement the same functionality as CS6

    For Windows:
    Comment : Ctrl+M
    Uncomment Ctrl+Shift+M
    Once you open an script you can see these shortcuts in the edit menu. The Edit\Keyboard Shorcuts Panel has the list of all predefined shorcuts for Flash Pro.

  • Remember selected item with ComboBox

    Hey All,
    I was just wondering how other pople solve this issue.
    I have a combobox with a XX number of items in there. Now
    when I re-populate the combobox the selected item get's lost. I
    also would like to remember the selected item during sessions. For
    instance when A user selected item XX on monday. I would like to
    have it automatically set XX again when a user comes back on
    tuesday.
    Is there a meganism in adobe flex that allows me to remember
    a 'state' of a object, or is that custom programming?
    Ideally I would like to have a component that can do teh work
    for me rather then my application handles the logic, some sort of a
    state manager?
    Ries

    Use a SharedObject, and write to it in the ComboBox change
    handler. See SharedObject in FB3 help sys.

  • Play a sound during a state transition

    Greetings,
    I would like to associate a sound with a transition so that it is played during the duration of the transition.
    What is the best way to do that in flex Hero?
    Thank you.

    You might find the SoundEffect class useful, for example:
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
              xmlns:s="library://ns.adobe.com/flex/spark"
              xmlns:mx="library://ns.adobe.com/flex/mx"
              title="Sound Effect">
         <s:states>
              <s:State name="state1"/>
              <s:State name="state2"/>
         </s:states>
         <s:actionContent>
              <s:Button label="toggle state" click="currentState=currentState=='state1'?'state2':'state1'" />
         </s:actionContent>
         <s:transitions>
              <s:Transition fromState="*" toState="*">
                   <s:Parallel>
                        <s:Parallel target="{target}">
                             <s:Fade />
                             <mx:SoundEffect duration="1000" source="mySound.mp3"/>
                        </s:Parallel>
                   </s:Parallel>
              </s:Transition>
         </s:transitions>
         <s:Button id="target" label="target" width="100" height="100" verticalCenter="0" horizontalCenter="0"
                     alpha.state1="1" alpha.state2="0.5"/>
    </s:View>

Maybe you are looking for

  • How to delete an article from reading list in safari

    Hi my name is kashish i just want to know that how can i remove something or a web page from the reading list in safari iam using iapd 4 retina display with ios7.0.4

  • I have a iPhone 4s I use some times my iPad Charger to Charge the battery is correct?

    I have a iPhone 4s I use some times my iPad Charger to Charge the battery is correct?

  • Wrong  value  in java stored function

    Hi All, i have written a java stored function, at the end of the code it insert record into the database among other columns also a number(18,3) column, when I debug it (out side of server) - works fine. when I load it to database i get wrong values

  • Help writing first Java Script

    HELP!! I am writing my first Java Script for a class but cannot figure out what I am doing wrong. I have created a from and need to write a script to verify that all form entries are filled before allowing the data to submit. Can some one please look

  • SSL authentication + Radius

    Hi, I would like to know if there are webservers which authenticate the user through a login page and convey the successful authentication of the user to a RADIUS server. -Shar