Write name of series in the chart to the report area

I have a sample application created for my use and its accessible via the link

https://Apex.Oracle.com/pls/Apex/f?p=78540:1:106638818610570:

Username and password is apex_global / apex_global

workspace: SHASAPEX

I'm doing an exploration down to a region of the graph to a regional report and when I click on my bar diagram - I want to be able to pass the name label and the serial in my region to report (Variables) - so in my example - I'm hoping to spend say - JUL-14 and eligible Evergreen when click on the blue bar in the region of JUL - 14 , then through java for the link action script, I do an update of my region to report after you have defined the required hidden items

But I don't know - how to pass the series name of my table for the report region - as of now, I have a javascript function to do a pop up of my values passed which shows JUL-14 and 2 when you click on my region example

Thank you

S

Hi Jeff / Mihai,.

Just thought to share my discoveries - has been able to make it work as I wanted (i, e - one query with several series of that) and then click for the series name to dig another report

The reason why this is essential, what I need where I don't know how much of series I'm going to so I'll construct my SQL in a function and return to the region of APEX - this way atleast I would like to know which series is clicked, and I would have to factor the name of set of real criteria SQL into sql report child I did ,

I updated my original with her test area if you want to take a look.

Basically, we need to make a listener on the loading of the page that looks something like (Note: here in static chart region ID is RG1_EVGEXP_BAR)

AnyChart.getChartById($("#RG1_EVGEXP_BAR_chart object").attr("id")).addEventListener("pointClick",function(e){
  console.log(e);
showChartPopup(e);
});

And a separate java script which binds the name of the series and then update my report region is.

function showChartPopup(pEvent){
alert(pEvent.data.Name);
alert(pEvent.data.Series.Name);
clickEvgExpBar(pEvent.data.Name,pEvent.data.Series.Name);
}

function clickEvgExpBar(pLabel,pValue){
   $x('P1_R2_PERIOD').value = pLabel;
   $x('P1_R2_EVG_ELG').value = pValue;
   $('#R2_EVGEXP_CAT_DTLS').trigger('apexrefresh');
}

Tags: Database

