Graph members in Comparison (Scorecard)

Hi all,
I have a PAS database that have a simple dimension with only a result, and then 39 inputs members below. When I try to see that dimension level (input) in the Comparison option of the Scorecard, only 6 are displayed. But when I select the "Graph Options" it should be possible to select the 6 that I want from the complete list of the 39 members, but that is not happening. It only shows those 6:
[http://img638.imageshack.us/img638/3528/graphscorecard.jpg]
Then I select the option "Create Associated Report" and in the Reports, if I select to display a chart and then see the graph options, I then get a list of all the 39 input members of the dimension available to chose from:
[http://img405.imageshack.us/img405/5563/graphrep.jpg]
Is this a limitation in the Comparison in the Scorecard, or is a small bug?
I'm using SSM 7.5 SP6.
Thanks
Pedro

Hi Vijay,
thanks for your efforts
I just simulate 3 years of data for one of the KPI's, but the issue still happens. I will try to test this in another SSM installation and against other databases.
Regards
Pedro
EDIT: I just test in a different server (also SSM7.5 SP6) and a different database, and the same situation happens, Maybe it's a bug or "feature" of SSM
Edited by: Pedro S. Costa on Oct 5, 2010 7:03 PM  Update with test results

Similar Messages

  • Setting dynamic thersholds in Perfromance point scorecards

    Hello,
    I have Scorecard in Performance point. I have created a KPI with target and actual. On scoring Pattern and Indicator, I dont want to hard code the business rules. I have list of metrics which will have different business rules and different score pattern.
    Names of metrics are created in backend  like Dimension to slice the  KPIs. Like I have 10 list of measues names in left pane as members and KPI on top with Actual and Target with Indicator. I want to change those indicator colors based on different
    rules for each of those 10 members in the scorecard dim. Right now, I can hard code rules for one target column but that rules applies for all the dimensions as list of measures names are members. Those list of measures names changes based on filter drop down.
    EG:
    DIM Measues Name --------Actual-----------Target--------Indicator
    ABC----------------------------10------------------50-----------Green (If actual less then 50)
    MNO----------------------------5-------------------3------------Red ( IF actual greater than 3)
    OPQ----------------------------17------------------20-----------Red(If actual less than 20)
    Thanks for help

    Hello Ozcan,
    That is not the correct usage of ~languages and ~language.  The ~language parameter is used to specify the language for the service.  There should not be a way to change it.  The ~languages parameter should specify which languages the user is allowed to select from during logon.  Obviously, if ~language is set then the ~languages parameter is of no use. 
    If it was possible to do what you have specified before then it was not intended.
    Edgar

  • Hiding Selected Plots

    Hi,
    I am plotting live data from tags on historical trend graphs.  The graphs plot data from various different tags on one graph (to allow comparison), however sometimes I would like the ability to hide other plots so I can show a specific plot in more detail.  A bit like hiding columns of data in Excel hides the corresponding data on a chart!
    Is there a "hide" function/command/option on these charts?
    The only (very crude) method I have discovered is simply turning the plot I want to hide the same colour as the background!!  Many thanks for any ideas...
    Stuart

    This is what Paul described. Is this the simplest code ever or what?
    Note that the order is imporant - the properties are executed top-to-bottom.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!
    Attachments:
    Plots.GIF ‏3 KB

  • SQL aggregate ( sub select )

    Hi * ,
    I have the following problem :
    One view which contains the inventory of sales volume based on month and year ( numbers )
    example :
    month Year volume
    1 2008 105
    2 2008 107
    3 2008 102
    .. 2008 ..
    12 2008 130
    .. 2009 ..
    1 2011 220
    2 2011 210
    9 2011 250
    12 2011 270
    1 2012 290
    I am trying to build a query to represent the growth of sales to be used in a graph , i.e comparison between the sales of current month ( last month ) of the current year ( last year ) and the last sales of last month of last years .
    would somebody be able to help ?
    thanks

    Thanks , but the I am not so deep in the mining techiques and i found your sql a bit difficult for me :-(
    This is the sql which I used in my graph presentation , till December ot was Ok , but as of January 2012 , it will not work
    select year , ROUND(sum(volume)) total_in_month froms ales
    where month=12
    group by year
    order by year ;
    this would output the following :
    2007     25
    2008     30
    2009     59
    2010     101
    2011     197
    it will not output the volume in January ( 1) in 2012
    how would I rewrite your sql ?

  • Quad G5 vs. Dual Intel Speed and Transfering all apps to disk

    Hi,
    I have a G5 Quad and I am very happy with it. However, I need to load the new FCP Studio and CS4 Pro Apps and they need an Intel processor. I can get a Dual Intel G5 for cheap. Does anyone know if the processing speeds are close or what?
    Also, how can I transfer all my programs to the new computer's main hard drive?
    Thanks!

    Intel Mac Pro dropped "G5" G-anything equates to PowerPC.
    You are slim on the specs of what you were looking at, but the lowest end was the dual 2.0GHz which came out 3 yrs ago and sells for around $1,000 and is equal to Quad G5.
    http://www.barefeats.com/harper.html
    There are plenty of charts, graphs, benchmarks showing comparison of computational power of various Mac towers. Barefeats, Geekpatrol, Primatelabs and more.
    http://www.barefeats.com/nehal04.html
    http://forums.macrumors.com/showthread.php?p=7275251
    http://www.primatelabs.ca/blog/2008/01/mac-pro-performance-january-2008/
    I'd look for 2008 Mac Pro or later, and preferably this year's Nehalem though they can cost more. Something that can fully utilizes Snow Leopard
    http://browse.geekbench.ca/geekbench2/view/115605

  • A security comparison graph from Vanguard site does not print.

    When I go to "File, Print Preview" the graph and legend does not appear. The text above and below the graph does show.
    I believe the graph is produced using Adobe Flash. The graph prints fine when I use Internet Explorer.

    no responses, removed from open questions.

  • Set with filter Expirationtime comparison current-datetime does not list members: regional settings?

    Hi all;
    I've created a criteria-based set that has to filter for users that have an
    "expiration Time" "prior to" "today".
    xpath filter: /Person[ExpirationTime < fn:current-dateTime()]
    I've got one user where I've set a date expired to a week ago.
    When I click view members it does not return any results. When I change the logic to
    "expiration Time" "after" "today".  to see how this logic works, it doesn't return any results either.
    I'm working in Belgium, regional settings are d/MM/yyyy H:mm (in 24h format).
    My browser language is also set to nl-BE, where FIM actually uses this in the PORTAL field too:
    Today in Belgium is 16/09/2014 16:45. But My set returns 0 members.
    I've read some articles that FIM needs the format in yyyy/MM/dd format (for import)
    Is it correct that FIM Portal doesn't handle this XPATH current-dateTime() function correctly for foreign regional settings?
    I've tried to set it current-dateTime("d/MM/yyyy") or other variants, but that gives an error when I'm trying to save.
    Kind regards,
    David

    Hi,
    I've checked, the "SQL Server Agent (MSSQLSERVER)" is running, and set to automatic.
    I've changed the Local default to "dutch (Belgium)" in the Site settings (it was English (US)):
    I've launched iisreset to restart the website.
    I've looked at the set, no members. I've validated if the users its date format was OK (and Belgian/European style) => it was.
    I've played in the set with the different options (I'm translating as these are in Dutch):
     - Prior to 1 day 
     - Prior to 1 day from today
     - Prior to "Tuesday 16 September 2014 0:00:00" (from a calendar control)
     - Prior to today
    None of these returned any user records :(

  • Avid to FCP comparison graphs or charts

    Is there no quick charts to map what an avid icon looks like and the equivalent fcp icon?
    If I wanted to lock the source (viewer) monitor to the record (canvas) monitor what would I use in fcp?
    Is there a book that clearly describes the functions from avid to fcp? I am not having any luck with Final Cut Pro for Avid Editors.
    G4 duel processor    

    I took a bit different approach than Jim when coming over to FCP. As an editor who uses both Avid and FCP on a regular basis I found that the most basic commands, mark IN, OUT, go to IN, OUT, clear IN, OUT and stuff like that that I do over and over each day, I mapped my FCP keyboard to match Avid as closely as I could. When it comes to basic everyday workflow and media management, I find Avid works better. When it comes to effects and integration with other apps, FCP is the hands down choice. As for a direct comparisons.... here are 2 articles.
    This was written by Patrick Inhofer and is very nice:
    http://www.fini.tv/articles/avidfcp2006.html
    I wrote a follow up on my blog detailing some of the "simpler" things between the two apps:
    http://www.scottsimmons.tv/blog/2006/02/18/avid-vs-final-cut-pro-my-take/
    But the debate will rage on as long as both apps exist.

  • Silver graph performanc​e (apparent serious 2011 flaw)

    I noticed that cpu usage was quite high for some VIs and ended up finding out with simple comparison benchmarks (using performance and memory test) that a VI with the new silver graph runs about 25 times slower than a vi with the old, uh, modern graph at default graph size.  For a graph widened to cover a wide screen, it decreased to about 190 times slower, a horrible crawl.  For the test I just generated random numbers put into a 2000 element 1D array to be graphed (couldn't attach the test VIs for some reason). 
    The silver graph looks nice, but what in the world is going on here?
    Jesse

    Nice to know
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

  • Help Creating a Graph (of sorts) for Professional Driver Daily Logs

    Hey All!
    I'm working on a project for myself, that could go commercial if it gets as good as I'm hoping it will. This application (which I'm calling Truck Manager) will manage income and expenses, help plan trips, track trip/load information and do the US-MCSA/DOT regulated Driver's Daily Log. This log is a line graph that runs from midnight to midnight and has four lines: (1) Off Duty; (2) Sleeper Berth; (3) On Duty, Driving; and (4) On Duty, Not Driving. If anyone needs to see a paper form of this log book, just ask and I'll scan in one of my copies and post.
    Anyway, I'm using J2D to handle the log book "pages" and have already gotten the grid laid out just fine...it runs from midnight to midnight and is broken into 15-minute increments, with the four required lines described above. Now that I have that done, I've hit a logic block that is keeping me from figuring out the best and/or simplest way to log the status changes and time lines. For example, let's say that I work the following day:
    Midnight until 06:00 == off duty
    06:00 until 06:15 == on duty, not driving: performing pre-trip inspection
    06:15 until 08:00 == on duty, driving to customer to be loaded
    08:00 until 08:15 == on duty, not driving: being loaded (only required to log 15 minutes for this)
    08:15 until 09:00 == off duty (still being loaded)
    09:00 until 12:00 == on duty, driving (heading toward delivery)
    12:00 until 12:45 == off duty (lunch)
    12:45 until 15:00 == on duty, driving (heading toward delivery)
    15:00 until 15:15 == on duty, not driving (being unloaded)
    15:15 until 16:00 == off duty, (still being unloaded)
    16:00 until 20:00 == on duty, driving (heading home)
    20:00 until midnight == sleeper (ran out of hours)
    This graph would look like the following (provided each dash represents one 15-minute block:
    <pre>
    1. -----------------------| |---| |---| |---|
    2. | | | | | | | |----------------
    3. | -------| | |------------| |---------| | |----------------|
    4. |-| |-| |-|
    </pre>
    Though the above graph is crappy, it should give the idea of what needs to be done. At each change of status (i.e., from off duty to on duty, not driving) there must be a vertical line between the statuses, not going above and below like in the example above. Then, once the status changes again, the horizontal line needs to be drawn from the vertical line of the last status change to the time of the new status change and then the vertical line to the new status.
    The way the driver's daily log works is like this...When I come on duty, I am required to do a pre-trip inspection of my truck/trailer, which requires 15 minutes on duty, not driving, so I log that all at once, including the vertical line up to the 3rd line of the graph, which is on duty, driving. Then, in this example, I drive for 1.75 hours, until I arrive at my pick-up. Once I get there, I draw the horizontal line on line 3 of the graph, the vertical line down to line 4 (on duty, not driving), the 15-minute horizontal line and the vertical line up to line 1 (off duty). When I get ready to leave the pick-up after I am loaded, I draw the horizontal line across line 1, the vertical line down to line 3 and then drive until I stop.
    Other things that are desired for this graph logic is to take into account the US-MCSA/DOT regulations for drivers that state the following:
    a. A driver may not be on duty for more than 14 hours, without a 10-hour break
    - Nothing stops this "14-hour clock" except a 10-hour break, so if a driver comes on duty at 06:00 and spends 15 minutes doing the pre-trip inspection and then goes off duty for the next 8 hours, the 14-hour clock is still running and the driver will only have 5 hours and 45 minutes to work (roughly).
    b. A driver may not drive for more than 11 hours, without a 10-hour break, provided the 14-hour rule is obeyed.
    - In other words, even if a driver only drives for a total of 7 hours, but the 14-hour clock expires, the driver may not complete his/her 11 hours of driving allowed.
    c. A driver must take a break of 10 consecutive hours in each 24-hour period.
    *** This is confusing because the 10-hour break can span midnight and still be considered consecutive, even though part of the break is on one graph and the other part is on another graph.
    In taking these rules into account, I would like the graphing part of the program's logic to change the horizontal line color from blue (the regular line color) to red if the driver is in violation of the rules above. Where this gets really complicated is where the same status crosses midnight from day-to-day.
    As I said, I have successfully gotten the grid painted using java.awt.Graphics2D methods, but am having trouble coming up with the logic for drawing the driver status throughout the day. All data will be stored in a MySQL database table and can be pulled at any time that it is needed. The user will be entering the current status change time, as well as location (city and state) and a comment (which is not required, except for when doing a pre-trip inspection, fueling, loading or unloading), then clicking a button labeled "Update Log".
    Any help with the logic for this part of the application is greatly appreciated. If you can provide sample code to help demonstrate the logic you are describing, I will be grateful.
    Thank you all for your assistance. If you would like a better idea of what the daily log graph looks like, you can run the class below.
    Cheers,
    Sean
    <pre>
    * DriverLog.java: Driver's Daily Log entry screen. By completing the small form at the bottom of
    * dialog, the system will automatically update your log.
    * Created on Sep 30, 2010, 2:03:18 PM
    package net.pekinsoft.trkmgr.gui;
    import java.awt.BasicStroke;
    import java.awt.Color;
    import java.awt.Graphics2D;
    import java.awt.Point;
    import java.awt.Toolkit;
    * @author Sean Carrick
    public class DriverLog extends javax.swing.JFrame {
    // Private class-level variables.
    * @code{java.awt.Graphics2D} object that we will use for drawing on our
    * view port, which is a @code{javax.swing.JPanel} on our form. This view
    * port will hold our driver's log graph that shows the driver's status at
    * different times of the day based upon the data the driver provides.
    private Graphics2D canvas;
    * @code{java.awt.geom.Point} object to hold the starting x, y coordinates
    * for the driver's daily log off duty line.
    private Point offDutyStartPoint;
    * @code{java.awt.geom.Point} object to hold the ending x, y coordinates
    * for the driver's daily log off duty line.
    private Point offDutyEndingPoint;
    * @code{java.awt.geom.Point} object to hold the starting x, y coordinates
    * for the driver's daily log sleeper berth line.
    private Point sleeperStartPoint;
    * @code{java.awt.geom.Point} object to hold the ending x, y coordinates
    * for the driver's daily log sleeper berth line.
    private Point sleeperEndingPoint;
    * @code{java.awt.geom.Point} object to hold the starting x, y coordinates
    * for the driver's daily log driving line.
    private Point drivingStartPoint;
    * @code{java.awt.geom.Point} object to hold the ending x, y coordinates
    * for the driver's daily log driving line.
    private Point drivingEndingPoint;
    * @code{java.awt.geom.Point} object to hold the start x, y coordinates
    * for the driver's daily log not driving line.
    private Point notDrivingStartPoint;
    * @code{java.awt.geom.Point} object to hold the ending x, y coordinates
    * for the driver's daily log not driving line.
    private Point notDrivingEndingPoint;
    * @code{int} that holds the number of 15-minute blocks in a 24-hour period.
    private static final int qtrHourBlocks = (24 * 60) / 15;
    /** Creates new form DriverLog */
    public DriverLog() {
    // Initialize the window's components. {handled by NetBeans}
    initComponents();
    // Center the window on the screen.
    Toolkit tk = Toolkit.getDefaultToolkit();
    int winX = (tk.getScreenSize().width - getWidth()) / 2;
    int winY = (tk.getScreenSize().height - getHeight()) / 2;
    setLocation(winX, winY);
    // Initialize our drawing canvas.
    canvas = (Graphics2D) viewPort.getGraphics();
    // Next, we need to initialize our line starting and ending point objects.
    int qtr = (viewPort.getHeight() / 8);
    int y = qtr + 20;
    int startX = 20;
    int endX = viewPort.getWidth() - 20;
    offDutyStartPoint = new Point(startX, y);
    offDutyEndingPoint = new Point(endX, y);
    y = (qtr * 2) + 20; // Double the value of y
    sleeperStartPoint = new Point(startX, y);
    sleeperEndingPoint = new Point(endX, y);
    y = (qtr * 3) + 20; // Triple the value of y.
    drivingStartPoint = new Point(startX, y);
    drivingEndingPoint = new Point(endX, y);
    y = (qtr * 4) + 20; // Quadruple the value of y.
    notDrivingStartPoint = new Point(startX, y);
    notDrivingEndingPoint = new Point(endX, y);
    // Now that our objects have been initialized, we need to draw our grid.
    paint();
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">
    private void initComponents() {
    bgrpStatus = new javax.swing.ButtonGroup();
    viewPort = new javax.swing.JPanel();
    lblStatusChange = new javax.swing.JLabel();
    txtStatusChange = new javax.swing.JFormattedTextField();
    rbtnOffDuty = new javax.swing.JRadioButton();
    rbtnSleeper = new javax.swing.JRadioButton();
    rbtnDriving = new javax.swing.JRadioButton();
    rbtnNotDriving = new javax.swing.JRadioButton();
    btnUpdate = new javax.swing.JButton();
    lblComment = new javax.swing.JLabel();
    txtComment = new javax.swing.JTextField();
    lblLocation = new javax.swing.JLabel();
    txtLocation = new javax.swing.JTextField();
    setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
    setTitle("Driver's Daily Log");
    setAlwaysOnTop(true);
    setResizable(false);
    addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowOpened(java.awt.event.WindowEvent evt) {
    formWindowOpened(evt);
    addWindowStateListener(new java.awt.event.WindowStateListener() {
    public void windowStateChanged(java.awt.event.WindowEvent evt) {
    formWindowStateChanged(evt);
    javax.swing.GroupLayout viewPortLayout = new javax.swing.GroupLayout(viewPort);
    viewPort.setLayout(viewPortLayout);
    viewPortLayout.setHorizontalGroup(
    viewPortLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGap(0, 674, Short.MAX_VALUE)
    viewPortLayout.setVerticalGroup(
    viewPortLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGap(0, 351, Short.MAX_VALUE)
    lblStatusChange.setText("Status Change Time:");
    txtStatusChange.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(
    new javax.swing.text.DateFormatter(new java.text.SimpleDateFormat("HH:mm"))));
    bgrpStatus.add(rbtnOffDuty);
    rbtnOffDuty.setSelected(true);
    rbtnOffDuty.setText("Off Duty");
    bgrpStatus.add(rbtnSleeper);
    rbtnSleeper.setText("Sleeper");
    bgrpStatus.add(rbtnDriving);
    rbtnDriving.setText("Driving");
    bgrpStatus.add(rbtnNotDriving);
    rbtnNotDriving.setText("On Duty; Not Driving");
    btnUpdate.setMnemonic('U');
    btnUpdate.setText("Update Driver Log");
    btnUpdate.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    btnUpdateActionPerformed(evt);
    lblComment.setText("Reason/Comment:");
    lblLocation.setText("Location: City, ST:");
    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
    .addContainerGap()
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
    .addComponent(viewPort, javax.swing.GroupLayout.DEFAULT_SIZE,
    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    .addGroup(layout.createSequentialGroup()
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
    .addComponent(lblLocation)
    .addComponent(lblStatusChange))
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
    .addGroup(layout.createSequentialGroup()
    .addComponent(txtStatusChange, javax.swing.GroupLayout.PREFERRED_SIZE, 50,
    javax.swing.GroupLayout.PREFERRED_SIZE)
    .addGap(18, 18, 18)
    .addComponent(rbtnOffDuty)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
    .addComponent(rbtnSleeper)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
    .addComponent(rbtnDriving)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
    .addComponent(rbtnNotDriving)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
    65, Short.MAX_VALUE)
    .addComponent(btnUpdate))
    .addGroup(layout.createSequentialGroup()
    .addComponent(txtLocation, javax.swing.GroupLayout.DEFAULT_SIZE,
    232, Short.MAX_VALUE)
    .addGap(18, 18, 18)
    .addComponent(lblComment)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(txtComment, javax.swing.GroupLayout.PREFERRED_SIZE,
    227, javax.swing.GroupLayout.PREFERRED_SIZE)))))
    .addContainerGap())
    layout.setVerticalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
    .addContainerGap()
    .addComponent(viewPort, javax.swing.GroupLayout.DEFAULT_SIZE,
    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    .addGap(18, 18, 18)
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(lblStatusChange)
    .addComponent(txtStatusChange, javax.swing.GroupLayout.PREFERRED_SIZE,
    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(rbtnOffDuty)
    .addComponent(rbtnSleeper)
    .addComponent(rbtnDriving)
    .addComponent(rbtnNotDriving)
    .addComponent(btnUpdate))
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(txtComment, javax.swing.GroupLayout.PREFERRED_SIZE,
    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(lblComment)
    .addComponent(lblLocation)
    .addComponent(txtLocation, javax.swing.GroupLayout.PREFERRED_SIZE,
    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
    .addContainerGap())
    pack();
    }// </editor-fold>
    private void btnUpdateActionPerformed(java.awt.event.ActionEvent evt) {                                         
    // KEEP AS LAST LINE IN THIS FUNCTION!!! //
    paint();
    private void formWindowStateChanged(java.awt.event.WindowEvent evt) {                                       
    // Draw the driver's daily log grid.
    paint();
    private void formWindowOpened(java.awt.event.WindowEvent evt) {                                 
    // Draw the driver's daily log grid.
    paint();
    private void paint() {
    drawOutline();
    * @code{net.pekinsoft.gui.DriverLog.drawOutline()} function handles the
    * rendering of the driver's daily log grid outline only.
    private void drawOutline() {
    // Set up the starting point for our log grid's upper-left corner.
    int x = 0; // 20 points down from the top.
    int y = 0; // 20 points in from the left.
    int offset = 28;
    // Get the height and width of our log grid from the panel.
    int h = 112;
    int w = 671;
    // Set the color of our border to Red.
    canvas.setStroke(new BasicStroke(1));
    canvas.setPaint(Color.BLACK);
    // Draw our log graph outline.
    canvas.drawRect(x, y, w, h);
    // Draw our log's horizontal lines.
    for ( int i = 1; i < 5; i++ ) {
    canvas.drawLine(x, y + (i * offset), w + offset, y + (i * offset));
    // Draw our log's hour lines.
    for ( int i = 1; i < 24; i++ ) {
    canvas.drawLine(x + (i * offset), 0, x + (i * offset), 112);
    // Draw our log's 30-minute ticks.
    for ( int i = 1; i < 48; i++ ) {
    for ( int j = 0; j < 5; j++ ) {
    canvas.drawLine(x + (i * (offset / 2)), y + (j * offset),
    x + (i * (offset / 2)), (y + (j * offset) + 10));
    // Draw our log's 15-minute ticks.
    for ( int i = 1; i < 96; i++ ) {
    for ( int j = 0; j < 5; j++ ) {
    canvas.drawLine(x + (i * (offset / 4)), y + (j * offset),
    x + (i * (offset / 4)), (y + (j * offset) + 5));
    canvas.drawLine(0, 112, 0, 122);
    canvas.drawLine(w, 112, w, 122);
    * @param args the command line arguments
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new DriverLog().setVisible(true);
    // Variables declaration - do not modify
    private javax.swing.ButtonGroup bgrpStatus;
    private javax.swing.JButton btnUpdate;
    private javax.swing.JLabel lblComment;
    private javax.swing.JLabel lblLocation;
    private javax.swing.JLabel lblStatusChange;
    private javax.swing.JRadioButton rbtnDriving;
    private javax.swing.JRadioButton rbtnNotDriving;
    private javax.swing.JRadioButton rbtnOffDuty;
    private javax.swing.JRadioButton rbtnSleeper;
    private javax.swing.JTextField txtComment;
    private javax.swing.JTextField txtLocation;
    private javax.swing.JFormattedTextField txtStatusChange;
    private javax.swing.JPanel viewPort;
    // End of variables declaration
    </pre>
    Edited by: 799477 on Oct 1, 2010 2:42 PM

    <blockquote>Sean, I checked your code and seen that package net.pekinsoft..., is this an Illinois Company by any chance?</blockquote>
    Yes, this is a company that I have tried (unsuccessfully) to start in central Illinois...I'm guessing that the "Pekin" part gave it away.
    <blockquote>Thanks for posting the DB TABLE -- we'll need that later, plus I wanted to see if you would respond.</blockquote>
    Not a problem on the DB table. Why wouldn't I respond...I want and NEED help here... ;-)
    <blockquote>I have a few questions but don't want to complicate your line of thinking, so I'll just describe generally how I have approached a big project like this. </blockquote>
    I will answer them the best that I can.
    <blockquote>For one thing, I do not start with a GUI or even consider what I want it to look like... I start with the data, and how that data is broken down into different classes, and then how those classes come together to form an Object Hierarchy. I have and do maintain a large MySQL database myself with 18 TABLES. Some of the TABLES hold very little information which I use as static final information. As a matter of fact, one of those TABLES is called status and contains 5 fields. This status TABLE is storing 7 rows of information because I have 7 different levels. The fields in my status TABLE are status_id, status_type, status_title, status_desc, and status_icon. This means I will have 7 icons to represent the different status levels, a description, a title, a type (maybe yours could be ON or OFF duty for example), and the ID of the status.
    Another thing at this stage of development is that I don't make up my mind concretely about any of the data or how the data will fit together. I want to remain as flexible as possible, so that as my design develops, the design allows for the addition or subtraction of data and different data types to be created. In other words, I completely atomize all structure, associations, relationships, dependencies, or just anything in general that makes two or more pieces of information stick together.
    At this point, all I have is a loose bag of primitive data types with no structure whatsoever. Like I just tore up a piece of paper into a hundred pieces and threw into the air letting the pieces fall where they may.
    While I'm at this point, I will make decisions about which languages and platform would be the best to raise the beast. In my case, I chose to run it on the internet, so I chose MySQL to store the data, SQL to communicate to the DB, and the server uses a PHP scripting engine to spit out the HTML, also PHP lets me create OO classes very similar to a JAVA class. This is a very important step and must be made now, not later -- you don't want to do all this work only to find out that it should have been done in another language! Been there done that.
    Once I've decided all of the above, then I come back and decide how the data should be organized. NOW I make all the database TABLES. Then I write a class definition for each of the db tables. Each class will provide methods for saving, editing, and retrieving info to and from the db using SQL.
    Once I get to this point I will make FORMS for the easy entry of data. The FORMS, CLASSES and and db TABLES all mirror each other now, so the CLASSES handle all the info from FORM to DB, DB to FORM. Notice at this point I am still dealing with data and data flow, NOT the display of pretty information -- not even close.
    Ok, enough about this Sean, let me know if this helps any.</blockquote>
    This information was helpful, but also how I typically approach a large project.
    The only problem with what you talk about above is dealing with allowing "wiggle-room" for changing the data because the data that I'm storing is codified by the federal government through the CSA-2010 laws that regulate the trucking industry. Therefore, I really don't have any wiggle-room with the data at all.
    As for choosing Java over another language, I made this choice because I don't like limiting myself (or others) on what operating system they use and platform-independence is one of the best things about Java (provided you don't use any OS-specific code, which I try like hell not to do). I am a huge Linux guy, but have to use Windows to update my GPS and would like to be able to use this application no matter which OS I'm booted into. Just so you understand, I am fluent in multiple languages, including PHP, Java, Python, Ruby, C/C++, BASIC and Bash. I am also very big on OOP and always leave accessing the database to the class that holds that data (i.e., LogEntry class will access the database to store and retrieve the log data). I am also using MySQL as the database back-end, because it is the SQL server that I am most comfortable with and also has versions for various OSes. I use the mysql-connector.jar library for accessing MySQL from Java, so that's not even an issue.
    As for "static final" data in the database, I do store my statuses, with the status_id numbers the same as the row number on the hard-copy Driver's Daily Log books. These records simply hold the status_id and description (i.e., 1, "Off Duty").
    I believe that I've got the logic for logging an entry such as: 08:00-10:00, On Duty, Driving, status location Indianapolis, IN, comment: Tire check. This whole entry is on the same day and therefore fairly easy to graph. The type of entry that I'm having problems figuring the logic for is one where the last change of duty status was before midnight and the current change of duty status is after midnight, on the next day. For example, I typically stop for the night (my DOT 10-hour break) at 5:00 PM (17:00) and am in the sleeper across midnight, then get going at 3:00 AM (03:00). I'm having trouble figuring out how many hours to log on the current day. In the example that I just gave, I'm not getting how I can figure out when to start at midnight and when to start out at the prior status change time through code. Nothing that I try seems to work correctly and I keep getting horizontal status lines outside of my graph area.
    As for what data I need to store and how I need to store it, I am very flexible, except with the daily log data, since it is federally mandated. Once I figure out the logic for actually logging the statuses and changes of status properly, I will create the class for storing and retrieving the database data...for now I'm just using hard-coded times to get the graphing logic right without the overhead of database access. Changing this code to use the data from the database will be a snap in comparison to figuring out the graphing functionality.
    Thanks for your insights and assistance. I look forward to seeing what other ideas you have to share.
    Sean

  • Discoverer Desktop Graphing Questions

    I have several questions about the graphing tool in Discoverer Desktop:
    1. I'm bringing in a customer id field which I convert with a to_char in the query from a numeric field. Most of them are 5-digit, but some are 4. I notice in the x-axis the customer id's appear only for the 5 digit id's, and for the 4-digit ones the identifier appears. i.e. if the 5th record has an id of 1508, instead of displaying 1508 it displays 5. Does anyone know how to correct this?
    2. In the y-axis values, is it possible to display more than 5 decimal places? (We're dealing with very small percentages). When I try to enter 6 or higher as the decimal value in Options, it says invalid number.
    3. When I open an existing workbook, it readjusts the y-axis scale to a max of 1, when I've set it to .0001. How I can I make this retain my scale values?
    4. Is it possible to display the y-values in the graph area itself next to the plot points?
    Thanks for any help!!!!

    Hi paul,
    Its a good idea to upgrade from 4i to 10g 4i is no more used by many and their are some issues or bugs with it.The latest version is 11g which has been released 1 week back.If not go with 10g version available.
    1) Do all reports have to be stored on the database to allow them to be accessed by Plus or Viewer? Can only the 10G client version open files from a local hardrive or shared network drive?Yes they have to stored in the database so any ened user can access them from plus or viewer.
    Can only one report be open at any given time with Plus or Viewer? In client it is possible to have 2 reports open at the same time to facilitate easier comparisons.Yes,if the reports are registered as different reports and if the end user has access to both the reports thn he can open and compare it OR if both reports are in same workbook as different sheets than its easy to view or compare.
    NULL values are still showing the word "NULL" even though in Tools Options we have set it to show blank, existing reports are still using the NULL value.It should show blank,might be some problem.In discoverer 10g i think you will not find this issues.
    Hope this helps you.
    Best Wishes,
    kranthi.

  • Problem on drawin a graph

    I'm a just beginner in Swing.I want to draw a graph on a frame.My problem is.....:in the o/p window graph is just become disable afterit came.it will reappear whwn we maximize thhe o/p window...my part of code is following:
    public void paint(Graphics g) {//main graph drawing part
              super.paint(g);
              Graphics2D g2 = (Graphics2D)g;
              g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
              for(i=0;i<ss2;i++){//assigning the the values of FROM node and TO node
                   pf=p[Integer.parseInt(str2[i][0])];
                   pt[i]=p[Integer.parseInt(str2[i][2])];
              for(i=0;i<ss2;i++){//to print the value like a,b,c...
                   xf=pf[i].x;
                   yf=pf[i].y;
                   xt=pt[i].x;
                   yt=pt[i].y;
                   xm=(xf+xt*3)/4;
                   ym=((yf+yt*3)/4)-5;
                   sssss=str2[i][1].charAt(0);
                   g2.setColor(Color.black);
                   if(xf==xt&&yf==yt){
                        g2.drawArc(xf,yf,35,20,0,360);
                        g2.drawString(Character.toString(sssss),xf+15,yf+12);
                   else{
                        g2.drawLine(xf,yf,xt,yt);
                        g2.setColor(Color.black);
                        g2.drawString(Character.toString(sssss),xm,ym);
                        g2.fillOval(m,n,7,7);
              for(i=0;i<sc1;i++) {//for loop to draw the circle class to draw circles
                   int _x;
                   int _y;
                   _x=(p[i].x-10);
                   _y=(p[i].y-10);
                   if(str1[i][3].equals("1")){
                   g2.setColor(Color.PINK);
                   g2.fillOval(_x, _y,20,20);
                   x=0;y=0;
              else if(str1[i][3].equals("2")){
                   g2.setColor(Color.CYAN);
                   g2.fillOval(_x, y,20,20);x=0;_y=0;
              else if(str1[i][3].equals("4")){
                   g2.setColor(Color.YELLOW);
                   g2.fillOval(_x, y,20,20);x=0;_y=0;
              else{
                   g2.setColor(Color.ORANGE);
                   g2.fillOval(_x, y,20,20);x=0;_y=0;
              for(i=0;i<sc1;i++){//to put the node name like 1,2...i'll changed it to Q0,Q1,... later
                   g2.setColor(Color.BLACK);
                   g2.drawString(Integer.toString(i),p[i].x,p[i].y);

    Comments:
    If you had gone through the painting tutorial linked, you would know that custom painting is not normally performed on a JFrame. And knowing that, you would find no reason to extend JFrame.
    If you had taken a look at the API you would know that JFrame doesn't have a method paintComponent.
    If you had gone through the Swing tutorial linked, you would know about concurrency in Swing, and that the GUI should be launched on the EDT.
    So. With the wealth of knowledge already available in the tutorials, do you really think forum members should waste their time teaching you the basics? Please go through the changed code and post back what you conclude about the differences that make it work.
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.SwingUtilities;
    public class FrameTest {
       int px, py, ox, oy;
       JFrame frame;
       JPanel panel;
       FrameTest(String title, int x1, int y1, int x2, int y2){
          frame = new JFrame(title);
          px = x1;
          py = y1;
          ox = x2;
          oy = y2;
       private void makeUI() {
          panel = new JPanel() {
             public void paintComponent(Graphics g){
                super.paintComponent(g);
                g.drawLine(px, py, ox, oy);
          frame.setContentPane(panel);
          frame.setSize(300, 300);
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          frame.setVisible(true);
       public static void main(String args[]) {
          SwingUtilities.invokeLater(new Runnable() {
             public void run() {
                new FrameTest("Show", 10, 10, 100, 100).makeUI();
    }db

  • Graph Capabilities in XML Publisher

    Just started evaluating XML Publisher as a possibility for reporting multiple Balanced Scorecard KPIs from E-Business Suite onto one report, as that functionality is NOT provided by Oracle.
    I presume the idea of XML Publisher is to make development of Reports faster and easier, with less technical knowledge required than perhaps using something like Oracle Reports
    To be honest with an initial look I have found it to be quite disappointing, especially in respect to graphing.
    I wanted to create a graph where I could display Multiple Series of Data on the one Bar Graph i.e. Actual, Budget, Forecast, by Period
    The "Wizard" in Release 5.6.0 only allows me to select the "sum" of a single "Measure"
    I have since read further through B13817-05 XML Publisher User Guide, and found you can go to Format, Picture and the Web tab and alter the code in there to change the graph.
    So I have managed to do that by manually adding additional <RowData> items
    However I don't feel that confident in recommending we attempt to use XML Publisher yet for "advanced" reporting, as it seems to have as many peculiarities, issues as Reports Developer, and probably requires a similar level of Expertise/Experience
    I am sure for a basic report, it is quite easy to achieve something quickly and easily, but generally nowadays requirements are not simple
    The resources I have found that seem to relate to graphs are;
    http://www.oracle.com/technology/products/reports/htdocs/faq/graph_faq_with_style.html
    http://www.oracle.com/technology/products/reports/htdocs/getstart/whitepapers/graphdtd/graph_dtd_technote_2.html
    Is there any other resources out there that would be helpful ?
    Jeremy

    Thanks for your reply
    I will check out those possibilities if I have time, as mentioned we are not really developers and were looking for the true benefits marketed for using XML Publisher of reports being "designed using Microsoft Word or Adobe Acrobat "
    Let hope the graphing and other functionality makes it into a release soon

  • How to plot with multi colors in a single XY graph?

    Hi,
      I'm making hesteresis measurements. In this case, I collect data while sweeping voltage first from 0 to 2V, and then back from 2V to 0V, and the data are plotted in a single XY graph. In the XY graph, I want forward sweep plot of one color while the reverse sweep with another color so I can easily make comparisons. And I want to see the data real time. I tried to wire "plot color" in "property node", but this will change the color globally and can not be applied to a section of data. Can anyone advise me how to do this? Thanks!
    Guanglei 
    Solved!
    Go to Solution.

    Hi Graham,
      Thank you very much for the reply, I really appreciate it.
      However I don't quite understand your descripton. Yes I do spit my data in two arrays, one for forward sweep, and the other for reverse sweep. I can plot with different colors in XY graph by appending several XY graphs into one, but by doing this I can not see the data real time. I quickly made a vi to demonstrate my problem,  hope this will give you a better understanding. Thanks. 
    Guanglei
    Attachments:
    demo_GL.vi ‏108 KB

  • Need help on Scorecard

    Hi All,
    I have to design one dashboard of combination of diff Score card and Graphs. it's look like 6 tabs and per selection  three scorecard and three graph for diff data.
    selection is look like ;
    Radio button 1: Current month / YTD / Annual Forecast
    Radio Button 2 : Sales View / Margin View
    in this scenario for one tab & Current month and Sales View then three score card and three graph.same for financial view.
    so total scorecard  are 18 and 18 graphs for one tab.that is i can achieve by dynamic visibility.
    but in this way  total components are going to 250 plus so that it become more complex for maintenance purpose.
    My qns is it  possible i will create one table based on the vlookup or some excel function which is same for all scorecard (number of rows and columns are same in all tables ) and  based on the selection like first tab then current month then sale view : scorecard will show sales view data and if i select margin view then  scorecard show margin view data for current month based on the selection in the same scorecard.
    if this will work then i can create only three scorecard and three graph only.
    Thanks,
    Amit

    Hi Amit,
    I feel you should be able to re-use the components between each tab. Instead of tab we should go for labelled menus.
    But to copy data to table you should consider using the SourceData component. vlookup or too much overload of excel functions will terribly slow down the dashboard if the data is too much.
    Hope this helps!
    Regards,
    Mathangi

Maybe you are looking for

  • Routine in Transfer Rules - Error

    Hi Experts, I want to have a routine on Key Fig 0AMOUNT in Transfer Rules which says something like:-   if tran_structure-shkzg = "S".     RESULT = tran_structure-wrbtr * - 1.   endif. However the syntax check will not allow this.  The error says:-  

  • Problems with corba initialisation due to migration from plug in 1.3 to 1.4

    Hi all. We're attempting to debug an internet banking applet used by our company. This applet was written to run under JRE 1.3, however due to business requirements our company has upgraded to JRE 1.4. Under the 1.4 JRE, the applet no longer starts u

  • Query Tuning 2

    I want to tune this query as per my requirement. The query has two bind variables. If I pass those variables it is taking 34.078 secs. The Table contains around 3635427 rows. SQL> SELECT COUNT(RE_KIM_USER_ID) FROM TB_CMA005_CUSTOMER_MASTER WHERE PARE

  • Deinterlace question

    should I deinterlace before or after I add any filters to a project, and does anyone have a opinion about the jes deinterlacer?

  • TA38641 I've somehow managed to delete my iPhone 5 settings app. How can I retrieve it ?

    I've somehow managed to delete my iPhone 5 settings app. How can I retrieve it ?