How to create Coloured bar scale

Hi,
I am working on Diadem12 and I want to create a colour graded bar scale showing the current performance of my test result in percentage of the allowable limit.
Detail : Consider I have a variable calculated in Diadem which corresponds to perfomance of my test and I have upper limit for this value. I want to show the calculated value for my test as a percentage of the limit and if the percentage is
less than 80%, then it should be filled  with green
between 80 to 100% then it should be filled with orange and
more than 100%  then it should be filled with red.
(pls see attached snapshot)
For example: Lets say the upper limit for max acceleration measured is 150 and the x be the measured value in my test (in percentage of the upper limit). Now if x is less than 80 then bar should be filled with green, between 80 to 100 to be filled with orange and more than 100 to be filled with red.
Please let me know possible ways to do this.
Regards,
Fazil Shah.
Attachments:
Picture1.jpg ‏57 KB

I was able to do this by creating a 2D axis in the report (which can be include in the template file) and then creating rectangular frame with fill and then positioning it same as the 2D axis by the following code.
Dim oMyFrame, oMyBackgroundColor, oMyPosition, oMyBorderLine, oMyShadow
Set oMyFrame = Report.ActiveSheet.Objects.Add(eReportObjectFrame,"MyFrame")
Set oMyBackgroundColor = oMyFrame.BackgroundColor
Call oMyBackgroundColor.SetPredefinedColor('colour variable depending on value))
Set oMyPosition = oMyFrame.Position.ByCoordinate
oMyPosition.X1 = 60 -----------------------------------------------------(X1 position of 2D Axis)
oMyPosition.X2 = 70 -----------------------------------------------------(X2 position of 2D Axis)
oMyPosition.Y1 = 60 -----------------------------------------------------(Y1 position of 2D Axis)
oMyPosition.Y2 = ValMin(Y1+(% value ),80) ----------------------(80 is Y2 for 2D axis)
Now a problem I am facing is that, this works only in Diadem 12, can any1 help me in modifying this so that this works in Diaden 11 also?
Attachments:
bar scale.jpg ‏12 KB

Similar Messages

  • Adobe premiere elements 12 - how to create menu bar action for my inserted image button

    adobe premiere elements 12 - how to create menu bar action for my inserted image button without using their movie menu theme

    forbemag
    I do not think that I am completely focused into this completely, so let us see if the following is going to help.
    You are going to need a base for your button. When you mention "image" button, I am assuming that you are using that term to differentiate between a text button and a thumbnail type button.
    The menus (main and scene) take their origin in .psd files on the hard drive and strict nomenclature and structure for Layers Palatte. And, the buttons on the menus trace back to the menu markers on the Timeline, main menu marker and order of placement of scene markers. The scene thumbnail will only appear when there is a scene marker on the Timeline to which it.
    In view of all that
    Where have you already inserted this "image (button)"...into the Layers Palette of a Photoshop document or other? Is this "image (button)" in a structured Layer Group in the Layers Palette with sublayer groups, text layers, graphic/background layer"?
    Let me give you an example
    If you have a button (with thumbnail) on the main menu and you want that to open to a specific scene in your movie, then you use a main menu marker on the Timeline at the spot that you want that button to target.
    If I am getting closer to what you seek, then please further clarify the DVD navigational envisioned scheme.
    Thanks.
    ATR
    Add On...I did not see the exchanges between us and SG until after I had posted mine. I thought that your discussions were concluded. Please excuse the interruption.

  • How to create progress bar?

    pls,can anyone tell me? how to create progress bar?
    thanks,
    screen410099

    it is well documented how to create progressbars on page 173 in Solutions.pdf
    also you can find sample code in InDesign SDK\sources\sdksamples
    Regards
    Bartek

  • How to create progress bar in web page!!!

    Dear,
    I do not know how to create progress bar in web page?
    Please show me the way to solve it.
    Best regards,
    Huy

    God your lucky/lazy
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    public class ProgressBar extends Applet
      private boolean isStandalone = false;
      private int width;
      private int height;
      private double percentComplete;
      private double fundsTarget;
      private double fundsRaised;
      private Properties values;
      private String propertiesFile;
      private JPanel jPanel1 = new JPanel();
      private JProgressBar PB_FUNDS_PROGRESS = new JProgressBar();
      private GridLayout gridLayout1 = new GridLayout();
      private BorderLayout borderLayout1 = new BorderLayout();
      private JPanel jPanel2 = new JPanel();
      private JLabel jLabel1 = new JLabel();
      private JLabel jLabel2 = new JLabel();
      private JLabel jLabel3 = new JLabel();
      private GridBagLayout gridBagLayout1 = new GridBagLayout();
      private JPanel jPanel3 = new JPanel();
      private JLabel jLabel4 = new JLabel();
      //Construct the applet
      public ProgressBar()
      //Initialize the applet
      public void init()
        try
          jbInit();
        catch(Exception e)
          e.printStackTrace();
      //Component initialization
      private void jbInit()
      throws Exception
        fundsTarget = new Double( 100 ).doubleValue();
        fundsRaised = new Double( 50 ).doubleValue();
        PB_FUNDS_PROGRESS.setBackground(Color.green);
        PB_FUNDS_PROGRESS.setForeground(Color.red);
        this.setLayout(gridLayout1);
        jPanel1.setLayout(borderLayout1);
        jPanel2.setLayout(gridBagLayout1);
        jPanel1.setBackground(Color.white);
        jPanel2.setBackground(Color.white);
        jPanel3.setBackground(Color.white);
        jLabel2.setBackground(Color.white);
        jLabel1.setBackground(Color.white);
        jLabel3.setBackground(Color.white);
        jLabel4.setText(" ");
        jLabel1.setText(" ");
        jLabel2.setText(" ");
        jLabel3.setText(" ");
        this.setBackground(Color.white);
        this.add(jPanel1, null);
        jPanel1.add(PB_FUNDS_PROGRESS,  BorderLayout.CENTER);
        jPanel1.add(jPanel2, BorderLayout.SOUTH);
        jPanel2.add(jLabel2, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 0, 5, 0), 0, 0));
        jPanel2.add(jLabel1, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(5, 150, 5, 5), 0, 0));
        jPanel2.add(jLabel3, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(6, 5, 4, 150), 0, 0));
        jPanel1.add(jPanel3, BorderLayout.NORTH);
        jPanel3.add(jLabel4, null);
        propertiesFile = this.getCodeBase().getFile().replaceAll("%20", " ")+"funds.properties";
        System.out.println("Properties file at " + propertiesFile);
        values = new Properties();
        try
          values.load(new FileInputStream(propertiesFile));
          fundsTarget = new Double( values.getProperty("TARGET", "100").toString() ).doubleValue();
          fundsRaised = new Double( values.getProperty("RAISED", "50").toString() ).doubleValue();
          System.out.println("target: " + fundsTarget + " raised: " + fundsRaised);
        catch (IOException ioe)
          System.err.println(ioe.getMessage());
        percentComplete = (fundsRaised/fundsTarget)*100;
        System.out.println(percentComplete);
      //Start the applet
      public void start()
        PB_FUNDS_PROGRESS.setMaximum(new Double(fundsTarget).intValue());
        PB_FUNDS_PROGRESS.setMinimum(0);
        repaint();
      //Stop the applet
      public void stop()
      public void paint(Graphics g)
        Graphics2D g2 = (Graphics2D)g;
        PB_FUNDS_PROGRESS.setValue(new Double(fundsRaised).intValue());
        String percent = Double.toString(percentComplete).substring(0, 4);
        jLabel4.setText("Currently At " + percent + "%");
        jLabel1.setText("100%");
        jLabel2.setText("50%");
        jLabel3.setText("0%");
      //Destroy the applet
      public void destroy()
      public String getAppletInfo()
        return "Funds progress applet by A really nice person";
    }

  • How to create X-Bar R graphs in numbers

    I cannot for the life of me figure out how to create X-Bar R graphs in numbers. It is beyond frustrating. Can anyone provide any insight? Thanks

    Hi Zac,
    I am not sure what you mean by an X-Bar graph. R has a box plot. Is that perhaps what you want?
    More information will lead to a solution .
    A screen shot of what you are trying to achieve will help.
    Regards,
    Ian.

  • How to Create Progress Bar in SAP

    Hi!
            I need to know how to create a progress bar in Sap Business One with VB.Net to Show  a Scheduling Status.

    Hi Parag,
    The code you need to create a progress bar is:
    Dim Progress as Integer
    Dim oProgressBar As SAPbouiCOM.ProgressBar
    oProgressBar = oApplication.StatusBar.CreateProgressBar("YOUR_TEXT", oRecordset.RecordCount, True)
    oProgressBar.Text = "YOUR_TEXT"
    and for each record:
    Progress += 1
    oProgressBar.Value = Progress
    When all is finished
    oProgressBar.Stop()
    Regards,
    vanesa

  • How to create stack bar chart on answers that shows % and counts?

    Hello guys
    I currently have a table that have several columns, each column represent one product name, and one column name "units" indicating how each product is sold...
    The requirement is to create a chart view with stack bar that shows the percentage of each product''s unit sales.
    Now we are discussing whether we should customize the table to consolidate all these product columns into one "product desc" column with all the product names as row in order to fulfill this requirement..
    PLease let me know whether this is needed or not... ALso, how would I be able to create stack bar charts that shows the total sales against each product sales in percentage and counts?
    Please let me know, I really appreciate it

    I tried to do this and was a bit successful. I used the paint catalog. Created a a request with 6 columns assuming units and dollars be stacked and Year ago units to be a line:
    Brand Units Dollars 0 Year_Ago_units 1
    Added a new request (Combined with similar request and selected paint subject area): Now in this request my columns are:
    Brand 0 0 Year_Ago_Dollars Year_Ago_units 2
    Assuming Year_Ago_Dollars be standard in your case.
    Created a chart view with brand and 1 on x axis and Units, Dollars, Year_Ago_Dollars on y axis and line as Year_Ago_units.
    Now able to see what I am expecting. May be you need to tweak a bit more according to your requirement.
    Let me know if this is of any help!
    Thanks.
    Edited by: Venkata on Sep 30, 2010 12:11 PM

  • Adobe Premier Pro CC - How to create animation bar & text shown 0:31 sec into attached link .. PLEASE HELP!

    Hello,
    I'm new to Premier Pro CC but I have managed to figured out the basics.
    The only thing I need to know now is how to create or if it is possible to create the bar that appears 0:31 seconds
    into the video, from the bottom of the screen with the text that fades in & out.
    Please see attached link for reference, note the bar is shown 0:31 seconds into the video.
    If anyone can help I would REALLY appreciate it
    Thank you!
    EMOTIONS ARE HIGH | HANNAH MAGGS - YouTube

    Can be done either way ( and others as well)
    From Photo Shop one would produce the Layer so one could have individual Control of the components. eg Opacity of the black rectangle and fades on the text.
    Same could be done with multiple titles created in PPPRO.
    Similar layers technique in After Effects composition then brought back into PPRO
    AEFX would be the most powerful for any composting and animation sophistication and control.

  • How to create menu bar in jsp page using struts-tles

    I have started working with struts-tiles. I want to create menu bar using struts-tiles. please guide me.

    I've done this very recently. In fact, tiles has very little to do with the menu itself.
    In your layout, define where you want the menu to go.
    <tiles:insert attribute="menu" />Now, in the actual file, create your menu structure. This part is up to you. I've used http://www.brainjar.com/ as a starting point for the client side actions.
    On my menu page, I call a method on a custom object that returns the menu bar object. Currently, I'm working on putting this menu into some sort of cached object so it doesn't have to rebuild it on every page request.
    Perhaps I've misread your post and you're looking to use tiles, in and of itself, to simulate menus? Otherwise, I hope my post helps.

  • How to create 3D bar?

    I want to draw 3D bar,it's top level is smaller than bottom level,and there is many levels in this bar, and there is effect graphics:
    http://www.soulbath.com/intro.html,I think I shoud use some math models to create 3D bar,anyone could tell me which math models could I can use? An example code is better.
    Thanks

    Hi Hubert,
    3D charts as you've described them are not, to the best of my knowledge, a supported feature in Numbers.
    Reference to 3D charts in the Numbers User Guide, a useful reference that you can download from the Numbers Help menu, indicates the 'third dimension' is a formatting feature, not one that can be used to carry information:
    3D charts can be any of the above types, except
    scatter, mixed, or 2-axis. Shown here is a 3D pie
    chart.
    The accompanying illustration is of a regular pie chart to which the visual illusion of thickness has been added.
    "Creating charts from numerical data" starts on page 129 of the User Guide.
    Regards,
    Barry

  • How to create an gray scale png image from intensitie​s values

    Hi,
      I would like create a gray scale png image from set of intensities values which is saved in excel sheet . Is IMAQ tool necessary for this vi?
    thanks & regards
    Manoj

    You posted in the feedback forum, which is not correct for your question. I am guessing you are talking about LabVIEW since you mention "vi".
    manojkp89 wrote:
    Is IMAQ tool necessary for this vi?
    The answer is NO. Plain LabVIEW is sufficient.
    LabVIEW Champion . Do more with less code and in less time .

  • How to create and use scales for DAQ-6014 in Labview?

    Hello,
    In my application, I use the DAQmx-driver to read the 16 analog input terminals of my DAQ-Card. I create a task with all the 16 channels and define for each channels the input domain (from 0 to 10V) and configure them as NRSE. Then I configure my task to measure the waveforms during 10s with 1000 Hz each time I need it.
    The waveform I measure are raw data and I need to scale them to get a mesurement with physical signification. This is actually done after each measure, which costs a lot of time (almost 5 seconds). Then I tried to use the DAQmx Create Scale.vi to create scales and attach them to the channels during my task creation. The creation of scale works fine and I can attach them to the channels. But when I do my measure, I get the raw data - unscaled.
    I have no idea, what I am doing wrong. I look for some examples on how to use the DAQmx Create Scale.vi but I can't find none.
    Does anybody already have some experiences with this VI?
    Cheers,
    Olivier

    Hi,
    May be I don't get exactly what you mean with:
    "Right click On DAQmx read and check the options with DAQmx AI read (it is a polymorphic VI) ."
    I set the DAQmx read polymorphic VI to the option "Analog 1D Wfm NChan NSamp".
    Anyway, I send you 3 VI:
    - NIDAQ_6014_CreateScales.vi: where I create my scales
    - NIDAQ_6014_StartAIN_Scaled.vi: where I create my task and use the scales
    - Measure.WaveFormReader.vi: where I read my data
    May can you see what is wrong.
    Cheers.
    Attachments:
    Measure.WaveFormReader.vi ‏39 KB
    NIDAQ_6014_CreateScales.vi ‏22 KB
    NIDAQ_6014_StartAIN_Scaled.vi ‏29 KB

  • How to create tool bars in forms in Portals

    Hi,
    I am new to Ep.I have created forms and in that forms i am supposed to add tool bars like standard tool bar,formatting tool bar etc.(Like how we have in the forum header itself like bold,italic,font size etc..)
    Please help me out.
    Regards
    Ramalakshmi.S

    Thanks for your reply, But i cannot able to set it in plugin menu.
    Please guide me
    Thanks,
    vijay

  • How to create drilldown bar graph using clicklistener

    Hi,
    I have a view object that sums some data and tags each sum accordingly - eg sum salary grouped by department name.
    I display this using a horizontal bar graph.
    I want to now be able to click on a bar and then have the details displayed in a table. I am led to believe from chapter 24 of the manual it is possible to do using no java coding (ie not having to create a bean etc).
    You can use the row selection listener of a graph (which serves as a master view) to enable clicks on a bar, slice, or other graph data element to update the data in another ADF component (which serves as a detail view). For example, a click on a bar that represents sales for a given product in a graph might cause the display of the detailed sales data related to the product in a pivot table.
    The following requirements must be met to achieve this master-detail processing declaratively:
    1. You must use the same tree data control to provide data for both views as follows:
    1. Bind the graph as a row set to one level in the data control.
    HOW ?
    2. Bind the other ADF view (such as a table or pivot table) to a lower level in the tree data control.
    I don't have a nested iterator - is it saying to use a master-detail scenario like dept/emp ?
    2.
    Set a value for the clickListener attribute of the graph tag in the Behavior page of the Property Inspector and use the processClick method that is already part of the graph binding.
    For example, if the value attribute of the graph tag is value="#{bindings.myGraph.graphModel}", then the clickListener attribute should be clickListener="#{bindings.myGraph.graphModel.processClick}".
    3. Ensure that the partialTriggers attribute on the parent tag for the detail component is set correctly. It should be set to the ID of the graph component.
    You do not have to write Java code for handling clicks on data elements in the graph. The processClick event on the graph binding recognizes click events on data component in a graph and performs the necessary processing.
    Are they suggesting all you need to do is ensure you have proper master-detail tables set up and it will automatically work ?
    cheers
    Edited by: Dom Klein on May 27, 2009 8:06 PM

    Hi Frank,
    thanks for replying. I opened a TAR about this as I cannot produce a drilldown table. I created a VO with my summary - eg
    select decode(manager_id, 100, 'fred',
    123, 'bill', 120, 'kate', 121, 'julia', 147, 'ken', 108, 'james', 148, 'liz',
    149, 'phil', 205, 'jack', 102, 'eric', 'dominic') manager_name, sum(salary) as salaries
    from employees
    GROUP BY
    decode(manager_id, 100, 'fred',
    123, 'bill', 120, 'kate', 121, 'julia', 147, 'ken', 108, 'james', 148, 'liz',
    149, 'phil', 205, 'jack', 102, 'eric', 'dominic')
    Then I created a detail view object (from HR.employees) and added a calculated column :
    SELECT Employees.EMPLOYEE_ID,
    Employees.FIRST_NAME,
    Employees.LAST_NAME,
    Employees.EMAIL,
    Employees.PHONE_NUMBER,
    Employees.HIRE_DATE,
    Employees.JOB_ID,
    Employees.SALARY,
    Employees.COMMISSION_PCT,
    Employees.MANAGER_ID,
    Employees.DEPARTMENT_ID,
    decode(manager_id, 100, 'fred',
    123, 'bill', 120, 'kate', 121, 'julia', 147, 'ken', 108, 'james', 148, 'liz',
    149, 'phil', 205, 'jack', 102, 'eric', 'dominic') AS manager_name
    FROM EMPLOYEES Employees
    I create a new viewlink which links on manager_name. When I run the bc4j appmodule I can see the correct master-detail relationship. IF I drag a master-detail table onto the page it works fine.
    Now if I create a graph using the master and then create a table using the detail I can't get it to use this relationship even after setting the processClick() and the id for the graph set on the partial trigger of the table. Any ideas ?
    cheers

  • How to create stacked bar and standard bar on same graph

    Can OBIEE can both Stacked and Standard bar graph on the same analysis by using Line-Bar graph type? For example, I have four measure: Target revenue, Revenue, Billed Quantity, and Target Quantity. I would like to create an analysis that includes all these four measure. On the same graph, I would like to use Stacked subtype for Target revenue and Revenue, use standard subtype for Billed quantity and use line for Target quantity. I tried, but could not find any way to put stacked subtype and standard subtype on the same graph. Do you know if this feature is available from OBIEE?

    I tried to do this and was a bit successful. I used the paint catalog. Created a a request with 6 columns assuming units and dollars be stacked and Year ago units to be a line:
    Brand Units Dollars 0 Year_Ago_units 1
    Added a new request (Combined with similar request and selected paint subject area): Now in this request my columns are:
    Brand 0 0 Year_Ago_Dollars Year_Ago_units 2
    Assuming Year_Ago_Dollars be standard in your case.
    Created a chart view with brand and 1 on x axis and Units, Dollars, Year_Ago_Dollars on y axis and line as Year_Ago_units.
    Now able to see what I am expecting. May be you need to tweak a bit more according to your requirement.
    Let me know if this is of any help!
    Thanks.
    Edited by: Venkata on Sep 30, 2010 12:11 PM