Similar Questions

  • Server data store will automatically get updated when the new file (with the same name) is placed in the landing area


    Hi guys,.

    The data store server-side will get automatically updated when a new file with the same name is loaded in the landing area?

    for example

    1 data store created for server-side get the file named UK.xls (he has 5 rows)

    2 snapshot created for the above data store

    3. created with the snapshot process

    After that if I remove 2 lines from the same file and load again to the landing (with the same name). So by re-running the process will take the last file OR do I need to reload the file in the data store every time when there is a change in the file. We also tried with option to work but the last file was not picking up.

    Any help will be really appreciated.

    Please lets us know your updates.

    Please advice

    Thank you

    VT

    Hello

    When you create a snapshot, you create a snapshot whose task (provided that you use a data store server-side) can be run from a job. To refresh the data, run the snapshot in a job task. If you create a task at the time the snapshot and the processes that use it, they will automatically connect and will be 'upstream' data through the snapshot in the process. You can then choose whether it would be appropriate to write the snapshot or not (for the effectiveness of performance if you want to do the straight through processing) by activating or deactivating the bucket of data staged that the snapshot written to. The snapshot in the work task means that the data is refreshed.

    For the work of design to the Director, you can refresh the snapshot by running again it manually in the context menu.

    Kind regards

    Mike

  • Right side of the text in the report are cut during report generated in PDF format

    Right side of the text in the report are cut during report generated in PDF format.
    In the report layout text is FLUSH JUSTIFIED. Text block is the same size as the outer frame.
    When the report is generated in PDF format, text is only JUSTIFIED to the LEFT and to the right looks like cut. Text beyond frame is invisible.
    But when I text selection in the PDF report that all the text is selected and I can copy and paste this text into any editor.
    What is a cause of this error and how can I solve this problem? In my view, there is error in report engine.
    Report Server Version: 10.1.2.3.0

    See photo. [http://1.bp.blogspot.com/_tSW8j23gT08/TKXn84zyRMI/AAAAAAAAAGE/KkNibanTSao/s1600/report_error.JPG]

    Don't know what your operating system and it could make a difference. If you're on Unix/Linux, try changing the uifont.ali file. (make a backup first!).

    Here is an example of the changes that I made to correct a similar problem:

    # Mapping of MS Windows

    #Arial = helvetica
    # 'Courier New' = courier
    # "Times New Roman" = times
    #Modern = helvetica
    #"MS Sans Serif" = helvetica
    # "MS Serif" = times
    # "Small fonts" = helvetica

    #Arial = 'arial.ttf '.
    Arial = helvetica.8
    "Courier New" = courier.9
    Arial.12 = helvetica.8
    #helvetica.12.Bold = helvetica.9
    #ArilMT is helvetica.9
    # "Albertus Extra Bold" = helvetica.9

    [PDF]

    #Arial = courier
    #arial = courier

    # Support for the languages of the far East:

    #itcadvantgardegothic = arial
    # "ITC front guard Gothic" = arial
    #itcadvantgardegothic = arial
    # "ITC Avant Garde Gothic" = Arial
    # changed to courier 06-25-2009
    itcadvantgardegothic = Helvetica
    #itcadvantgardegothic = arial
    "ITC Avant Garde Gothic" = Helvetica.11

    # Required
    #itcadvantgardegothic = arial
    # "ITC Avant Garde Gothic" = Arial

    [PDF:Subset]

    #times = "times.ttf".
    #courier = "cour.ttf.
    #helvetica = 'arial.ttf '.
    #arial = 'arial.ttf '.
    #helvetica = 'arial.ttf '.
    # 'Avant Garde' = 'arial.ttf '.
    #arial = 'arial.ttf '.
    #helvetica = 'arial.ttf '.
    #arial = 'arial.ttf '.
    #itcadvantgardegothic = 'arial.ttf '.
    #helvetica = 'arial.ttf '.
    #courier = "cour.ttf.

  • Including the names of items in the report column headings

    I got a report where I want to use page elements in the column headers. Try to define these using (for example) & P1_ITEM. in the report definition / custom position doesn't seem to work. I can define a simple function from PL/SQL to return the position, but I have a lot of columns and this means I have to define a function for each column name that does not appear elegant v. Am I missing something obvious?
    Thanks Simon

    Hi Simon

    Column attributes

    
    Headings Type:  Column Names  Column Names (InitCap)  Custom  PL/SQL  None 
    

    Choose PL/SQL

    Function that returns the entries from the colon delimited:

    DECLARE
     vHEADINGS VARCHAR2(1000);
    BEGIN
     vHEADINGS := 'NAME:SURNAME:CODE:CELL_NR:&P1_CELL_1.:&P1_CELL_2.:&P1_CELL_3.:' || :XXX || ':' || :YYY || ':' || :ZZZZ || :A || ':' || :B || ':' || :C;
     RETURN vHEADINGS;
    END;
    

    Concerning
    Mel

  • Subject domain changed after all the report are built? As soon as possible the necessary responses.

    Hi Sir, OBIEE,

    I've created more than 30 report, and now it is askin customer change the domain name of object in the presentation layer, when changed following error appears.

    * ' * Either you are not authorized to use the DOMAIN NAME of the SUBJECT area in the responses, the area in question do not exist.*. "

    Useful answer will be marked.

    Thank you.

    Go to the offline catalog manager and use search XML and replacement tool to replace the old domain name to the new domain name. This should solve your problem.

    Another method you can use is described in this forum post: Rename the model commercial and field

    Please award points if helpful/correct.

  • The reports are limited to 100 pages only in ACS worm 5.4

    Hello

    I can't export more than 100 pages of report viewer. Is it possible to export a full report to CSV?

    Kind regards

    SYED

    This is known to cisco. The GBA 5.2 guide speaks of the same.

    «The observer logs & reports ACS is limited to 100 pages.» ACS applies filters as last 30 days only on the pages of the top 100. In case of very strong load monitoring reports & ACS Viewer may not able to view complete information for the filters such as 30 days. During the critical period, it is recommended that you export the data to a CSV file after generating the report for every one or two hours. »

    User Guide:

    http://www.Cisco.com/en/us/partner/docs/net_mgmt/cisco_secure_access_control_system/5.2/user/guide/viewer_troubleshooting.html#wp1077489

    CSCtq06579    ACSview reports carry only 100 pages

    I guess that in ACS 5.5 this limit will be 500 pages.

    Now you can go through the link below:

    https://supportforums.Cisco.com/docs/doc-28117

    ~ BR
    Jatin kone

    * Does the rate of useful messages *.

  • Refresh the report area of PL/SQL (not Page) using the value of the select list

    Hello

    I have a report region based on a "body of the PL/SQL function returning a query'which SQL is generated on the selection of a value of an element from the selection list, select action list is"Redirect and set", but this causes the entire page refresh rather than just the region report." I tried to update the report using only a dynamic action on the item list select (Action now reset to 'None'), but now the report does not appear on the choice of the list. Can someone suggest a solution that will allow me to update this report without refreshing the page? I use APEX 4.2.2 and the syntax of the statement is as follows:

    DECLARE

    v_statement VARCHAR2 (500);

    BEGIN

    SELECT query_text
    IN v_statement
    OF sql_queries
    WHERE query_id =: P2_QUERY;

    RETURN v_statement;

    END;

    where P2_QUERY is Select list item,

    Kind regards

    Kevin.

    KevinFitz wrote:

    The displayed report region is subordinate to the point P2_QUERY is NOT NULL. I guess that the region appears not is because the Action for the select list item is set to None, and so P2_QUERY is always NULL.

    No, the region does not appear because it is subordinated to the P2_QUERY being NOT NULL. This means that the region of report never exists on the page displayed in the browser, so it cannot be updated dynamically. (Dynamic updating is not to evaluate the conditions of the region, and she makes only the content of the report, not the whole region again).

    Remove the condition on the region to report, check the update works and then go back on what exactly are the requirements here. If you want to the area appear only when P2_QUERY has a value, and you want it to be regenerated without submitting and reposting of the page, the region must then be hidden rather than conditionally restored and shown via dynamic when action P2_QUERY Gets a value.

    I tried to add a further Action for the event real value DA but has been a mistake, as stated above,

    All irrelevant if Page to submit items on the region is used correctly.

  • List of selection in the report area. Everything is not in order...

    I want to have one item in a report from the region. The selected item in the list of selection of is the 'master' for records in the region. It worked very well, but after the removal of another region on the same page that the selection list is now displayed under the State rather than on the top of the report. I can't find a way to get back on top.

    In fact I can't find any attribute that determines what comes first in this situation. It is bad practice to use an item in a report region?

    Hello René,.

    What is the view point of your region? Try the configuration in "body of Page Template (3.» (éléments ci-dessus contenu région) ".

    Kind regards
    Dirk

  • Lookup field to the report area - small problem

    Hello guys!

    I have a report and a search box that is used to find a specific report column. Only I could get it to work using an instring function. However, in fact it should be an exact match. So when you enter "9"only the folder with ID 9 must be displayed.»
    The instring function logically returns all rows that have a 9 match.

    My problem is that nothing should be filtered if my Page-Item used for the statement of the chain and the number of input search is null.

    Is there a way with sql to return all the rows when normal: P8_POINTSEARCH is null?

    {code} select *)
    Select
    p.inv_pt_id_main as ptidm,
    p.inv_pt_id_main as p_bestand,
    p.inv_pt_id_main as p_schichtigkeit,
    p.inv_pt_id_main as p_entwicklung,
    p.inv_pt_id_main as p_verjueng,
    p.inv_pt_id_main as p_totholz,
    p.inv_pt_id_main as p_biotop,
    p.inv_pt_id_main as p_alter,
    p.inv_pt_id_main as p_beeintraechtigung,
    p.inv_pt_id_main as p_verjueng_aussen,
    p.inv_pt_id_main as p_seltene_ba,
    p.inv_pt_id_main as p_punkt,
    l.str_lebensraumtyp,
    p.str_gebiet_main as str_gebiet,
    p.str_lrt_main as str_lrt,
    l.str_kurzform_lrt,
    p.int_inv_pt_nr_main as punktnummer,
    p.int_be_main as bewertungseinheit,
    p.int_wg as wuchsgebiet,
    decode (int_status_sub, 1,' < img src = "#WORKSPACE_IMAGES #neu.png" > ', 2,' < img src = "#WORKSPACE_IMAGES #bearbeitet.png" > ', 3,' < img src = "#WORKSPACE_IMAGES #fertig.png" > ', 4,' < img src = "#WORKSPACE_IMAGES #unbrauchbar.png" > ', 5,' < img src = "#WORKSPACE_IMAGES #unklar.png" > ",)
    6, "< img src =" #WORKSPACE_IMAGES #Keine_Auswertung.png "(>') like bild,"
    i.str_status
    vt_punktdaten_join p,
    vt_tbl_status I,.
    vt_tbl_lebensraumtyp l
    where
    (p.int_status_sub = i.cnt_status) and
    (p.str_lrt_main = l.str_kurzform_lrt)
    and (p.cnt_gebiet =: p8_cnt_gebiet)
    and nvl(p.bool_show,0)! = 1) where)
    InStr (upper ("PUNKTNUMMER"), upper (nvl (: P8_POINTSEARCH, "PUNKTNUMMER"))) > 0
    ) {code}

    Otherwise, I tried to implement the query in pl/sql.
    However, I get an ORA-06550 error when you try to compile the following pl/sql code. Miserably, I can't find the error.
    Maybe you have an idea?

    {code} declare q varchar2 (4000);
    Start
    q: = ' select *)
    Select
    p.inv_pt_id_main as ptidm,
    p.inv_pt_id_main as p_bestand,
    p.inv_pt_id_main as p_schichtigkeit,
    p.inv_pt_id_main as p_entwicklung,
    p.inv_pt_id_main as p_verjueng,
    p.inv_pt_id_main as p_totholz,
    p.inv_pt_id_main as p_biotop,
    p.inv_pt_id_main as p_alter,
    p.inv_pt_id_main as p_beeintraechtigung,
    p.inv_pt_id_main as p_verjueng_aussen,
    p.inv_pt_id_main as p_seltene_ba,
    p.inv_pt_id_main as p_punkt,
    l.str_lebensraumtyp,
    p.str_gebiet_main as str_gebiet,
    p.str_lrt_main as str_lrt,
    l.str_kurzform_lrt,
    p.int_inv_pt_nr_main as punktnummer,
    p.int_be_main as bewertungseinheit,
    p.int_wg as wuchsgebiet,
    Decode (int_status_sub, 1, "< img src =" #WORKSPACE_IMAGES #neu.png ">", 2"< img src =" #WORKSPACE_IMAGES #bearbeitet.png ">", 3, "< img src =" #WORKSPACE_IMAGES #fertig.png ">", 4"< img src =" #WORKSPACE_IMAGES #unbrauchbar.png ">", 5, "< img src =" #WORKSPACE_IMAGES #unklar.png ">",)
    6, "< img src =" #WORKSPACE_IMAGES #Keine_Auswertung.png ">") such as bild,.
    i.str_status
    vt_punktdaten_join p,
    vt_tbl_status I,.
    vt_tbl_lebensraumtyp l
    where
    (p.int_status_sub = i.cnt_status) and
    (p.str_lrt_main = l.str_kurzform_lrt)
    and (p.cnt_gebiet =: p8_cnt_gebiet)
    and nvl(p.bool_show,0)! = 1)
    ' ;

    If: P8_POINTSEARCH is not null then
    q: q = |' where Punktnummer =: P8_POINTSEARCH';
    Another null.
    end if;

    Return to q;
    end; {code}


    Thanks for your comments!

    Brgds,

    SEB

    Edited by: skahlert the 19.07.2010 06:32

    This should give you what you need:

    SELECT *
      FROM (SELECT p.inv_pt_id_main AS ptidm, p.inv_pt_id_main AS p_bestand,
                   p.inv_pt_id_main AS p_schichtigkeit,
                   p.inv_pt_id_main AS p_entwicklung,
                   p.inv_pt_id_main AS p_verjueng, p.inv_pt_id_main AS p_totholz,
                   p.inv_pt_id_main AS p_biotop, p.inv_pt_id_main AS p_alter,
                   p.inv_pt_id_main AS p_beeintraechtigung,
                   p.inv_pt_id_main AS p_verjueng_aussen,
                   p.inv_pt_id_main AS p_seltene_ba, p.inv_pt_id_main AS p_punkt,
                   l.str_lebensraumtyp, p.str_gebiet_main AS str_gebiet,
                   p.str_lrt_main AS str_lrt, l.str_kurzform_lrt,
                   p.int_inv_pt_nr_main AS punktnummer,
                   p.int_be_main AS bewertungseinheit, p.int_wg AS wuchsgebiet,
                   DECODE
                      (int_status_sub,
                       1, '',
                       2, '',
                       3, '',
                       4, '',
                       5, '',
                       6, ''
                      ) AS bild,
                   i.str_status
              FROM vt_punktdaten_join p, vt_tbl_status i, vt_tbl_lebensraumtyp l
             WHERE (p.int_status_sub = i.cnt_status)
               AND (p.str_lrt_main = l.str_kurzform_lrt)
               AND (p.cnt_gebiet = :p8_cnt_gebiet)
               AND NVL (p.bool_show, 0) != 1)
     WHERE UPPER ("PUNKTNUMMER") = UPPER (NVL (:p8_pointsearch, "PUNKTNUMMER"))
    

    It returns all the lines if you do not enter anything and will match your entry if: p8_pointsearch is not NULL.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • 6 Windows 10 Lightroom problem... Photo write-protected? Or what the problem?

    I have several problems with my 6 Lightroom (10 Windows) when I try to use the Collection of NIK from Google for editing:

    • When I right click on the image in Lightroom, there are three options, basically edit a copy or the original file. I can't edit a copy of an image, only the original file. When I try to edit a copy "/... / JPG cannot be opened because it does not exist or access denied."
    • When I try to change the original file: first of all, there is a warning that the photo is "write-protected", but I can go forward from that and edit the file in Dfine2 for example. But when the file is changed and I want to save there is another error. "Cannot write the file. Please make sure that the file is not protected in writing and that you have sufficient access to the file. »

    When I look at the photo on my computer it isn´t write protected?

    What the problem?

    To verify permissions in Windows (10):

    Open Windows Explorer and navigate to the records to check

    Right-click on a folder and select [Properties] from the drop-down

    Select the Security tab.

    Highlight an item in the Panel [of group or user names:]

    Search in the permissions area below to check.

    You need to 'Total control' verified 'on' for three user names: name, SYSTEM and administrators.

    Repeat verification for each folder you want to use with Lightroom.

  • Why all the results are duplicated when searching in my bookmarks library?

    If I search for "Shell", for example, and then click on the 'name' column, most of the 'results' are duplicated. For example, "Perdido | On Shell"in the"shell"folder Parent is shown twice... same URL and al. I see that the or after the 01/02/2013 added bookmarks are NOT duplicated.

    In my case, the bookmarks ARE actually duplicated. I checked by exporting and by analyzing the HTML code.
    The whole "All bookmarks" hierarchy had somehow been copied into a random location of my favorite tree. This is why all bookmarks except most recent lie twice.
    It looked like this:

    - All Bookmarks
      + Bookmarks Toolbar
      + Bookmarks Menu
         + MY_FOLDER_A
         + MY_FOLDER_B
         - MY_FOLDER_C
           MY_NESTED_FOLDER_A
             - All Bookmarks
                .... older state fully duplicated!!!
    

    I deleted the nested copy of "All bookmarks" and it seems OK now.
    I made this copy by mistake (which I highly doubt) or a bug caused.

    Good to hear that you are not using Firefox Sync (I use it). It would have been a Prime Minister candidate for causing a problem like this. (My bad favorites have been replicated to all of the computers connected with synchronization).

    The copy of "All bookmarks" should have been made over the past months, but I couldn't determine exactly when. The copies have the same ADD_DATE and LAST_MODIFIED timestamp in the HTML file.

  • How to refresh the report region change which column of report selection list

    Hello
    I worked with apex 4.2 and I create a classic report with list (named loved) select a column in the list change in report, update the table with the new value via JavaScript (change) call and woke up very well, and I change the color of the line was updated to make it different from the other lines now I want to update to the report after doing update without submitting the page to show the new color of line update.
    I called javascript:apex.submit() in the update function, but

    My Question
    1. How do I refresh the report after change report column list without sending page
    2-can we enter column name selection list report to submit the Page to refresh the report area


    Thank you
    Ahmed

    See my answer above!

    Here's what I did:

    • Created two hidden page items

    • Created a dynamic action on the page with three real actions. (1) set the item values page. (2) to execute code to update the plsql table. (3) update the region report

    Thank you
    Vikram

  • Hiding the data in the column on the report, but allowing the export of these data in the column

    I have a classic report I want to hide columns on the screen when the user runs the report. However, when they choose export data, I would like to include these columns in the exported file. In terms of attributes, the deselection of the Show checkbox removes this column of list on the report. However, she removes it also to export. Going into the print attributes tab and checking included in export and check the width of column > 0 does not solve this problem.

    Is it possible to hide the columns in the report area, but retain the column data for the export file?

    Thank you
    Joshua

    Published by: joshua.d on November 5, 2008 13:44

    Joshua:

    I was able to use the OTN of Denes Kubicek http://htmldb.oracle.com/pls/otn/f?p=31517:108:5784337801775286:RP site code:
    to enable an on-screen report columns that must appear in the export. (The export is carried out in a XLS file. The Dene code can be easily modified to write CSV instead).

    Please follow the link above and get the necessary pkg pl/sql and instructions. Follow the "How To" or Readme doc and configure your application to the Apex and the report as a result page.

    Go to the section "Attributes of column" for each column in your report and explicitly don't set the field 'Inlcude in export' to 'Yes' or «»

    I hope it works for you.

    CITY

  • DatePicker dates behind the header of the report when you try to pick a date

    Hello

    I'm using a datepickers to choose a beginning and an end date for a period. Below the datepickers, I have an interactive report that shows the periods date inserted. When I try to choose a date in the calendar of the datepicker, the header of the report comes in the front of the line of calendar and mask which disables these me picking it.

    Could someone help me please?

    Thanks to the adv.

    datepicker_issue.png

    Hello

    Yes, this is the bug in apex 5 application. But I can see you paging value lines 1-3.

    If you're not using large amount of data in this report and freezing of the header of the report are not used, then probably, you can try this.

    Open your interactive report-> attributes-> topic report

    Change this to "None".

  • Refreshing the report DA

    Hello.

    We have an application built with apex 4.2.5.

    Application has a single element. The user enters the value in this element and press to enter.

    Application must insert data into the table area and updating of database, then the newly inserted record is broadcast in the report area.

    We use a dynamic action for the integration of the database. After that, the same DA refreshes the region.

    The problem - the application still displays the old record, newly inserted not one. If we use Refresh region action twice (just to test), second discount return new record.

    It seems as if the refreshment area is too fast to return new record.


    We have a DA with the first real action for the insertion of data in the database and the second real action for the updating of the region.

    How can we resolve this? So the user gets newly inserted record and us do not use Refresh twice.

    Thank you.

    Kind regards

    Dejan

    Hello.

    I solved the problem by adding dbms_lock.sleep (0.8); After the insertion process.

    Otherwise, the discount is too fast.

    We use this application across the Canada. Data is in one place. 0.8 second sleep gives insert enough time.

    Kind regards

    Dejan

Maybe you are looking for

  • you have vedio on the installation of lighting. Should be easy

    you have vedio to install brightening. I want the calendar

  • iOS music plays only part of newly downloaded songs

    Hello - I recently bought new Radiohead album "Moon pool" of their website (not iTunes). I downloaded and opened in iTunes on my iMac and everything seemed fine. When I try to listen to these songs on my phone, however, the first two are completed, b

  • P-15 CD/DVD player, does not recognize the CD

    Hello I have a Satellite phone P-15 I had this past summer. The reader is MAST * A DVD-RAM UJ-811. Whenever I put in some audio CD, it will refuse to read them (these CD CD - r is not burned).The CD player will start to read the CD, but then it will

  • STORE ALU, 1 TB 3.5 "only appear not

    Hello I have a Toshiba STORE ALU 1 TB 3.5-INCH that was working fine until a few days ago, when we went. Now, when I turn it on, the indicator it works (turns red first and then to blue), but the drive does not appear on one of my PC (Windows). I tri

  • Entry keyDir MOMENTUM could not be set

    Hi all, I just deal with a mistake "entered keyDir MOMENTUM could not be defined" when trying to install the John Galt Add-in for MS excel. I use Windows Vista 64 bit, please help me. Thank you