Simple Graph Problem

I am new to Microsoft Visual Studio and am experimenting with the Reporting tool. I have created a Pie Chart and have the Labels outside the Pie Chart, basic I know.
However, to get the values that I need I have wrote an expression to count certain fields. But I would like to replicate them as percentages. I know the #PERCENT{Pn} can be used to display percentages but how does it work when you already have an expression
that you need to build it into?
Thanks

Hi Daniel,
Thank you for posting in MSDN forum.
According to your description, could you please tell us what reporting tool you use to create a Pie Chart? is it
Reporting Service tool?
Since this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. So I’m afraid that it is not the
correct forum for this issue.
To help you find the correct forum for this issue,
please you provide us more detailed message about the issue so that we will further help you solve the issue.
Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Jdev 11g: several attributes are not supported by "simple" graph types

    Hi,
    My question is especially for Jdev development team. I want to discuss this issues first in this forum before I open a SR at Oracle Support.
    Several attributes from dvt:graph are not supported in dvt:areagraph, dvt:linegraph or dvt:bargraph.
    - TimeSelectorListener
    - TimeRangeMode
    - TimeAxisType --> supported for dvt:linegraph but not for dvt:areagraph. Why?
    - TimeAxisListener
    - TimeZone
    - ExplicitTimeRangeStart
    - ExplicitTimeRangeEnd
    - ContinuousTimeAxisInterval
    This means if I want (need) to use some of this attributes I need to use dvt:graph (advanced graph).
    But here is the next problem:
    This type of graph can't be selected from component palette or graph create wizard.
    It's still possible to "convert" e.g. a dvt:linegraph to dvt:graph by editing the source code of jspx but in my opinion this should not be the normal way!
    I also didn't get a clear answere if dvt:graph is desupported or will be desupported in the next release(s)
    (see my previous post about advanced graph: Jdev 11g: Advanced graph no longer supported?
    Conclusio:
    ======
    If the attributes I mention above are still supported and needed (also in further releases) than they either need to be supported by the relevant simple graph tags or dvt:graph must be selectable from component palette.
    If dvt:graph is planned to be de-supported in further releases than this should be made public to avoid development of applications with non-supported components.
    regards
    Peter

    Peter,
    you should have followed up on the thread you reference. First of all, Katia gave you the answer of how to get the listener working
    "The recommended way is to create a line graph, and then add a time selector tag (like Peter pointed out).
    However, since in the dvt:lineGraph there is no attribute for the time selector listener, you need to add the listener in the backing bean.
    Here are the code snippets:
    In jspx:
    <dvt:lineGraph id="master"
    value="#{bindings.master1Graph.graphModel}"
    style="Comet"
    imageFormat="FLASH" imageWidth="400"
    binding="#{sampleGraph.richTimeSelectorMasterGraph}"
    animationOnDisplay="AUTO"
    imageHeight="250">
    <dvt:legendArea rendered="false"/>
    <dvt:timeSelector explicitStart="#{sampleGraph.startDate}" explicitEnd="#{sampleGraph.endDate}" fillColor="#33FFFFFF" borderColor="#313675" mode="EXPLICIT" />
    <dvt:seriesSet defaultMarkerType="MT_CURVE_LINE">
    <dvt:series id="0" color="#FDB026"/>
    </dvt:seriesSet>
    </dvt:lineGraph>
    In the backing bean:
    public UIGraph getRichTimeSelectorMasterGraph()
    if (m_richTimeSelectorMasterGraph == null)
    m_richTimeSelectorMasterGraph = new UIGraph();
    m_richTimeSelectorMasterGraph.addTimeSelectorListener(this);
    return m_richTimeSelectorMasterGraph;
    public void setRichTimeSelectorMasterGraph(UIGraph graph)
    m_richTimeSelectorMasterGraph = graph;
    Second, you got Katia's attention already and this is as much developer contact you can get on this forum. Katia ia the product manager for DVT
    Frank

  • Simple layout problem

    Hi,
    I am trying to make a simple graph applet, but the layout of the
    table along the x axis is giving me some problems. If you compile
    and run the following code you will see what I mean
    import java.awt.*;
    import java.applet.*;
    public class Lines2 extends Applet {
            TextField start_prompt;
            TextField stop_prompt;
            TextArea result_area;
    public void init(){
            start_prompt = new TextField();
            stop_prompt = new TextField();
            result_area = new TextArea();
            setLayout(new BorderLayout());
            Panel panel = new Panel();
            Panel panel2 = new Panel();
            panel2.setLayout(new GridLayout(1, 9));
            add(panel2, "South");
            add(panel, "West");
            panel2.add(new Label(""));
            panel2.add(new Label("Sundays"));                                         
            panel2.add(new Label("Mondays"));               
            panel2.add(new Label("Tuesdays"));       
            panel2.add(new Label("Wednesdays"));
            panel2.add(new Label("Thursdays"));
            panel2.add(new Label("Fridays"));
            panel2.add(new Label("Saturdays"));
            panel2.add(new Label(""));
    public void paint(Graphics g){
        g.drawLine(40,330,650,330);
        g.drawLine(40,330,40,40); 
    }The problem is that "Wednesdays" and "Thursdays" are smushed
    together as you can see. I need a way to widen the gap between them.
    I tried adding a blank Label but that made the gap to large. Anybody
    have any ideas that would help me?
    Thks....

    How about panel2.setLayout(new GridLayout(1, 9, 5, 0))?

  • Real simple xslt problem/question

    Hi, i have a real simple xslt problem but i just cant figure out how to do it by looking at various examples on the net. i have a xml document and in it are some elements with a "result" tag name. i want to use xslt to reproduce exactly the same xml document except with an attribute called "id" added to those elements with a "result" tag name. i'm sure that theres a simple solution to it but i just cant figure it out. any helps greatly appreciated, thanks

    Start with the XSLT identity transform (I don't have it handy and it's fairly long, but you should be able to google it up). Add this:<xsl:template match="result">
      <result id="">
        <xsl:apply-templates>
      </result>
    </xsl:template>

  • JDeveloper IDE simple setting problem

    Hi,
    Recently we switched to JDeveloper from Visual Cafe .I have a simple setting problem.How can I set the options so that IDE gives, the core java classes and packages,and our application classes and packeges, prompts in imports as well as in code.Where to set the options.
    eg: when I write
    import java. it should prompt all the pakages.
    Thanks in advance.
    -Gopal
    null

    I am not sure I understand what you are requesting, but ...
    You can configure JDeveloper projects to include various libraries by default.
    This is done by selecting menu Tools | Default Project Properties.../ Libraries tab.
    You should define a library for your classes.
    You can import any of the packages / classes from all the libraries which your project includes.
    It would be incorrect for a tool to automatically add a bunch of import lines at the top of every file because each file should import what it needs and just as importantly, not import what it does not need depending on the component type (e.g. a servlet should not include javax.swing.* ).
    An easy way to import elements into JDeveloper is to type in something like:
    import java.
    // and then type in Ctrl Space
    and this launches the package browser, you can select packages or classes to import.
    You can also do this at the variable declaratiton point such as typing in:
    foo() {
    Frame x
    // Press Control Alt Space
    and this will correctly change the type (Frame) to the type you select in the package browser and add the import statement.
    -John
    null

  • Simple OOP Problem. Help!

    This is just a simple OOP problem that i cant decide on a best
    implementation for.
    im passing an object to an instance of, 'TabbedFrame', which is just
    a frame with a Tabbed Pane in it that is holding custom panels.
    however, these custom panels need access to the object being
    passed to 'TabbedFrame' and to some methods in it.
    i cant make them static however so how do i gain access to them?
    is my only option to pass the 'TabbedFrame' to each panel?
    like - jtabbedpane.add( "Panel 1", new mypanel1(this));
    here is code:
    new TabbedFrame( DataObject );
    public class TabbedFrame{
    public TabbedFrame(DataObject do){
    this.do = do;
    jtabbedpane.add( "Panel 1", new mypanel1() );
    DataObject do;
    public class mypanel1{
    public mypanel1(){
    // need access to DataObject of the 'TabbedFrame' object that instantiated
    // this 'mypanel1' and to some of its methods
    }i would just pass the DataObject to evey panel (there are 12) but
    i also need to be able to call methods in the 'TabbedFrame'.
    Any help would be appreciated!

    Modify mypanel1's constructor:
    public class mypanel1{
    TabbedFrame tf;
    public mypanel1(TabbedFrame tf){
    this.tf = tf;
    // need access to DataObject of the 'TabbedFrame' object that instantiated
    // this 'mypanel1' and to some of its methods
    DataObject theDo = tf.getDataObject();
    tf.someMethod(); // Call method on the TabbedFrame
    }In TabbedFrame:
    public TabbedFrame(DataObject do){
    this.do = do;
    // Modify call to constructor to pass "this" TabbedFrame.
    jtabbedpane.add( "Panel 1", new mypanel1(this) );
    }

  • Simple Graphing Calculator with 2D array

    Hello,
    I am building a simple graphing calculator which reads in coefficients from a txt file. All is going well except when I plot the points, the graph is at the corner of the screen and sideways. As we all know, the origin of the array is at the top right corner, so how do I transform/slide it so that it is at the xy origin? Code is posted below, thanks!
    import javax.swing.*;
    import java.awt.*;
    public class baseClass extends JFrame{
         private shapesPanel panel;
         public baseClass(String title){
              panel = new shapesPanel();
              setTitle(title);
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              getContentPane().add(panel);
              pack();
              setVisible(true);
         public void drawLine(int x1, int y1, int x2, int y2){
              panel.addLine((short)x1,(short)y1,(short)x2,(short)y2);
              panel.repaint();
         public void drawDot(int x, int y){
              panel.addOval((short)x,(short)y,(short)1,(short)1);
              panel.repaint();
         private class shapesPanel extends JPanel{
              final private short max = 10000;
              private short[][] lines, ovals;
              private int numLines, numOvals;
              public shapesPanel(){
                   setBackground(Color.white);
                   setPreferredSize (new Dimension(500,500));
                   lines = new short[max][4];
                   ovals = new short[max][4];
                   numLines = 0;
                   numOvals = 0;
              public void paintComponent(Graphics g){
                   super.paintComponent(g);
                   g.setColor(new Color(0,0,255));
                   for(int i = 0; i < numLines;++i){
                        g.drawLine(lines[0],lines[i][1],lines[i][2],lines[i][3]);
                   g.setColor(new Color(255,0,0));
                   for(int i = 0; i < numOvals;++i){
                        g.drawOval(ovals[i][0],ovals[i][1],ovals[i][2],ovals[i][3]);
              public void addLine(short x1, short y1, short x2, short y2){
                   lines[numLines][0] = x1;
                   lines[numLines][1] = y1;
                   lines[numLines][2] = x2;
                   lines[numLines][3] = y2;
                   ++numLines;
              public void addOval(short x, short y, short w, short h){
                   ovals[numOvals][0] = x;
                   ovals[numOvals][1] = y;
                   ovals[numOvals][2] = w;
                   ovals[numOvals][3] = h;
                   ++numOvals;
    import java.util.Scanner;
    import java.io.*;
    public class graphingCalculator extends baseClass{
         // CONTAINS THE FOUR FUNCTION COEFFICIENTS
         private double[] theFunction;
    // CONTAINS THE DISCRETE FUNCTION PLOT
    private boolean[][] grid;
    // SIZE OF THE COORDINATE SYSTEM
    private final int columns = 500, rows = 500;
    public graphingCalculator(String filename) throws IOException{
         // INITIALIZATIONS ///////////////////////////////////////
    super("GRAPHING CALCULATOR");
    theFunction = new double[4];
         grid = new boolean[rows][columns];
    for(int i = 0;i<rows;++i){
    for(int j = 0;j<columns;++j){
    grid[i][j] = false;
    // DRAW THE COORDINATE SYSTEM ON THE SCREEN /////////////
    drawLine(0,250,500,250);
    drawLine(250,0,250,500);
    for(int i = 0; i < columns;i+=20){
    drawLine(i,247,i,253);
    for(int i = 0; i < rows;i+=20){
    drawLine(247,i,253,i);
    // GET THE FUNCTION COEFFICIENTS ///////////////////////
    // theFunction[0] will have the x^3 coefficient
    // theFunction[1] will have the x^2 coefficient
    // theFunction[2] will have the x^1 coefficient
    // theFunction[3] will have the x^0 coefficient
    Scanner scan1 = new Scanner(new File(filename));
    for(int i=0;i<4;++i){
         theFunction[i] = scan1.nextDouble();
    scan1.close();
    // DRAW THE FUNCTION ////////////////////////////////////
    computeGrid();
    drawDiscrete();
    drawContinuous();
    private double computeFunction(int x)
         double a=theFunction[0];
         double b=theFunction[1];
         double c=theFunction[2];
         double d=theFunction[3];
         double answer=(a*Math.pow(x,3.0)+b*Math.pow(x,2.0)+c*Math.pow(x,1.0)+d*Math.pow(x,0.0));
         return answer;
    private void computeGrid()
              // Populate the 'grid' array with true values that correspond
              // to the discrete function.
              // The 'grid' array is the internal representation of the function
         for(int x=0; x<columns; x++)
                   if(computeFunction(x)>=0&&computeFunction(x)<500)
                   grid[(int)computeFunction(x)][x]=true;
    private void drawDiscrete()
              // Use drawDot(x,y) to draw the discrete version of the function
         for(int x=0;x<columns;x++)
              for(int j=0;j<rows;j++)
         if(grid[x][j])
              drawDot(x,j);
    private void drawContinuous()
              // Use drawLine(x1,y1,x2,y2) to draw the continuous version of the function

    Rest of code:
    import java.util.Scanner;
    import java.io.*;
    public class Main {
        public static void main(String[] args) throws IOException{
        String infile;
        Scanner scan = new Scanner(System.in);
        // The input file should have 4 doubles in it
        // corresponding to the 4 coefficients of a cubic function.
        // A GOOD EXAMPLE:
        //                  0.01
        //                  0.0
        //                  -5.0
        //                          50.0
        // CORRESPONDS TO FUNCTION: 0.01*X^3 - 5.0*X + 50.0       
        // ANOTHER GOOD EXAMPLE:
        //                  0.0
        //                  0.01
        //                  -1.0
        //                          -100.0
        // CORRESPONDS TO FUNCTION: 0.01*X^2 - X - 100.0       
        System.out.println("Please enter filename of input file: ");
        infile = scan.next();
        graphingCalculator cal = new graphingCalculator(infile);
    }

  • Simple line graph problem

    Hi there,
    I want to create a very simple line graph, containing 1 line. Therefore i create a Graph.LINE_VERT_ABS type Graph and add the data using myGraph.setLocalRelationalData(al ArrayList). This arraylist contains values in the form of
    setname jan 12.2
    setname feb 14.5
    setname march 8.1
    etc
    When i do this, I get the errormessage: "The data has an insufficient number of columns. This graph type requires at least 2 columns of data. The data provided has one column.".
    When i add another dummy value to the arraylist:
    dummy dummya 1
    dummy dummyb 2
    the graph displays correctly, but only with a additional line for the dummy values, also in the Legend.
    What am i doing wrong. Surely it is possible to display just one line in the Graph??
    Any help is appreciated.
    Linda

    In the arraylist, setname identifies a column. By default, columns are plotted as groups, or different points along the horizontal axis. In order to have a line or area graph, you need two groups. The data that you are passing has 1 group and 3 series. You should pass it as follows:
    jan setname 12.2
    feb setname 14.5
    march setname 8.1
    etc.
    Passing data like this will give you three groups (jan, feb, march) and one series (setname).
    By the way, what version of BI Beans are you using and how did find out about setLocalRelationalData? That API was never publicly released. It was replaced by setTabularData (same method renamed) and exposed in 9.0.3.
    BI Beans Product Management

  • Simple FFT graph problem

    Hi to all,
    The problem is: I have  a 100Hz sine in a text file (sampled at
    800Hz), and when try to see the FFT of that signal, the dominant
    frenquency should be around 100Hz, but doesn't happen. I think that's
    because the "Convert to Dynamic Data" VI, but how can I solve this? The
    VI and the signal file goes in attachment.
    Thanks in advance.
    Ricardo.
    Attachments:
    analise_sinal.vi ‏81 KB
    sine_100hz.txt ‏685 KB

    Before converting the array into the Dynamic Data type, convert it into a waveform type.  Feed the data into the Y element of the waveform cluster and enter the inverse of the sampling rate into the dt element of the waveform cluster.  Feed the waveform data into they Covert to Dynamic Data and change the properties of it to accept a single 1D waveform.  Your frequency info will then appear in the FFT.
    Looking at your data, if this sine wave is at 100 Hz then it is not sampled at 800 Hz.  It is sampled at a higher rate.
    Randall Pursley
    Attachments:
    Data Convert.PNG ‏14 KB

  • Graphing problem with two plots

    I know how to plot two graphs on top of one another but the problem I have
    is as follows. I have the spectrum of a certain noisy signal which has been
    averaged. I then change some conditions by pressing a button and the
    spectrum changes to something else. of course I can capture both of these
    graphically but really I want them both on the same graph - any ideas?
    The data is not available at the same time - would I have to store it
    somewhere in a buffer and recall it in some way? Picture a spectrum analyser
    where there are two channels - you take the spectrum on channel A and then
    store it. You then take the spectrum on channel B and do a comparison where
    they appear together - this is my problem in essence.
    thanks
    tom

    If both writes to the graph occur in the same loop ( just at different iterations), use shift registers. (See attached simple LabVIEW 7.0 example).
    If the writes occur in different parts of the diagram, Just write the first channel to a local variable of the graph, then later combine the two channels for the final graph.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    2Channel.vi ‏46 KB

  • Irritating graph problem

    I have an X-Y graph that holds several datasets and has a cursor, locked to
    datapoints, that the user can drag around to get information on different
    datapoints and different datasets. The user can opt to hide a dataset to
    make the display clearer. In this case, if the datapoint the cursor is
    pointing to disappears from the plot, the cursor goes to (0,0) and has to be
    manually brought back by the menu option "Bring cursor to centre", which is
    a builtin function of the X-Y plot.
    I want to remove this manual step and automatically bring the cursor back to
    the centre. This should have been trivial- I assumed the "Bring cursor to
    centre" would be a method of the X-Y graph object. Not so. So I then read
    the new X and Y axis ranges aft
    er removing the data and I set the cursor X
    and Y to the midpoint of these. This doesn't work unless a datapoint exists
    at the centre of the plot. So first, I unlock the cursor and move it to the
    centre- this is fine. If I manually change the cursor lock mode to "Lock to
    point" it automatically jumps to the closest datapoint- good. However if I
    do it programmatically, it jumps to (0,0). Not good.
    This is obviously an irritating problem. I'm on 6.0- I've not had the time
    to backup and install the latest update, though I've not heard of this in
    the discussed fixes.
    I don't particularly want to have to locate the closest visible datapoint to
    the centre and programmatically move the cursor there- it's bound to be much
    slower than the builtin function if only I can get at it!
    Anyone done this?

    Hmm. Updating my installation to 6.0.2 doesn't solve the crash. Bug report
    submitted. I've attached here a simple VI demonstrating the problem that,
    when run, results in a failure at line 2361 in "graphcrs.cpp". Be
    interesting to see if it's a widespread thing or just my machine.
    If anyone's interested and didn't see the preceding messages, this is in
    discussion of KnowledgeBase article #1FNFHJE7
    Craig Graham wrote in message
    news:[email protected]..
    > Ouch.
    >
    > This certainly seems the case, however on 6.0 those properties are uints,
    > and wiring a -1 int to them in the hope the cast will do something
    > meaningful causes Labview to crash (in "graphcrs.cpp") when that part of
    the
    > code is executed. Nas
    ty.
    [Attachment GraphCrashDemo.vi, see below]
    Attachments:
    GraphCrashDemo.vi ‏26 KB

  • JClient Graph problem

    Hi,
    I'm trying to create an application which would use a JClient Graph for presenting data. So far with no success. Using JClient wizard to create a JPanel with a Graph object on it seems to work fine. Then I place the created panel into a JFrame and compile the program with no errors or warnings. But when I run the program I get an error. The call stack leading to the error begins in the wizard-generated class, on this line: "private Graph graph = new Graph();" and ends up to this code line and error:
    java.lang.NullPointerException
         at oracle.dss.graph.Graph.setLocale(Graph.java:2839)
    What should I do to make the initialization process continue successfully?
    I haven't found too much documentation about these JClient graphs, neither in JDeveloper help nor in internet, so I would also appreciate links to any sources where I could find more information on the topic.
    - Risto

    Still no success. Now I can see the graph when I open the wizard-created java-file in UI Editor but when running the program the same old error message is still there and instead of the graph there is just a flat gray empty panel. Even if the UI Editor draws the graph is still gives two errors:
    1) Field VERTICAL_ABSOLUTE_AREA not found in class oracle.jbo.uicli.jui.JUSingleTableGraphBinding
    2) Method getInstance not found in class oracle.jbo.uicli.jui.JUSingleTableGraphBinding
    which however doesn't stop the program from compiling???
    Could there be some kind of version conflict? My JDeveloper version is 9.0.2 and J2SE version is 1.4.0. Is there any use trying to solve this problem before I have moved to 9.0.3 and 1.4.1?
    In my JClient controls palette (or any other palette) I couldn't find any dataPanel, just JUImageControl, JULabel, JUNavigationBar, JURadioButtonGroupPanel, JUStatusBar and OrdMediaControl. Of course in Swing containers there is JPanel but I guess you didn't mean that, did you?
    Just to be sure I ask if "Create a simple EMP FORM" meant that I had to select "New | JClient Objects | JClient Form", which creates a new JFrame based class? I did that, and added wizard-created graph panel to the form but as I told the result was no good.
    - Risto

  • Simple button problem

    I am having a real problem creating a simple button - I have
    created a Flash file using Action script 2, and when I create a
    simple button - text with a rectangle as a background, (see
    http://www.elkhavenestate.com),
    and the over state is behaving in a bizarre fashion. This is my
    first time using CS3, so is there a new control that I'm
    missing?

    I take it that it's the Home button. It appears to have a
    selectable text field or something in it, which is causing the
    problem. Either change that to a static text field or set its
    selectable property to false. The other two buttons appear to be
    fine, so maybe you can just duplicate one of them and turn it into
    the Home button.
    If I picked the wrong button, let me know.

  • One-to-many graph problem

    Hi,
    I am haviing a crystal report problem. The problem relates to a one-to-many relationship involving two tables.
    I have a similar setup to the following:
    I have 2 database tables: table1 & table2
    table1 consists of 3 fields:
    {id#}, {yes/no},{up/down}
    table2 consists of 2 fields:
    {id#},
    the field can contain any of the following values: 'open', 'closed', 'final', 'complete'.
    The problem is that there exist many states to one id#.
    I have a bar graph in my report that displays a bar for the count of the{yes/no} field and a bar for the count of the {up/down} field. I want also a bar for the count of when the field = 'final'.
    What happens when I write a formula for the field in the second table and place it in the 'show values' section of the chart expert, is the count displayed in each bar on the graph increases significantly. I am assuming this is because there are multiple records in table 2 for each record in table 1.
    What I want to happen is that the graph displays bar 1 and bar 2 correctly and then when I put in the formula for the third bar, it simply displays that bar with the count for when the field = 'final'. I dont want it to affect the whole garph.
    Has anyone got any suggestions on how I can do this?
    I have tried messing around with the distinct records setting in crystal and also by writing an sql query specifying DISTINCT keyword instead of using the select expert, but to no avail.
    Please please can someone help me with this issue.
    Thank you.
    J

    You can add a 1-1 query key through the code API in a descriptor amendment method. You could also define a selection criteria on the 1-m mapping to filter the type=2.
    Example: (see Foundation Library manual 8-17)
    OneToOneQueryKey queryKey = new OneToOneQueryKey();
    queryKey.setName("organization");
    queryKey.setReferenceClass(Organization.class);
    ExpressionBuilder builder = new ExpressionBuilder();
    queryKey.setJoinCriteria(builder.getField("ORGANIZATION.ORG_ID").equal(builder.getParameter("RELATIONSHIP.PARENT_ID").and(builder.getParamater("RELATIONSHIP.RELATIONSHIP_TYPE").equal(2)));
    relationDescriptor.addQueryKey(queryKey);
    Example: (of 1-m mapping with selection criteria)
    OneToManyMapping mapping = new OneToManyMapping();
    mapping.setReferenceClass(Relation.class);
    mapping.setTargetForeignKey("RELATION.PARENT_ID");
    ExpressionBuilder builder = new ExpressionBuilder();
    mapping.setSelectionCriteria(builder.getField("RELATIONSHIP.PARENT_ID").equal(builder.getParameter("ORGANIZATION.ORG_ID").and(builder.getField("RELATIONSHIP.RELATIONSHIP_TYPE").equal(2)));
    orgDescriptor.addMapping(mapping);

  • Report 10g graph problem

    i have a problem in graph wizard in reports 10g
    when i want do display more than 3 diferent data in plot areao of graph wizard only first 3 rows can be seen and adjusted, others can not.
    is there a way to see and adjust more then 3 rows in plot area?
    Thanks,
    Rade

    Hi,
    Not directly. You have to edit graph.xml file (in property pane of your graph). Some details about this file you can get from How to... topics on Products page
    have a good day
    Daniel

Maybe you are looking for

  • Get First day of a week

    Hi all, I have a question about using a presentation variable in a sql filter.Actually i have a presentation variable which return number of week per year ,the issue is that i want to have the firste day of the week selected in way to use it in the s

  • How to run 2 reports to send 1 PDF e-mail attachment instead of 2 e-mails.

    I used 9i Reports to create 2 reports in a PDF format. I run these reports from a 9i form using the web.show_document command. XML is used to send the 2 e-mails with the reports. Is there a way I can combine the running of the reports to make one PDF

  • Move Photos from one Library to another

    How can I move pictures from one library to another in Iphoto 11 ?

  • GStreamer

    Okay, GStreamer looks very nice in principle. I like the idea of a media framework that doesn't need Win32 codecs... But I have to ask: why the heck is it so slow? Why does it wait 3 seconds between playing MP3s? Why are GStreamer-based apps like Tot

  • How to change a region title based upon the input parameter?

    Hi All, I need to change the region's title dynamically based on the value of a select list in another region. Can anyone help me in this? Regards, Sakthi.