Help with Capturing Business Graphics data point

Hi,
I created a BusinessGraphics UI element with SimpleSeries and assigned eventId for the categories and data points. I am able to get the series that is clicked through the event but I would like to know which point (value) is clicked as well.
The steps I followed are
1. Created BG UI element, category and SimpleSeries
2. Assigned eventIDs
3. Created an action class and mapped it to the UI element
4. Code in wdDoModifyView is
     if (firstTime)
       IWDBusinessGraphics chart = (IWDBusinessGraphics) view.getElement("bgCSB");
       chart.mappingOfOnAction().addSourceMapping("id", "pointID");
5. Implemented action class with one parameter (pointID) and able to get the value.
Can someone help me to get the data point values from the user click.
Appreciate your help.
Thanks,
Kalyan

You have done everything right, except I don't think you can do this with simple series.
Create something like this:
in the context:
series-> (this node can be with 1..1 cardinality and 1..1 selection)
   points->
       label (string)
       value (int)
       pointId (string)
in the business graphics:
create one series (not simple one) and add to it one point of numeric type.
in the properties of business graphics bind seriesSource to series context.
Series: bined poitSource to series.points
Series_points: bind eventId to series.points.pointId
                        bind label to series.points.label
                        bind valueSource to series.points
Values (these are the numeric values): bind value to series.points.value
in wdDoModify method do the same thing as you have done already.
Now, when you click on a point you will receive in your event in pointId variable the pointId context attribute value.
Best regards,
Anton

