Chart legends, only one showing on stripchart

1. I selected 4 legends on my stripchart, but see only "Trace 1." No other legends are visible. How to get them visible?
2. How to change the text of each legend? I tried the following before and after the PlotStripChart statement but don't see the INK#X texts, just a single "Trace 1" legend.
        SetPlotAttribute (g_hmainPanel, SS_PANEL_STRIPCHART, 0, ATTR_PLOT_LG_TEXT, "INK#1");
        SetPlotAttribute (g_hmainPanel, SS_PANEL_STRIPCHART, 1, ATTR_PLOT_LG_TEXT, "INK#2");
        SetPlotAttribute (g_hmainPanel, SS_PANEL_STRIPCHART, 2, ATTR_PLOT_LG_TEXT, "INK#3");
        SetPlotAttribute (g_hmainPanel, SS_PANEL_STRIPCHART, 3, ATTR_PLOT_LG_TEXT, "INK#4");
I do get all four traces showing on the stripchart.
Any ideas?
Thanks,
John
Solved!
Go to Solution.

Hi QuerulousJohn
In order to get the various elements showing in your legend, you can select the .uir, double click your strip chart to edit its attributes. Select Traces, and then if you notice you can select the number of traces as well as which one you are looking at. To get each of the four showing on your legend you need to toggle "Trace on Legend" in the bottom left corner for each of the ones you want to show.
For setting the text of each item in your legend you can actually use SetTraceAttributeEx (panelHandle, PANEL_CHART, 1, ATTR_TRACE_LG_TEXT, "text");
Where the parameters are the panel, the chart/control ID, which trace you are referencing, the attribute, and the value.
Hopefully that should get things working for you, definitely follow up if it is not the solution to your issue.
Have a great day!
James W.
Applications Engineer
National Instruments