Maybe you are looking for

  • Itunes 12.1.1.4 crashes in windows 7 since itunes update.

    Since the latest iTunes for PC update 12.1.1.4, my iTunes is broken (again) - seems to happen every few updates. Windows 7 (64 bit) I may have a rather large library which might not help (aprox.. 2200 albums).  The trouble shooting options posted to

  • Why are photos received as attachments not coming in correctly?

    I am sending photos from my MacBook Pro using Lightroom 4 and a gmail account. I'm sending them to an aol account and trying to open them on my new iPad (3). My sent mail shows that 3 different photos were sent, but my received mail shows the first p

  • Table deletion in ABAP Query Report

    Hi ,      Is it possible to delete a Table from a infoset after generating it ?? i.e i have used five vendor tables and generated a infoset. now i feel that i can get the expected report with 4 tables itself , so fi i wanna delete the 5th table what

  • BOD on WinXP SP2 after installing iTunes7.2

    Hello out there, after I upgraded to iTunes 7.2, I received a Blue Screen of Death on my WinXP SP2 System. Before upgrading everything went fine, I almost had forgotten how a BOD looked alike. The worst has been: I even couldn't start WinXP in protec

  • Errors in Virtual interface after editing application service

    Hi all, I have an external service in CAF which connects to the backend to an RFC. This external service is being used by an application service. I recently added an extra import parameter to the RFC in the backend. So in CAF I deleted my old externa