Plot fill hides the grid.

I want to use color regions on my graph. But, if I use a background image, it doesn't adjust with the scale.
If I use plot fill and create data arrays for my boundaries, it hides the grid.
Does anyone know how to accomplish this? (see attached pictures)
Attachments:
NI Waveform Graph.png ‏66 KB
No Grid.png ‏28 KB

Here are some options, although I don't particularly like any of them. I think I would go with one, because it's the simplest:
Use the BG image, but generate it yourself so that it matches the scale. To do this, you can call the Map Coords to XY method of the graph, which will tell you the size in pixels of each region, which can then be used to build the picture using the picture VIs. The main reason I don't like this is that it's not entirely clear when to do this (when new data comes in, when the user changes the scale, etc.) and that it depends on the data being displayed before you can get the correct values. These can probably be handled if you do this in a loop every N ms and if you defer updates before writing the data to the graph.
Use the picture control VIs to build the entire graph. Then, you can simply draw the scale on top of the BG. There's a palette of VIs for drawing graphs.
Use .NET controls. There's an example of using a chart library in the UI interest community.
Use a 3D picture control, which I believe supports transparency. I'm not sure how easy it would be to construct all the graph pieces.
Try to take over the world!

Similar Messages

  • How to hide the grid lines between two rows in a ALv? Please help!

    Hi Experts,
             I have a ABAP ALV(reuse alv grid FM) report.
    The last field in the ALV is "Description" which can contain data of size more than 130 chars.
    Since the max field length in ALV grid is 130 chars hence I am splitting this field value whenever the field length is more than 130 chars.
    After splitting I am generating duplicate rows but with different "Description" field values ( each contains the splitted values".
    For example:
    Name| City | Description                             |
    Hari|HK    |Employee responsible for time management |
    Hari|HK    |and issue resolution                     |
    Now I want to hide the grid line between these two rows
    and just for Description field.
    In other words I want ALV to display like this:
    Name| City | Description                             |
    Hari|HK    |Employee responsible for time management |
    Hari|HK    |and issue resolution                     |
    How can I acheive this?
    Please provide some sample code.
    Please help. I will be really greatfull to your help.
    Thanks
    Gopal

    Hi Rich,
          If that is the case then atleast how can I hide the complete row grid line?
    Please give some sample code.
    Thanks
    Gopal

  • How to hide the grid in a colored JTable?

    Hello,
    I have a JTable in "zebra"-look. The color is different every second row.
    Now i tried to hide the grid of the table with: setShowGrid(false);
    Oviously this method only makes the grid's color white. How can i hide the grid in my table?
    thx in advance
    Tobias

    thank you, now it looks like it have to

  • Need my action to hide the grid, but it's not recording it

    Hi!
    My question is simply this:
    Is it not possible to hide the grid as part of a Photoshop action? When I perform that step, nothing gets recorded.
    Is there any way around this?
    Thanks!

    At the appropriate place in the Action, go to the Actions panel menu (top-right button) and pick "Insert Menu Item..." then select the grid hiding command.
    Or did you do that and it didn't work?

  • How to sort a column directly after data is filled into the grid?

    Hello,
    I have a unbound field X, which is filled on fly in the RowLoaded2 column. If I click on the column header, I am able to sort the column.
    I want to sort the column directly, but all attempts have failed.
    I have tried to call in <anchor>_OnUpdate
    <anchor>.bcol.Sort( "X", "ASC") but it does not work as long as the property is not mapped to a Segment field of a bdoc. For this test i just created my property X on the Business Objects behind the tablegrid
    I have used <tablegridcontrol>.sortCol = 2, but it results into a StackOverflowException even for any other column.
    Is there no way to sort the colum in this special kind of situation?
    Regards,
    Andreas

    Hi,
    you have to consider that when loading a tile for the first time always rowloaded2 is fired (several times) and afterwards onload. Maybe rowloaded2 again afterwards. So it should work to sort in onload.
    But when clicking the <back> button in the menue the order of the fired events might be different!
    Do you want to sort by an unbound column which is readonly or is it also editable (see other thread)? In this case things might be much more complicate... Normally another sorting should be done in onsave event but unfortunately you don't save anything as it is unbound...
    Regards,
    Wolfhard

  • Can we hide the lines between the columns and rows of an alv in wd abap

    HI all ,
      I know that we can colour cell/column/row in an alv in wd abap.
       but, can we hide the lines between the columns and rows of an alv in wd abap.
         i have checked this link [hiding lines b/n rows and columns of an  alv|http://help.sap.com/saphelp_nw04/helpdata/en/91/e7eb40c4f8712ae10000000a155106/content.htm]
         but didn't  understand, can please anybody provide some example or any material..? it will be very helpful.
                                                                         THANK  YOU.
    Edited by: arfat111 on Feb 15, 2010 7:05 AM

    Code some like this in the WDDOINIT method of your view which defines the ALV component as used component.
    instansiate the ALV component
    data lo_cmp_usage type ref to if_wd_component_usage.
    lo_cmp_usage = wd_this->wd_cpuse_usage_alv().
    if lo_cmp_usage->has_active_component() is initial.
       lo_cmp_usage->create_component().
    endif.
    data lo_interfacecontroller type ref to iwci_salv_wd_table.
    lo_interfacecontroller = wd_this->wd_cpifc_usage_alv().
    data lo_value type ref to cl_salv_wd_config_table.
    lo_value = lo_interfacecontroller->get_model().
    hide the grid lines
    lo_value->if_salv_wd_table_settings~SET_GRID_MODE( value = '01' ).
    Thanks,
    Abhishek

  • Can I turn off the grid in Proto?

    Is there any way to hide the grid in Proto?

    Yes.  Tap the Grid icon in the menu bar (insert screen shot?).  You should see options to turn the Grid on/off, as well as controls for Snap to gri, CSS Columns, and Grid details (spacing).

  • How do I hide the axis but show the grid lines in CNiGraph?

    I'm trying to create an oscilloscope like view for real time display of multichannel data. Each channel is supposed to be presented in it's own graph. All graphs are vertically stacked in one column.
    How can I turn in the gridlines to give me ten divisions while having the axis hidden?
    When I hide the axis the gridlines are hidden as well. Furthermore, I cannot seem to get the coordinates for the plot area so that I can draw the grids myself.
    The view I'm trying to create will look similar to the NI BioBench acquisition software which can be seen at: http://sine.ni.com/apps/we/nioc.vp?cid=10435〈=US
    Thanks,
    Johnny Sundblom

    Try this:
    Bring up the property pages for the graph and go to the Ticks tab.
    Check the Major and Minor boxes in the Grid Lines section.
    Make sure that all check boxes in the Tick Marks section are unchecked.
    Make sure that all check boxes in the Labels section are unchecked.
    Make sure that the Axis Caption is cleared.
    I think this will do what you want.
    - Elton

  • I am having an issue in PS CS6 (on a Mac) where in the middle of working on a file, it gets corrupted by filling in a grid of squares in my layer masks as well as deleting out those same sections of misc layers throughout the file. I have reset the prefer

    I am having an issue in PS CS6 (on a Mac) where in the middle of working on a file, it gets corrupted by filling in a grid of squares in my layer masks as well as deleting out those same sections of misc layers throughout the file. I have reset the preferences, cleaned up the file. Renamed it to another file and 2 weeks later it is doing the same thing. Luckily I had my main subjects as smart objects and it saved them. This second time I just closed it out and opened it again and it is fine. Anybody else have an issue with this? Also it runs really slow these days on my MacBook Pro Retina 2.6 Core i7 with 16gb Ram.

        Hello APVzW, we absolutely want the best path to resolution. My apologies for multiple attempts of replacing the device. We'd like to verify the order information and see if we can locate the tracking number. Please send a direct message with the order number so we can dive deeper. Here's steps to send a direct message: http://vz.to/1b8XnPy We look forward to hearing from you soon.
    WiltonA_VZW
    VZW Support
    Follow us on twitter @VZWSupport

  • Can we show / hide the minor grid in a graph programatically?

    I know how to do it statically and I know how to show / hide the major grid programatically. I am using labview 6.0.
    thanks

    thierry_d,
    This feature is not available in LabVIEW 6.0.x, but there is a minor grid color property in LabVIEW 6.1. If you really need this property, then I would suggest upgrading to LabVIEW 6.1.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • My file names have disappeared in grid view. Thery have been replaced with a dark bar along the bottom of the previews. If I toggle using the command u it hide the bar but I still can't see the file name. In list view all the file names are OK.

    My file names have disappeared in grid view. Thery have been replaced with a dark bar along the bottom of the previews. If I toggle using the command u it hide the bar but I still can't see the file name. In list view all the file names are OK.

    The dark bar is caused by the option "Show metadata below image".
    Check the settings for the metadata overlays in Grid view (basic and expanded) by clicking the little "badge" icon below the Browser and selecting "Edit". Is the filename still enabled in the list? And in a high enough position to have precedence for other metadata tags, if the space does not suffice to show all selected tags?
    Regards
    Léonie

  • Hide the value of certain cells in ALV GRID

    Hello Gurus,
    i need to hide the value or show a icon instead ib certain cells in the ALV GRID for the users that don't have the corresponding rights. Can anyone help?
    Regards,
    Ioan Constantin.

    Check this example, you'll need to adjust it to your authority object to run it.
    TYPES: BEGIN OF t_alv,
             mandt TYPE s_mandt,
             carrid TYPE s_carr_id,
             connid TYPE s_conn_id,
             fldate TYPE s_date,
             price TYPE s_price,
             currency TYPE s_currcode,
             planetype TYPE s_planetye,
             seatsmax TYPE s_seatsmax,
             seatsocc TYPE s_seatsocc,
             paymentsum TYPE s_sum,
             seatsmax_b TYPE s_smax_b,
             seatsocc_b TYPE s_socc_b,
             seatsmax_f TYPE s_smax_f,
             seatsocc_f TYPE s_socc_f,
             planetype2 TYPE s_planetye,
           END OF t_alv.
    DATA: go_alv     TYPE REF TO   cl_gui_alv_grid,
          gt_sflight TYPE TABLE OF sflight,
          gt_alv TYPE STANDARD TABLE OF t_alv,
          wa_fl TYPE sflight,
          wa_fl2 TYPE t_alv,
          gt_fieldcat TYPE lvc_t_fcat,
          wa_fcat TYPE lvc_s_fcat.
    FIELD-SYMBOLS <gs_fcat> TYPE lvc_s_fcat.
    SELECTION-SCREEN BEGIN OF SCREEN 1001.
    SELECTION-SCREEN END   OF SCREEN 1001.
    START-OF-SELECTION.
      SELECT * FROM sflight INTO TABLE gt_sflight.
      LOOP AT gt_sflight INTO wa_fl.
        wa_fl2 = wa_fl.
        IF sy-tabix <> 5.
          wa_fl2-planetype2 = wa_fl2-planetype.
        ENDIF.
        APPEND wa_fl2 TO gt_alv.
      ENDLOOP.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
       EXPORTING
          i_structure_name             = 'SFLIGHT'
        CHANGING
          ct_fieldcat                  = gt_fieldcat.
      LOOP AT gt_fieldcat ASSIGNING <gs_fcat>.
        wa_fcat = <gs_fcat>.
        IF wa_fcat-fieldname = 'PLANETYPE'.
          wa_fcat-fieldname = 'PLANETYPE2'.
          wa_fcat-col_pos = 7.
          AUTHORITY-CHECK OBJECT 'ZPERMISO16'
              ID 'ZPERMI' FIELD '01'.
          IF sy-subrc = 0.
            wa_fcat-tech = 'X'.
            wa_fcat-no_out = 'X'.
          ELSE.
            <gs_fcat>-tech = 'X'.
            <gs_fcat>-no_out = 'X'.
          ENDIF.
          APPEND wa_fcat TO gt_fieldcat.
        ENDIF.
      ENDLOOP.
      CREATE OBJECT go_alv
        EXPORTING
          i_parent = cl_gui_container=>screen0.
      CALL METHOD go_alv->set_table_for_first_display
        CHANGING
          it_outtab                     = gt_alv
          it_fieldcatalog               = gt_fieldcat .
      CALL SELECTION-SCREEN 1001.

  • How can I hide the marker button in an ALV GRID line?

    Hi all,
    I am switching an old program from ALV LIST to ALV GRID. In the old list, I put a checkbox on each line to abilify the user to mark some lines. However, there are some lines that I don't want the user to select. In the list, I set the field for the box name to "*" (asterisk) and in the list, the checkbox is not input enabled.
    Now in the grid, this does not function any more. all lines are markable. How can I deactivate the marker function for some lines?
    Greetings
    Jörg

    Hi,
         use the below snippet in your code
      DATA: ls_celltab TYPE lvc_s_styl.
      REFRESH pt_celltab.
      IF p_mode EQ text-103.
    *§2a.Use attribute CL_GUI_ALV_GRID=>MC_STYLE_ENABLED to set a cell
       to status "editable".
        ls_celltab-fieldname = c_character1.
        ls_celltab-style = cl_gui_alv_grid=>mc_style_enabled.
        ls_celltab-style2 = cl_gui_alv_grid=>mc_style_f4.
        INSERT ls_celltab INTO TABLE pt_celltab.
        ls_celltab-fieldname = c_character2.
        ls_celltab-style = cl_gui_alv_grid=>mc_style_enabled.
        ls_celltab-style2 = cl_gui_alv_grid=>mc_style_f4.
        INSERT ls_celltab INTO TABLE pt_celltab.
        ls_celltab-fieldname = c_character3.
        ls_celltab-style = cl_gui_alv_grid=>mc_style_enabled.
        ls_celltab-style2 = cl_gui_alv_grid=>mc_style_f4.
        INSERT ls_celltab INTO TABLE pt_celltab.
        ls_celltab-fieldname = text-107.
        ls_celltab-style = cl_gui_alv_grid=>mc_style_enabled.
        ls_celltab-style2 = cl_gui_alv_grid=>mc_style_f4.
        INSERT ls_celltab INTO TABLE pt_celltab.
        ls_celltab-fieldname = c_selectionid.
        ls_celltab-style = cl_gui_alv_grid=>mc_style_disabled.
        INSERT ls_celltab INTO TABLE pt_celltab.
    Regards

  • Hide the Header Text of a Data Grid

    I would be appreciative to anyone that could shed light on
    how to hide the HeaderText of a Datagrid. Basically, i want the
    data without the row header.
    thanks,
    -erik

    That's perfect, setting the HeaderHeight to '0' worked!
    thanks for your help.
    btw, 'dimival'... i set the headerText to an empty string
    but there was still a small space where the header was so the
    header wasn't completely gone.
    -erik

  • How can I make a fill-in-the-blank question with partial score?

    I need to make an evaluation test with some questions. Some of them is a fill-in-the-blank question and it has to have partial score.
    I have:
    4 fields (text entry boxes) with: retain text, validate user input;
    also checked include in quiz, with points, add to total and report answers;
    an action that disables the 4 fields when the student is on review mode (otherwise it would be possible to change the answer after submitting the answers);
    Problems:
    I can't give feddback to the student: if i turn on success/failure captions the student will see them while answering, if i turn them off he wont know what's the right answer. I tried to use a shape to hide captions but the captions are always in front of the shape;
    When reviewing the test something happens and the second time we see the results slide it assumes that the fields in the FIB question are empty;
    Notes: it will be used in Moodle, as a scorm package
    What can I do?

    I have a test with some questions (multiple choice, FIB, matching, etc). I have just one button to submit all the answers, and after submiting the student can see his score and review the test to know where he failed. He can't answer again. However, he can change the answer multiple times before submiting.
    "if i turn on success/failure captions the student will see them while answering" - before submitting
    "if i turn them off he wont know what's the right answer" - after submitting
    My results page is the default. I didn't use any variable. When i go to the results page after reviewing the test all the entry boxes are "wrong".

Maybe you are looking for

  • Aperture export to Photoshop error

    Hi all, This is a bit of a very specialised issue that I noticed - so only an issue for the very high end user. But big enough of a problem that I have to change to Lightroom until this issue is fixed... Following Problem statement. I get an error in

  • My Philips hdtv plasma wont display my pb

    Please help. I had a regular hdtv before and never had problems. I have pluged to my 12" mini-dv adaptor, pluged to that is the DVI. Now at the other end of the DVI, I have a HDMI adaptor. My tv just stays black. I Called philips and they said try ch

  • No VGA

    Ok I just bought a MSI 790XT-G45 Motherboard and windows 7 and a WD 750G Hard drive. My problem is it has no vga serial for monitor so I can't begin setting up the windows. Am I suppose to install my PCI E graphics card first. I have a ZOTAC 9800GT.

  • Passing variables from AS3 to PHP

    Hi there I am having some trouble in passing variables from AS3 to PHP. I am using flash and php both in the same file [try.php]. I've stuck with this for two days.. Here's what I have done. Please help!!! header.fla [Actionscript in the timeline] st

  • How do I set an administrative password?

    How do I set an administrative password?