Similar Messages

  • I have 2 Gmail accounts - how do I get contact details from the 2 accounts uppdated in my iPhone3gs? Only one shows

    I have 2 Gmail accounts, one Google Apps account and one regular Google account.
    I use one for my business and the other for personal use.
    Each account has a number of contacts (business contacts in the Google Apps account, and personal in the other). My problem is that when I made the configuration, only my personal contacts shows, not the one in the my business account
    E-mail and calendars work just fine but the issue with contacts really bothers me. Can some one help?
    Thanks!!
    Andrés

    You can't sync contacts between iPhone and Google directly and (i've tested this right now) you can't sync iTunes with two Google Accounts but only with one Google Account.
    There is only one solution: First go to your private Google Account (use the website) and select Contacts. Select all contacts and export them as vCard (for Apple addressbook) and import them into iCloud addressbook. Now do the same with your business Google Account.
    It is possible that there is a 3rd-party software which can do this automatically but i don't know any. Sorry!

  • I have two emails only one shows on my phone

    I have two e-mail accounts only one will show  on my iphone

    If the account was added to your Mail, Contact, and Calendar in you settings, then click on your mail icon then click the mailbox icon on the top left look at the bottom of the screen for your accounts. 

  • Imaqdx multiple cameras show as Local Area Connections in System tray, but only one shows up in MAX.

    I have two GigE cameras (Pulnix 4200GE) in my system, each having it's own NI GigE Vision Adapter. The adapters show up in Network Connections and in the system tray as "Local Area Connection" (LAC) and "Local Area Connection 2" (LAC2). However, I can only see one camera at a time in MAX. If I start with both adapters disabled, then enable LAC followed by LAC2, I see one camera (cam0), then both (cam1 shows up) but about 6 seconds later the second camera (cam1) disappears! If I enable the adapters in the reverse order (LAC2 followed by LAC), only cam0 shows up. I can see each camera alone by disabling the other adapter but I cannot get them both to stick around.
    There is also an anomoly in the MAX display of the cameras. If I right-click the camera in the NI-IMAQdx folder the context menu has a 'Camera->' sub-menu which shows both cameras even if one has had its adapter disabled. And regardless of which camera I see (cam0 or cam1) the list shows the same camera is checked. This is in conflict with the data showed in the Camera Information tab of the attributes pane in MAX, which shows a different camera (ID'd from the serial number) based upon which one shows up in the folder list. And changing the selection check-marked in the 'Camera->' sub-menu has no effect on the information displayed in the attributes pane.
    I have followed the troubleshooting guide and they are both DHCP-enabled and have Auto private addressing enabled. I have updated the Adapter drivers. This is a NI PXI system running Win XP.
    Thanks in advance for any help!
    Jesse

    If you are running Windows XP you need to go to the network settings tab in Windows and bridge the two "NI Gige Vision Adapter" ports together (select both, right click and select option to bridge network adapters). This is due to a deficiency in Windows XP where multiple adapters within the same logical subnet (the link local address space, in this case) are not able to be used independently for broadcast traffic. This workaround is not needed on Windows Vista or later.
    The details you are seeing by right-clicking the camera in MAX is the list of camera files (saved settings) that can be associated with the camera. You probably have two because both were visible at one point or another to IMAQdx and so unique ones were created. They are probably both associated with the same camera file because if they are both the same model name we have some logic that assumes that if one is removed and a new one is attached, to use the previous camera file. This only happens in certain circumstances---normally if you start with one camera and add a second (or start with two) they will both get unique files created to store their settings. In your case you can use MAX to set the correct association as needed.
    Eric

  • I have faces in my iPhoto but only one shows on my iPad 2. why?

    i just bought an ipad  and want to have all my photos on the pad. the trouble is that only one of the people in the faces section appears in itunes. Why?
    and any ideas on how to solve this?
    Clive

    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button,                         
    and select the library you want to add from those in the selection window.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note 1: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments. However, books, calendars, cards and slideshows will be lost.
    Note 2:  Your current library will be left untouched for further attempts at a fix if so desired.

  • In Music, sometimes an album that has more than one artist, only one shows up, how do I get them all that are all on the album to play in sequence when I select that album?

    I can't figure out why, on my ipod touch in Music, when I select some albums that have more than one artist, the whole album doesn't come up to play all together.  This happens in some compilations, and only ne song shows up from each artist on the album.  Or like on an artist's album that has someone else singing with her.  I get that they are on the same line as an artist, but the album is an album, and when you play an album, the whole thing should play - right?  Thanks for your help!

    Generally all you need do is give tracks from the same album a common Album Artist. See Grouping tracks into albums. The images need an update but the basic info. still holds.
    tt2

  • Custom pages - only one shows up on the summary page

    hello, i have two custom pages, one allows the user to pick the site location and the other allows the user to pick the computer model. when i launch the udi preview only the choices from one page are shown on the summary page? how can i fix this
    thank you.

    Hello,
    Thank you for your replay. Actually the page number is on the Page Foot. Is any one has the same problem ?
    Your input is grate appreciated !
    Lin

  • Settings and computer icons are the only ones showing

    ATV 3
    I used it just fine all day yesterday, and now as I try to watch Netflix, it didn't work.  I tried to reset through the menu system, and when it came back on the only two icons showing were Settings and Computers.  I tried to reset through the menu system again.  No change.  I tried unplugging the device and plugging it back in.  No change. 

    Nevermind.  Even though it showed that it was connected to the WiFi network, I reset the connection. 
    Settings > General > Network > WiFi > click on your network name > Forget Network
    Settings > General > Network > WiFi > click on your network name then type in credentials.

  • On a ustream site, there are supposed to be four cameras shown. Only one shows. How do I get the other three to show?

    I don't know how to explain further. Should I give you the site name so you can see what I'm talking about?

    I have Flash set to "Ask to Activate". After approving it, I reloaded the page. There was a delay before the 3 Ustream cams loaded, and then I got overlapping car commercials, and then the attached.
    So it can work, but I wonder whether one of your extensions could be blocking those other cams? You could test the page in Firefox's Safe Mode. That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: [[Troubleshoot Firefox issues using Safe Mode]].
    You can restart Firefox in Safe Mode using either:
    * "3-bar" menu button > "?" button > Restart with Add-ons Disabled
    * Help menu > Restart with Add-ons Disabled
    Not all add-ons are disabled: Flash and other plugins still run
    After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (''not'' Reset).
    Any difference?

  • APEpress & APExtreme - Only one shows up

    I have both and unless I connect to the name of the specific device I can't get access to the other.
    IE: I connect to the network named "1" and my Airport Utility shows "1" in the Left side. If I connect to network "2" I see "2" in the list on the left. Never both.
    I would like to use both. The APExtreme for internet and network connectivity, the APExpress for streaming Airtunes.
    What am I doing wrong, or what can I do to fix this?
    Thanks

    Reset your basestation - This forces it to broadcast a name for 5 minutes
    Enter the network name (providing you know it) in the "Other..." selection under the AP pulldown menu selection on your Mac to join that network and control that APB
    Open Airport Utility
    Use Manual set-up
    Then select the AEB - under wireless - Then Wireless Options - uncheck "Create a closed network".

  • I deleted my phone from the list after trying to back it up how can I get it back and back up my phone , the only one showing on the phone is my ipad which is synced to it

    I wanted to back up my phone as have bought a new 6 so went to settings I cloud then back up but it wouldn't turn on . I went in to view the backups and it wasn't done since September last year , then I clicked on my phone detail and made a mistake of pressing delete back up . the phone now isn't listed just my ipad which is linked to the phone . So how can I back this phone up please and perhaps restore the phone detail in backups

    Your title asks "How do I get my iPhone information back on my (iPhone)?
    You also said "I have yet to back it up."  Therefore, all your information that had been on your iPhone is now gone.
    Your iPhone has (and will continue to) been refreshed from iTunes.

  • Ring tones visible, but only one selectable

    I made some custom ringtones using the Ringtones app.  These did not appear when selecting Sounds::Ringtone
    or individual contacts, so I transferred them to itunes and then dropped them onto my iphone.  (I tested them
    on the mac:  The icons say "RING" and are playable.)  They appear in itunes under DEVICES::my iphone::Ringtones
    (and of course in Ringtones app).  So it looks like they are in the phone.  ONE of them appears under Custom when
    I select sounds, or ring tones for a contact.
    Seems odd that they appear to be on the device, but only one shows up for selection.

    Hi,
    The number of  left hand site is the total of all the instances in Active Directory. Including Directory, Access Control namespace and MFA.
    Meanwhile, you could refer to this article about removing objects that were synchronized through the Azure Active Directory Sync tool
    http://support.microsoft.com/kb/2619062
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Customize the legend of a pie graph to show only one series

    Is there a way to show only one series in the legend though the pie graph displays more than one series?
    Any help is greatly appreciated
    Thanks
    KK

    Here is an example that changes the scale of a graph. I think it is what you are looking for. Post back if it is not.
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]
    Attachments:
    Update_graph_scale.vi ‏40 KB

  • Can I show a data label for only one point in a series?

    Forgive a newbie question from an Excel convert, but can I show a value label for only one point in a data series? If yes, how?
    There are a number of graphs where I only want to value of either an extreme value or the ending value to show. Having all the labels in a series makes the chart too busy. This is pretty easy to do in Excel.
    If this can't be done, I guess that adding a text box over those points would work.
    Thanks

    Hi W-T,
    Welcome to Apple Discussions and the Numbers '09 forum.
    wahoo_tiger wrote:
    Forgive a newbie question from an Excel convert, but can I show a value label for only one point in a data series? If yes, how?
    Sure. Here's and example labeling only the MIN and MAX points.
    Column B contains the data charted with the blue line.
    Column C extracts the MIN and MAX values using the formula below. Those two values are charted as a separate series, using the green data point markers, and are labeled with their values. The intervening empty string values appear to have doused the lines connecting the two data points.
    Formula: =IF(OR(B=MAX(B),B=MIN(B)),B,"")
    Regards,
    Barry

  • Pie chart legend showing digit "1" when we set "ignore blank cells"property

    All,
    We have pie chart in Xcelsius 2008 that shows the data with legend value and we have also set the ignore blank cells property to ignore the blank value from column. but once we set this property, it displays the digit "1" in the legend when there is no data.
    we are expecting that nothing should be displayed in pie chart legend when there is no data for the pie chart.
    Thanks,
    Sourabh

    hi Sourabh,
    I could replicate your scenario.
    Workaround is to create a duplicate of this chart. Go to properties of this new chart.
    Go to Appearance ->
    Uncheck
    - Legend
    - Mouse-over values
    - Data Labels
    for this chart.
    Write a logic in excel using 'IF' to verify if your data is empty.
    Use 'Dynamic Visibility' feature to display this chart only when your data is empty.
    Display your original chart if your data is not empty.
    Regards,
    Vamsee

Maybe you are looking for