the chart is based on a report.

Hi all

I have a report 'interactive', based on dept_no, ename, salary. I want a dynamic chart to post a link on this report.

For example if I ask "dept_no' = 20, all the ename, salary displays for this dept20 searched and then if I click the graphics button it will display the corresponding chart.


How can I do this please... Do you have the sample of this?



Thank you very much

zxy

In an interactive report you can create charts on the fly. Take Action > Format > graph and create a chart based on your selection. See this example:

http://Apex.Oracle.com/pls/Apex/f?p=31517:197

and call the 'chart report' report selection list.

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

Tags: Database

Similar Questions

  • loop chart - the chart is based on another query

    I'm working on a report of BI Publisher. The report displays information for a list of stores (store group, by store - each store page break is a page). Now, we want to add a chart (weekly sales - group per week) for each store, we know there is "table within the group" box, we can use, but our problem is that the chart is based on another query, not the original group by query parent store. Could you please help? Detailed information can be provided if required.

    Please check your Inbox.
    I sent you the answer.

    See you soon

    Jorge
    p.s if this answers your question please give the points and close the message

  • Cannot export the chart with result when discoverer report is run u

    Hello

    I am trying to automate the discoverer, calendar using the Scout command line interface, the following command runs the report * "Facilities assigned to the employees-ORG" * in the batch, export the results to Microsoft excellent sheet.

    This command exports successfully results in excel format in the location specified in C:\drive, but did not export the graph associated with the report.

    also if we compare the exported results for the report ran in more Discoverer and discoverer Office (using the command line) is not in the same format in excel (excel export result is very good compared to the results of the command line).

    Is it possible to have the results in the same format and graphics using command line? is possible to execute commands on the application server side so that we can retrieve the results and a similar graph when this document comes in addition.


    Command-line END user license.

    C:\oracle\oracle92ds\bin > dis51usr.exe/connect n1rpawaska/[email protected] /opendb "equipment assigned to the employees-ORG" / batch/Export xls "C:\CPEReports\ equipment assigned to the employees-ORG".


    Thank you
    Sunil

    Hello

    It is not possible to export charts in an Excel file. If you want to keep the formatting and then try to export the HTML report in .xls file, then open the file in Excel. by example/Export html "C:\CPEReports\ equipment assigned to employees - ORG.xls.

    Rod West

  • HSlider as the range of dates in the charts

    IM using hslider as a date range to view database
    on the dates selected for the chart.
    My problem is how to change the chart data, based on the selection of the date of the hslider
    Note: there are 3 sets of line in the table, so the data set should be based on the range of the hslider date selection

    Any idea! Examples

    found a use for good double cursor if you try to do something like google, thank you cards to brendan, good job.
    http://www.stretchmedia.ca/code_examples/chart_range_selection/main.html

  • 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');
    }
    
  • How to get the print page numbers in a report based on another report

    Hello


    I have a requirement in which I need to print the page based on another report number
    example my game application has 3 reports

    1 report prints the pages 1-100
    Report page no. 2 should start from 101 to 110
    3 report 111-

    Can someone make me please how to do this?

    THX in advance
    Kumar

    Hello

    You can create all report queries three in a single report, create a separate query in the data model and then create the layout in the proper sequence as required.

    If you want to use separate reports only you can try the following:

    In the first report, use the shutter release after report and record the total number of pages of a table as a record.

    In the second report, extract the value stored in the table and add it to the Page No. to get the Page number for the second report.
    Also in the second report use the shutter release after report and update the record created first in the total number of pages + total number of pages of the first report.

    In the third report to extract the value stored in the table and add it to the Page No. to get the Page number for the third report.
    Don't forget to delete the folder created in the trigger after the third report table report.

    I hope this helps.

    Best regards

    Arif Khadas

  • Calculation value of axis based on, click in the chart area.

    Hey there, I'm still working on my graphic feature and so far I've been able to get help on these forums.

    I need to be able to calculate the values of the corresponding axis in a click in the chart area. I see no real utility method in the NumberAxis class which will help me to do it. The only thing I can think is to get the bounds of the array and that relate to what I know about the range of the values I put in.

    It is a line chart with two NumberAxis. I want to display on click, (x, y)-value as PR. the axis of the point clicked. Is it possible that I can do this easily, or I just need to design a work around?

    Yes, it's a little tricky, but not too bad. It would be probably good for XYChart have public X getXValue (Point2D) and the public methods of getYValue (Point2D) Y. This works, however:

    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.geometry.Point2D;
    import javafx.scene.Scene;
    import javafx.scene.chart.LineChart;
    import javafx.scene.chart.NumberAxis;
    import javafx.scene.chart.XYChart;
    import javafx.scene.input.MouseEvent;
    import javafx.stage.Stage;
    
    public class LineChartSample extends Application {
    
        @Override
        public void start(Stage stage) {
            stage.setTitle("Line Chart Sample");
            // defining the axes
            final NumberAxis xAxis = new NumberAxis();
            final NumberAxis yAxis = new NumberAxis();
            xAxis.setLabel("Number of Month");
            // creating the chart
            final LineChart lineChart = new LineChart(xAxis, yAxis);
    
            lineChart.setTitle("Stock Monitoring, 2010");
            // defining a series
            XYChart.Series series = new XYChart.Series<>();
            series.setName("My portfolio");
            // populating the series with data
            series.getData().add(new XYChart.Data(1, 23));
            series.getData().add(new XYChart.Data(2, 14));
            series.getData().add(new XYChart.Data(3, 15));
            series.getData().add(new XYChart.Data(4, 24));
            series.getData().add(new XYChart.Data(5, 34));
            series.getData().add(new XYChart.Data(6, 36));
            series.getData().add(new XYChart.Data(7, 22));
            series.getData().add(new XYChart.Data(8, 45));
            series.getData().add(new XYChart.Data(9, 43));
            series.getData().add(new XYChart.Data(10, 17));
            series.getData().add(new XYChart.Data(11, 29));
            series.getData().add(new XYChart.Data(12, 25));
    
            Scene scene = new Scene(lineChart, 800, 600);
            lineChart.getData().add(series);
    
            stage.setScene(scene);
            stage.show();
    
            lineChart.setOnMouseClicked(new EventHandler() {
                @Override
                public void handle(MouseEvent event) {
                    Point2D xAxisInScene = xAxis.localToScene(new Point2D(0, 0));
                    Point2D yAxisInScene = yAxis.localToScene(new Point2D(0, 0));
                    double xInScene = event.getSceneX();
                    double yInScene = event.getSceneY();
                    double x = (xInScene - xAxisInScene.getX()) / xAxis.getScale() + xAxis.getLowerBound();
                    double y = yAxis.getUpperBound() + (yInScene - yAxisInScene.getY()) / yAxis.getScale();
    
                    System.out.printf("[%.1f, %.1f]%n", x, y);
                }
            });
        }
    
        public static void main(String[] args) {
            launch(args);
        }
    }
    
  • Dear all, in the follow-up to Massage exhange 2010 there is no option for selective date and time if we want to follow and check the delivery for 2 months mail report, then how, please guide

    Dear all, in the follow-up to Massage exhange 2010 there is no option for selective date and time if we want to follow and check the delivery for 2 months mail report, then how, please guide

    Hi Anandsable,

    The question you have posted is based on Exchange 2010, it is better suited in the Exchange Server forum. Please post your question in the following forum:

    http://social.technet.Microsoft.com/forums/en-us/category/ExchangeServer, exchangeserverlegacy.

    Hope the helps of information.

  • problems with the date in the chart in the first instance

    Hello

    I have a date selection field (P2_START_DT), which has a default value in a table

    Here's the code I used to set the default (thanks again to the expert for assistance)

    Start

    Select max (REC_DATE) dt in: P2_START_DT

    from TABLE_A;

    return: P2_START_DT;

    end;

    on the same page, I have a report (Type: SQL query) and a chart that takes P2_DATE as a parameter

    This is a sample report SQL condition

    ...

    where

    RECORD_DATE >: P2_START_DT

    This is a condition of samlpe SQL used for the graphics

    ...

    where

    RECORD_DATE >: P2_START_DT

    condition is about the same for both

    My problem is that when the page is loaded for the first time, the P2_DATE field and the report shows good data but my chart shows nothing.

    to test, I added a button to submit the page.

    When I click on the button both my chart and the report shows the right data... suggesting that for some reason any graph is not picking up the default value for P2_START_DT when the page is first loaded

    Please notify.

    The default value for your item is not saved in session state until you offer page.  When your chart is rendered the first time the value of your object in session state (which makes graphic references) is not defined.

    Create a calculation for your section header to set the value of the element in the session before the rendering of the graphics state.

    Calculate the point: P2_START_DT

    Calculation Point: before header

    Type of calculation: (single return value) SQL query

    Calculation:

    select max(REC_DATE) dt
    from TABLE_A;
    

    Condition Type: point value / Expression 1 a NULL column

    Expression 1: P2_START_DT

  • Conditional display in the text box based on the calculated value

    Hello

    I have radio buttons that each have a numerical value. For example = 1 A = 2 C = 0. In the example below, the total is equal to 5.
    examplescreen01.gif

    The sum is displayed at the bottom of the document and is passed to another text box:

    examplescreen02.gif

    Instead of '5' displayed in the text box on the right, it should display a "Control" Word like this:
    examplescreen03.gif

    The displayed word is based on the totals through this range:

    1-2 = 'absorbing '.

    3-4 = 'practitioner '.

    5 to 6 = "control".

    The script I used to pass the value from the left to the right text box in the chart above is:

    name of the field to text box;

    var cTextBox = 'Cabinet Talent strategy knowledge - total';

    get the value of the field with the name in cTextBox;

    var sTextBox = this.getField ("cTextBox") .value;

    Set the value of this field;

    Event.Value = sTextBox;

    That I need to add to this script to show one of the words, such as "control" above?

    I am a complete novice to scripting. I found the above script online and somehow got it to work.

    I thank very much for any help or pointers, you can provide.

    Best regards

    Chris

    Sorry, there were some errors in the code that I provided above. Try this:

    If (sTextBox > = 1 & sTextBox)<= 2)="">

    Event.Value = "absorbing";

    } ElseIf (sTextBox > = 3 & sTextBox)<= 4)="">

    Event.Value = "practitioner";

    } ElseIf (sTextBox > = 5 & sTextBox)<= 6)="">

    Event.Value = "master";

    } else {}

    Event.Value = "";

    }

    If it still does not respond, you can send me the file at [email protected] and I'll check...

  • to limit the values in the chart

    I want only top 10 accounts to display in the chart based on their balances and I created a calculated column in the results ranking and added the same graph. But I want only first 10 rows instead of every row to display. Thanks in advance

    If this to IR as follows.

    Create a Table of results.
    Set filter/limit on column of row to the value you want.
    Build the graph of Table

    -wayne

  • photos has not been loaded for weeks (usually the browser chrome on PC windows at work).  I tried now on some other computers and get the same error message and I report every time.  can I do or just wait for someone to fix it

    photos has not been loaded for weeks (usually the browser chrome on PC windows at work).  I tried now on some other computers and get the same error message and I report every time.  is there anything I can do or just wait for someone to fix it?

    If you want any help here, you'll have to tell us what the error message.

    Which report you errors to?

  • gauge the battery to the boot screen and battery on report menu conflicting Details about the level of the battery. The gauge from the battery to the Starter incorrectly displays the low battery level that prevent the macbook pro battery retina start

    gauge the battery to the boot screen and battery on report menu conflicting Details about the level of the battery. The gauge from the battery to the Starter incorrectly displays the low battery level that prevent the start of the battery. This happens on macbook pro retina 13 inches

    When I try to startup macbook pro retina in battery mode, it will fail to start showing low battery level and an indicator to recharge the battery. It does not start on battery. When I then connect via the power cable at startup (and check the battery level), monitor of battery in the menu bar indicates that the battery is charged to the top.

    It gets really frustrating and remove my ability to use the macbook pro retina as a truly portable device...

    Appreciate any help on this

    Have you tried resetting the SMC? Reset the management system (SCM) controller on your Mac - Apple Support

  • How to change the chart of FFT Power spectrum

    Hi all

    Could someone help me in Labview? I got a result as shown in Figure 1. However, I want the graph to resemble Figure 2 that we can define the range of frequencies for each channel in the y-axis and maintain the amplitude for the x axis.

    How to change the chart?

    Figure 1

    Figure 2

    I have the range of frequencies for each channel, which are:




















































    Channel

    Frequencies

    Channel 1

    2401-2423

    Channel 2

    2404-2428

    Channel 3

    2411-2433

    Channel 4

    2416-2438

    Channel 5

    2421-2443

    Channel 6

    2426-2448

    Channel 7

    2431-2453

    Channel 8

    2436-2458

    Channel 9

    2441-2463

    Channel 10

    2446-2468

    Channel 11

    2451-2473

    Could only change the graphic on the front panel or have to change inside the block diagram?

    Your answer is really appreciated.

    Thanks & best regards.


  • It is better to define a waveform properties of scale before or after sending new data to the chart?

    Hi, I wonder what is the best time to update the properties of the graphic scale waveform.

    I'm sampling data every 15 minutes for 192 samples, or 48 hours.  I want to draw these samples with x in absolute scale so the scale maximum x is time and x minimum scale at the time mode is x max in less than 48 hours (172800 seconds).  I want also to intermediate-scale markers 6 hours apart and to be multiples of 6 hours.  for example at 06:00, 12:00, 18:00.  It works by using nodes of property but sometimes intermediate markers are on the hour 6 multiple and sometimes they are at 6 hours after the scale min marker.  for example, 09:15, 15:15, 21:15.  Is there a way to ensure that the intermediate markers are on the hour 6 multiples?

    Thank you

    Neville

    Neville,

    I don't think there is a function of the order of execution by using nodes of property information across your graph. If you are concerned about the speed of your VI, I would recommend writing to the property node before update you the chart. I believe that this will ensure that the chart will update only once: when the new data is sent to the curve, as opposed to the update with the new data, then with the new scale.

Maybe you are looking for

  • How can I disable the menu drop-down history?

    This does not refer to the fall of history down through the display of a bookmark box. This annoying drop-down appears each time you start to type in a web site, you want to go. He descends from a list of sites you have visited or, possibly, a list o

  • release of the bios hiden

    my laptop is hp g6-1105ee I want to reveal bios hiden to install win xp can someone help me Please

  • method compiles mass

    Hi... bit experienced user here. I want to mass compile a directory at run time. Looked at this link: http://zone.ni.com/reference/en-XX/help/371361F-01/lvprop/app_mass_compile/ But... I don't know how to implement this solution. Not sure that I full

  • Maple Story question

    Very well.I have Windows VistaI have download Maple Story and everything.Then when I go and do a right-click on it don't compatibility comes up tab or whatever it is.What should I do?

  • This copy of Windows is not activated. After replacing the hard drive. The activation window is empty.

    The activation window is empty. XP Pro SP3 + System (2 updates the version) beta of SP4 added due to problems of program. Build 2600.xpsp + sp3_gdr_101209-1647(Service Pack 3). Problem started after the replacement of the boot hard drive that wasn't.