Similar Messages

  • Help with writing and retrieving data from a table field with type "LCHR"

    Hi Experts,
    I need help with writing and reading data from a database table field which has a type of "LCHR". I have given an example of the original code but don't know what to change it to in order to fix it and still read in the original data that's stored in the LCHR field.
    Basically we have two Function modules, one that saves list data to a database table and one that reads in this data. Both Function modules have an identicle table which has an array of fields from type INT4, CHAR, and type P. The INT4 field is the first one.
    Incidentally this worked in the 4.7 non-unicode system but is now dumping in the new ECC6 Unicode system.
    Thanks in advance,
    C
    SAVING THE LIST DATA TO DB
    DATA: L_WA(800).
    LOOP AT T_TAB into L_WA.
    ZDBTAB-DATALEN = STRLEN( L_WA ).
    MOVE: L_WA to ZDBTAB-RAWDATA.
    ZDBTAB-LINENUM = SY-TABIX.
    INSERT ZDBTAB.
    READING THE DATA FROM DB
    DATA: BEGIN OF T_DATA,
                 SEQNR type ZDBTAB-LINENUM,
                 DATA type ZDBTAB-RAWDATA,
               END OF T_TAB.
    Select the data.
    SELECT linenum rawdata from ZDBTAB into table T_DATA
         WHERE repid = w_repname
         AND rundate = w_rundate
         ORDER BY linenum.
    Populate calling Internal Table.
    LOOP AT T-DATA.
    APPEND T_DATA to T_TAB.
    ENDLOOP.

    Hi Anuj,
    The unicode flag is active.
    When I run our report and then to try and save the list data a dump is happening at the following point
    LOOP AT T_TAB into L_WA.
    As I say, T_TAB consists of different fields and field types whereas L_WA is CHAR 800. The dump mentions UC_OBJECTS_NOT_CONVERTIBLE
    When I try to load a saved list the dump is happening at the following point
    APPEND T_DATA-RAWDATA to T_TAB.
    T_DATA-RAWDATA is type LCHR and T_TAB consists of different fields and field types.
    In both examples the dumps mention UC_OBJECTS_NOT_CONVERTIBLE
    Regards
    C

  • Refresh the Business Graphics Data on click of next page event of a table

    Hi Experts,
    We are using Business Graphics UI element in Web dynpro Java to display a table data.
    We are limiting the graphics data to 12 table entries at a time.
    Now, I just want to know how can we refresh the Business Graphics data when the user clicks on the Next Page option at the bottom of the table.
    This is applicable if we have more than 12 table entries and we've restricted the visible row count to 12.
    So, for more than 12 entries; when the user selects the next page, I want the next set of data to be displayed in the Business Graphics UI element.
    But I am not able to get the action for the Next Page event.
    Please note that we are on Netweaver 7.01.
    Kindly suggest as how can we achieve this functionality.
    Kind Regards,
    Anurag

    check this
    Web Dynpro Java Table Paging Unleashed: Optimizing Heavy Table Performance

  • Plotting of graph with more than 4000 data points in Excel

    Hi All,
    I am fairly new to labview world. I am trying to plot out line graphs of the results from my program into Excel worksheet. I have huge set of data points(10000) stored in each of 10 different worksheets in MS Excel workbook. I am trying to compile results into last sheet as graphical representation of all the various dataset into 10 different graphs.
    My problem is that I am getting error because MS Graph does not allow me to plot more than 4000 rows or datapoints. Is there better and cleaner way of programming this? Or if some one can provide an example of how to handle such case. I'll appreciate any help.
    My goal is to able to plot one set of data 1st then I will be able to run through various worksheets to compile into standalone results.
     ERROR MESSAGE: "Report Generation Toolkit: Graphs you create or edit in Microsoft Graph cannot contain more than 4,000 rows or columns, including row and column headers. "
    Also for example if we run Line Graph example and change the # of data points from 100 to 4000, we get same message.
    Error -41114 occurred at NI_ReportGenerationToolkit.lvlib:Excel_Insert_Chart.vi -> NI_Excel.lvclass:Excel Insert Graph.vi -> Line Graph (Excel).vi
    Thanks,
    Saurabh

    Hi Dennis,
    I am collecting waveform data from oscilloscope using labview in both data & graph format. So my program collects data for a particular operating condition & then saves the data on a worksheet. After it loads new operating condition & goes over same cycle. I have to save all the data points in excel for different use cases, which I am saving in different worksheet for each specific operating condition.
    Since I already have data saved in excel at the end of test, I am trying plot each use case in the same report for study & presentaion after tests are finished. I have not been able to do so. I read the post which you have mentioned, seems like newer excel or labview version have same issue. I am using LV 9.0
    I will try using decimation but if you have any better way of handling this problem, I'll appreciate if you can share that.
    Thanks for your help.

  • Need Help With Capturing

    I have a canon HV20 and i want capture some clips but it does not let me do it. it says can't activate the recorder try resetting the camera.
    please help

    Hi Raj:
    The message you get seems to point that you have set in the settings-tab of the capture window "DV" as format and not "HDV" - or vice versa (depending what video-clips you have recorded on the camera-tape).
    A-Procedure
    1. What video-clips are on your camera-tape you wish to capture? DV or HDV? Say here for example HDV:
    2. Start premiere and ensure that you setup a project to HDV (or DV; see 1.)
    3. After connecting via firewire the camera to the PC set the HV20 to PLAY!
    4. Press F5 which shows the capture window
    5. Select the Tab "Settings"
    6. In the "Capture settings" select "Edit..." and select now the correct format HDV (or DV) and select OK
    7. In the Area "Device control" select "Options..."
    8. Ensure the following settings: PAL - Canon - Standard - Non Drop-Frame (or in the case of NTSC: NTSC - Canon - Standard -Auto detect)
    9. Select "Check Status": If the camera is correct connected to the PC  and there is the correct HDV-tape in it then the status "Online" should be shown.
    B-Further Checks
    If all that does not help You should check:
    * Edit > Preferences (especially Audio, Capture and Device Control)
    * Project > Project Settings > General ("Capture" must show "HDV")
    C-Postscripts
    a) I am working with HV20-camera, XP/SP3, Adobe Premiere Pro 4.1, PAL, HDV (sometimes DV) and have no problems with capturing.
    b) A last word: If you have HDV  and DV-clips on one tape ==> thats not good !! Use one tape either for HDV  or DV recording. In the case that there are DV- and HDV-clips on the tape you may get troubles when trying capturing.
    c) A last-last word: When recording with the HV20 ensure that you have set correct all camera-settings (especially that concerning DV versus HDV)!
    d) If that all can not help you - then I also need much more information!
    Regards - kurt

  • Need help with power supply & graphics card upgrades

    I have a HP Pavilion p6320y that I bought 8 months ago. AMD Phenom II x4820 Quad Core processor.   I play WoW and since the last big patch, have been suffering with low fps. I updated drivers and followed all the advice given to me by Blizz and finally figured out that my Nvidia GeForce 9100 (integrated graphics) isn't good enough anymore.
    I checked my computer and discovered that I have a 300w power supply (12V) and read on another post here that something stronger than 300w is needed to run a decent graphics card.
    Now for my questions:
    How much of a power supply can I upgrade to without hurting my computer, but will be enough to run a good card?
    What would be a good graphics card for this computer?
    I've been looking at the Nvidia GeForce GTX 460 1GB GDDR5 PCI Express graphics card and wonder if that will work on my computer.  Most of the nicer cards seem to be the PCI Express and I'm not sure if that will work.
    Any advice will be most helpful. I have some experience with the inner workings of my PC and would like to fix this myself instead of running to the closest computer shop and paying someone else to. Thanks!
    This question was solved.
    View Solution.

    Well, you are starting out from a fairly low baseline with the integrated graphics. It will not cost much to have a substantial increase if all you want to do is run WoW without error messages. Yes, the 300w power supply is an issue and rules out any card that will require its own power (i.e. needs its own power cord like a hard drive) but there are several mid-grade cards that can run off bus power alone (i.e. just from the pci-e slot itself). Just taking a quick look at newegg.com I see the following:
    GeForce 9400 under $50
    Radeon HD 4650 under $50
    GeForce 9500GT a little over $50
    Any of these should get you where you want to be and not require a PS upgrade. The slot you have available is a PCI Express x16 slot so don't look at AGP cards; they will not work. If you want to install the card you mention you need to get a better PSU.

  • Help with hours between two dates

    Hi I need help with the below query
    select count(*),a.col1,max(a.dt),min(a.dt)
    from tab1 a
    where a.dt > to_date('01-JUL-08','dd-mon-yyyy')
    group by col1
    having count(*) >=2
    and (max(a.dt) - min(a.dt))* 24*60*60 > 360;
    I am trying to pull the records with more than 2 entries, and having more than 6 hrs difference between max date and min date. When I am trying to execute this I am getting an error at "(max(a.dt) - min(a.dt))* 24*60*60 > 360".
    any ideas how can I pull the records more than 6 hrs?
    Thanks in advance!

    Sorry guys...here is the erros i am getting
    ORA-00932: inconsistent datatypes: expected INTERVAL DAY TO SECOND got NUMBER
    my version : 9.2
    SQL>
    SQL> @ver
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    PL/SQL Release 9.2.0.8.0 - Production
    CORE    9.2.0.8.0       Production
    TNS for Solaris: Version 9.2.0.8.0 - Production
    NLSRTL Version 9.2.0.8.0 - Production
    SQL>
    SQL>
    SQL> --
    SQL> drop table tab1;
    Table dropped.
    SQL> create table tab1 as
      2    select 'stin_8723646' as col1, to_date('7/22/2008 5:48:32 AM', 'mm/dd/yyyy hh:mi:ss AM') as dt from dual union all
      3    select 'stin_8723646', to_date('7/22/2008 1:34:12 PM', 'mm/dd/yyyy hh:mi:ss AM') from dual union all
      4    select 'stin_8723646', to_date('7/22/2008 3:16:25 PM', 'mm/dd/yyyy hh:mi:ss AM') from dual union all
      5    select 'stin_8723647', to_date('7/22/2008 1:10:07 AM', 'mm/dd/yyyy hh:mi:ss AM') from dual union all
      6    select 'stin_8723647', to_date('7/22/2008 4:19:00 AM', 'mm/dd/yyyy hh:mi:ss AM') from dual union all
      7    select 'stin_8723647', to_date('7/22/2008 9:52:44 AM', 'mm/dd/yyyy hh:mi:ss AM') from dual;
    Table created.
    SQL>
    SQL> alter session set nls_date_format = 'mm/dd/yyyy hh:mi:ss am';
    Session altered.
    SQL>
    SQL> select * from tab1;
    COL1         DT
    stin_8723646 07/22/2008 05:48:32 am
    stin_8723646 07/22/2008 01:34:12 pm
    stin_8723646 07/22/2008 03:16:25 pm
    stin_8723647 07/22/2008 01:10:07 am
    stin_8723647 07/22/2008 04:19:00 am
    stin_8723647 07/22/2008 09:52:44 am
    6 rows selected.
    SQL>
    SQL> --
    SQL> select
      2    count(*),
      3    a.col1,
      4    max(a.dt),
      5    min(a.dt)
      6  from tab1 a
      7  where a.dt > to_date('01-JUL-08','dd-mon-yyyy')
      8  group by col1
      9  having count(*) >=2
    10  --and (max(a.dt) - min(a.dt))* 24*60*60 > 360
    11  and (max(a.dt) - min(a.dt))* 24 > 6;
      COUNT(*) COL1         MAX(A.DT)              MIN(A.DT)
             3 stin_8723646 07/22/2008 03:16:25 pm 07/22/2008 05:48:32 am
             3 stin_8723647 07/22/2008 09:52:44 am 07/22/2008 01:10:07 am
    SQL>
    SQL>isotope

  • Help with Adobe Business Catalyst?

    I am having a serious issue with trying to get information regarding a tech issue with Adobe Business Catalyst for a client.  I cannot get even a chat room help. Is there no access to a chat room or immediate support?  I was told yesterday that I would get an answer back and have not had a response.  I have multiple accounts and have encouraged client to sign up with Adobe CC....now I need to get some help and it's hard to find.

    You will likely get better program help in a program forum Business Catalyst
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Help with CF Reports and Dates

    Can anyone here help me with
    This
    post ? I have been waiting for 3 days and after 4 posts no one
    has been able to answer, please help!! I'm stuck on my project only
    because of this. Thank you very, very much.
    Nelson.

    Sorry, I don't use cfreport so I would not be any help with
    what may be inside the total_sales_report_by_date.cfr template.
    However, shouldn't you be executin your query inside of your .cfm
    emplate, then passing the query result to your report as a query
    parameter within your cfreport tag, rather than passing the date
    parameters in cfreportparam tags?
    Phil

  • Help with reloading back up data

    I had to restore my bb pearl 8120 the other day.  Backed up all data and then had a few problems with it.  I have now managed to sort it all but cant reload all my backed up data, I have lost a lot of phone number that I really need.
    Any help with this would be fab.
    Thanks

    Hello,
    Please provide more details, such as:
    Specific BB Model (8120)
    Specific BB OS level (all 4 octets)
    Specific Desktop Software level (also 4 octets)
    Carrier
    Country
    The specific symptoms you witnesses -- "cant reload all my backed up data" doesn't tell us much. Specific details of exactly the steps you attempt and exactly the results you see would be helpful.
    Thanks!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Help with converting hex to date and time

    Hi!
    I am using snmp4j libraries to walk the mib tree. The system date is getting returned in 11 hexadecimal octets. I require help in converting it to date and time. I looked up the RFC convention of what each octets represent. Require help with conversion.
    Eg: 07:db:06:0a:29:1d:00:2b:05:1e
    Thanks,

    Octets Contents Range
    1-2 year 0..65536
    3 month 1..12
    4 day 1..31
    5 hour 0..23
    6 minutes 0..59
    7 seconds 0..60
    (use 60 for leap-second)
    8 deci-seconds 0..9
    9 direction from UTC '+' / '-'
    10 hours from UTC 0..13
    11 minutes from UTC 0..59
    For example I just took the time an hour ago it came out as
    07:db:06:13:12:11:1a:00:2b:05:1e
    I have to convert this as a date long value to send it.
    Do I have to write an utility of my own to do it?

  • Help with installing new graphics card

    Hi I have a 3 year old hpe575a (hp pavillion)
    Intel i7 2600, 8gb ram
    Orginally had a ati hd radeon  2gb (not sure what model)
    in it
    after 2 years the radeon finally melted ( always had overheating problems in the australian summer )
    so I bought a nvidia gtx630m which had the same connections and power requirements and connections as the radeon 
    I csnt seem to get it working, despite the card powering up, and loading the splash screen it doesnt go any further, I can get to the network boot screen or the hp splash screen but no further, and I cant find any bios updates for my mptherboard (pegatron) so do I need a new motherboard? The computer works 100% fine without the new graphics card 
    Should I get a new motherboard. Or graphics card? which would be cheaper? or is there someway to get the current system to work with the new graphics card? thanks -zac 

    Hi,
    The existing card is an "AMD Radeon HD6570 (2 GB)". I don't know how you can fit a Nvidia GTX630M to your machine because this card is for laptop:
         http://www.geforce.com/hardware/notebook-gpus/geforce-gt-630m/specifications
    Probably you are talking about the following card:
        http://www.geforce.com/hardware/desktop-gpus/geforce-gt-630/specifications
    The card should be able to use 300W PSU on your machine (no need new PSU). My suggestion:
    (a) Update BIOS to the latest one, please check, should be "Version7.15 Rev. A" the motherboard is Cleveland
         http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=cp-101150-1&cc=us&dlc=en&lc=en...
    (b) Install driver for new card
    Hope this helps.
    Note: Autumn now but still hot isn't it ?
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Urgent-Need help with code for Master data enhancement

    hi Experts,
    I have appended YMFRGR field(Table MARC) to 0MAT_PLANT_ATTR datasource.
    The key fields in the MARC table are MATNR and WERKS.Can anybody help with the user exit to populate this field,as am pretty new to ABAP.
    Thanks in advance

    Hi,
    go through this link which has the similar problem:
    https://forums.sdn.sap.com/click.jspa?searchID=1331543&messageID=2794783
    hope it helps.
    Thanks,
    Amith

  • Help with form sending the data to email

    I have looked all over the Internet for help with this.  I have tried numerous video tutorials and for some reason I can't get it to work.  I have created a form in flash cs4 AS2.  It is a contact information form where the user fills out their information and sends it.  I have created a the form in a movie clip (I have also tried it not in a movie clip) with the form components inside that movie clip.  I have given each component on the form an instance name.
    The form has:
    Full name (with instance name=name)
    Company (with IN =company)
    Title (with IN = title)
    Phone (with IN = phone)
    Email (with IN = email)
    Topic combobox (with IN=topic)
    Message box (with IN=msg)
    Submit button (with IN=submit)
    I need help with the actionscript writing.  I am VERY new to flash and have never done any scripting really.  Does anyone have a sample file I can look at to see how it works or can someone IM me and I can send my file for them to help me?
    My IM is logan3975
    Any help is greatly appreciated.  I consider myself a pretty technical person so I do learn quick...I just need some guidance until I wrap my head around how this all works.  Thanks.

    Here's a link to a posting elsewhere some had had that may provide some useful info (?)
    http://board.flashkit.com/board/showthread.php?t=684031

  • Help with selecting chuncks of data from a table

    Hi all,
    I need help with a query that should do the following.
    I have a table with vessel messages, and I need to get the last "NumMsgs" messages from a group of vessels.
    The problem I have is that if I order the table by Vessel_ID, MessageDate DESC, I can´t do ROWNUM < NumMsgs (<-- Then number of messages to be shown is a user parameter)
    I know it should be something like:
    select * from (
    select *
    from Messages m
    where TRIM(m.V_ID) = '11597' /* I was trying for a single vessel atm */
    order by m.V_ID, m.MESSAGEDATE desc
    where rownum < :NumMsgs
    Any ideas?
    Thanks in advance !

    Hi,
    What about :
    select *
    from (
    select m.*, row_number() (order by m.V_ID, m.MESSAGEDATE desc) rn
    from Messages m
    where TRIM(m.V_ID) = '11597' /* I was trying for a single vessel atm */
    where rn < :NumMsgsAnyway, I don't very well understand your problem, your query work fine, see for example :
    SQL> ed
    Wrote file afiedt.buf
      1  select object_name, object_id
      2  from
      3  (select object_name, object_id, row_number() over (order by object_id desc) as rn
      4   from dba_objects)
      5* where rn < 4
    SQL> /
    PS_TL_MTCHD_118     71763
    PS_TL_MTCHD_117     71762
    PS_TL_MTCHD_116     71761
    SQL> ed
    Wrote file afiedt.buf
      1  select object_name, object_id
      2  from
      3  (select object_name, object_id
      4   from dba_objects
      5   order by object_id desc)
      6* where rownum < 4
    SQL> /
    PS_TL_MTCHD_118     71763
    PS_TL_MTCHD_117     71762
    PS_TL_MTCHD_116     71761
    SQL> Nicolas.
    Message was edited by:
    N. Gasparotto

Maybe you are looking for

  • IMessage on Macbook Pro with retina display

    Hello! iMessage works perfeclty on my iPhone, but I don't know where I can find it on my macbook, nor how to use it if I did find it. Please try to give me a detailed explanation. Thank you so much. Andy.

  • Missing subclass information...

    Hi, I have a form called ALC1.fmb. It passes parameters to report. It is converting date field to TO_CHAR before assigning to fun_add_param. When i run the report the text field which is subclassed from object_library formats value. Here is the code.

  • How do you download attachments in email?

    How can I do this?

  • Where does Acrobat come up with the default email address for a form?

    We're testing a form to be distributed for electronic signatures by a variety of clients. I created the original form from a Word document, then added signature fields. I then submitted the form to others, but when they add their signatures and click

  • Inaccuracy in mgmt report

    I encountered ABAP runtime error when generating this report for 2 days. So, yesterday I run this report on background. Most of the info was missing in the report when I double check it with FS10N. Pls refer to the attached report. Those highlighted