How to dynamic to add +/- 10 to the y axis based on returned data value max/min

Hi,
We have two ways to extract/present the data/chart. One is using SQL Reporting and one is using EXCEL. However, we hardcoded the max/min value on y asix to various data set so the chart looks good. However, SQL reporting seems using auto on the y asix so
when some values are 0, it just overlapped with the x-asix as dipicture below (left hand side is SQL reporting and right hand size is EXCEL) 
Please advise how to add an +/- interval on the y asix based on the max/min returned data value (e.g if the max returned value is 100 and min returned value is 0, the max value on y asix would be 110 and min value of y asix would be -10)
Thanks

Hi kkcci88888,
According to your description, there is a chart in the report, you want to set vertical axis range and interval dynamically. For example, if the max value of the column is 100 and min value is 0, the max value on y axis would be 110 and min value of y axis
would be -10. If that is the case, please refer to the following steps:
  1. In design surface, right-click Y axis and open Vertical Axis Properties dialog box.
  2. In Axis Options pane, click (fx) button next to Minimum and type the expression like below:
=Min(Fields!num.Value)- 10
  3. Click (fx) button next to Maximum and type the expression like below:
=Max(Fields!num.Value)+ 10
  4. Set Interval to 10, Interval type to Number.
The following screenshots are for your reference:
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu

Similar Messages

  • I made a video in imovie and saved it, now i want to carry on making it from where i left but every time i try to add an image onto the end it just goes tot he wrong part of the movie, how do i just add it onto the end?

    I made a video in imovie and saved it, now i want to carry on making it from where i left but every time i try to add an image onto the end it just goes tot he wrong part of the movie, how do i just add it onto the end?

    Have you seen my User Tipp here
    "Movie Magic" with Stills and Dissolve
    When you 'prep' your stills in any 'picture app', you can do a lot of marvel by simply applying dissolves.
    In your case, I would create a white document (in Pixelmator, Keynote, Photshop, online at pixlr.com, whatever ...) and another with your logo (and further more ones with additional logos). Drag the jpgs into your iMovie Project and apply dissolves  - tadahh! - logos appear on white.

  • How do I programmatically add groups to the eQs?

    How do I programmatically add groups to the ‘Additional Administrators’ collection on an eQuestionnaire?

    Something like this should do it, where request is the EQRequestDO from the Questionnaire:
    IGroup yourGroupDO = (IGroup)AppPlatformHelper.DataManager.objectFromID(<theGroupPKID>);
    if (!request.AddlAdminGroups.Contains(yourGroupDO))
    request.AddlAdminGroups.Add(yourGroupDO);

  • How Long will it take to reset the 16gb ipad with clear all data in it.

    How Long will it take to reset the 16gb ipad with clear all data in it.

    I have the same problem. I try to reset my ipad / iphone 3g using the reset and delete all content on general. It is almost 2 days now but my ipad / iphone 3g are not yet finish. Only apple logo / looping circle appears on the screen. What will i do? thanks... iOS 5.0.1

  • My Iphone was sync with Itunes on a computer then this computer broke down and i purchased another one. I was able to extract all the data from the old one. now how can i sync my phone with the new tunes without loosing any data?

    My Iphone was sync with Itunes on a computer then this computer broke down and i purchased another one. I was able to extract all the data from the old one. now how can i sync my phone with the new tunes without loosing any data?

    Yes, windows to Mac too.
    iTunes: How to move [or copy] your music [library] to a new computer [or another drive] - http://support.apple.com/kb/HT4527
    Quick answer if you use iTunes' default preferences settings:  Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Open iTunes and immediately hold down the Option (alt) key (shift on Windows), then guide it to the new location of the library.
    Windows users see tip at: https://discussions.apple.com/message/18879381

  • Can you dynamically change an LOV on the parameter form based on other params?

    Can you dynamically change an LOV on the parameter form based on other parameters? For example, based on a entered purchase order number, create an LOV of the purchase order lines that belong to the entered PO #.

    Hi
    Accouding to my knoledge you can't do it.
    If you want to build lov for that particular
    value, you can do it in Forms.
    Vijay

  • How do I install InDesign CC when the app overview says "up to date" even though I haven´t installed anything yet?

    How do I install InDesign CC when the app overview says "up to date" even though I haven´t installed anything yet?

    It sounds like maybe you installed a trial at some point in the past and trashed the application folder rather than doing an uninstall?
    Have you tried the cleaner tool:
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • How to dynamically duplicate an item on the stage

    Hello,
    I have a box (lets call it 'xBox') on the stage that contains
    a couple comboboxes and buttons.
    One of the buttons (labelled 'add new search feature') when
    clicked will duplicate the whole box 'xbox' and give it a new
    unique name that can be referenced. So, now there would be two
    boxes on the stage that look exactly the same.
    You can click the 'add new search feature' button repeatedly
    and each time a new 'xbox' will appear at the bottom below the
    previously created 'xbox's....
    I have played with states some, but am unsure how that would
    apply to an infinite amount of new 'xbox's being created.
    Is this possible? Any help is greatly appreciated.
    here is the code:
    <mx:Box direction="horizontal" borderStyle="solid"
    paddingTop="10" paddingBottom="10" paddingLeft="10"
    paddingRight="10">
    <mx:ComboBox id="xField" width="100%">
    <!-- An inline data provider -->
    <mx:Array>
    <mx:Object data="0" label="Yards gained" />
    <mx:Object data="1" label="Shotgun" />
    <mx:Object data="2" label="TD" />
    <mx:Object data="3" label="Down" />
    <mx:Object data="4" label="Leading" />
    <mx:Object data="5" label="Quarter" />
    <mx:Object data="6" label="Turf/grass" />
    <mx:Object data="7" label="Stadium type" />
    <mx:Object data="8" label="Home" />
    <mx:Object data="9" label="Opponent" />
    <mx:Object data="10" label="Month" />
    <mx:Object data="11" label="Season" />
    </mx:Array>
    </mx:ComboBox>
    <mx:ComboBox id="argument" width="100%">
    <!-- An inline data provider -->
    <mx:Array>
    <mx:Object data="0" label="Equals" />
    <mx:Object data="1" label="is greater" />
    <mx:Object data="2" label="is less" />
    <mx:Object data="3" label="is not" />
    </mx:Array>
    </mx:ComboBox>
    <mx:TextInput id="enter_data"/>
    <mx:Button label="Search"/>
    <mx:Button label="Add new Search Feature"/>
    </mx:Box>

    Okay, what you want to do is, make a custom component out of
    the xBox. Then in your main application you wan to make an array of
    objects. Every time the button (to add xBoxes) is clicked add one
    to the array, then also add it to the main app's list of children.
    You want to add it to the array so that you can still reference it.
    Try something like this:
    import xBox;
    import mx.collections.ArrayCollection;
    private var xBoxArray : ArrayCollection = new
    ArrayCollection();
    private var location : int = 1;
    private function buttonClickHandler() : void
    var temp : xBox = new xBox ();
    xBoxArray.addItemAt ( location, temp );
    whereYouWantTheXBoxesToGo.addChildAt ( location,
    xBoxArray.getItemAt ( location ) );
    <mx:Button click="buttonClickHandler()"
    label="More xBoxes" id="360" />
    <mx:Box id="whereYouWantTheXBoxesToGo"/>
    <!--
    -->
    This is just a rough guide of what to try. But something like
    this should work.

  • How to dynamically populate a listbox with the values in the database

    Hi,
    How do dynamically populate the list box with the values in the oracle database. I want to load the list box at run time.Plz anybody help me out to find a solution for this problem.
    Thanks in advance...
    Regards,
    Shiva.

    u can wite code like this..on jsp page
    <%
    ResultSet rs = stmt.executeQuery("select vender_name from vendors");
    %>
    <select name = "vendorlist">
    <%
    while(rs.next()){
    String vname = rs.getString(1);
    %>
    <option value="<%=vname%>"><%=vname%></option%>
    <%
    rs.close();
    %>

  • How to dynamic construct checkbox  and get the selected status

    Hello. I'm new to the JSF development. I need to dynamically generate the table data based on the selection of database table name . The first column is the checkbox which will allow user to select one or more rows for modification, deletion, etc. Here is the partial code that i wrote to add checkbox to the first column of the table in the backing bean. I would like to generate the same checkbox binding as we did from Design Palette.
    <webuijsf:checkbox binding="#{UpdateTable.checkbox}" id="checkbox" selected="#{UpdateTable.selectedRow}"/>
    Checkbox checkbox = new Checkbox();
    checkbox.setValueBinding("name", getApplication().createValueBinding("#{currentRow.value['ROWID_VALUE']}"));
    checkbox.setValueBinding("selected", getApplication().createValueBinding("#{UpdateTable.selectedRow}"));
    tableColumn1.getChildren().add(checkbox);
    Once user checked the box, the backing bean should be able to catch the event.
    * Records whether or not the current row should be marked as selected,
    * based on the state of the checkbox.
    public void setSelectedRow(boolean b) {
    System.out.print("click");
    TableRowDataProvider rowdp = (TableRowDataProvider) getBean("currentRow");
    RowKey rowKey = rowdp.getTableRow();
    if (checkbox.isChecked()) {
    selectedRows.add(rowKey);
    } else {
    selectedRows.remove(rowKey);
    But it's not working as I thought. I'm not sure if I can binding selected with backing bean attribute like I did above. Please help!!!
    Edited by: askMore on Aug 6, 2009 12:25 PM

    dt cust min max
    1   a 100 200
    1   b 300 400
    1   c 500 600
    2   a 200 300
    2   b 400 500
    2   c 600 700
    CREATE OR REPLACE FUNCTION scott.rowtocol(p_slct IN VARCHAR2,p_dlmtr IN VARCHAR2 DEFAULT
    RETURN VARCHAR2 AUTHID CURRENT_USER
    AS
      TYPE c_refcur IS REF CURSOR;
      lc_str VARCHAR2 (4000);
      lc_colval VARCHAR2 (4000);
      lc_colval2 VARCHAR2 (4000);
      c_dummy c_refcur;
    BEGIN
      OPEN c_dummy FOR p_slct;
      LOOP
        FETCH c_dummy
        INTO lc_colval,lc_colval2;
        EXIT WHEN c_dummy%NOTFOUND;
        lc_str := lc_str || p_dlmtr || lc_colval || '=' || lc_colval2;
      END LOOP;
      CLOSE c_dummy;
      RETURN SUBSTR (lc_str, 2);
    END;
    SQL> SELECT DISTINCT a.dt,
                    rowtocol
                    ( 'SELECT cust , min  FROM tst WHERE dt = '
                      || ''''
                      || a.dt
                      || ''''
                    ) AS min ,
                   rowtocol
                    ( 'SELECT cust , max  FROM tst WHERE dt = '
                      || ''''
                      || a.dt
                      || ''''
                    ) AS max
    FROM tst a;
      2    3    4    5    6    7    8    9   10   11   12   13   14 
         DT MIN                         MAX
          1 a=100,b=300,c=500               a=200,b=400,c=600
          2 a=200,b=400,c=600               a=300,b=500,c=700

  • How do I create a chart of the number of entries for each date?

    I have a table which contains bookings for an event I am running, with one row for each booking and a column for the date of the booking.  I am trying to create a line chart which shows me the progress of the number of bookings over time.  So the X axis would have one label for each day of the month - even if there was no booking on that day, and the Y axis would have the number of bookings, i.e. the number of rows, matching the date.
    I have tried a few things without success, so I wonder if someone could help with this?
    Thanks,
    Nick

    The top table is titled "Bookings" and the bottom table summariese the bookings by counting how many bookings fall on each day:
    The bottom table:
    B2=COUNTIF(Bookings :: $B, "="&A2)
    select B2 and fill down as needed

  • How do you choose a particular Channel from an Advise.vi to perform an Array Max & Min.vi on that particular channel only?

    Reading all the channels for a FP-AI-100 through an Advise.vi but I need to read the Max & Min from channels 0 & 1. How is this done?
    Thanks

    The easiest way is to use two copies of the Index Array function. You would wire the output from FP Advise.vi to the n-dimension array input of both Index Array functions. For channel 0, you would use the an index value of 0 (on the first Index Array) and for channel 1, you would use an index value of 1 (on the second Index Array). Alternatively, the Index Array function is what is called a growable array function, you can drag the bottom of the node downwards, adding outputs. In this case, you can set it for two outputs and only use one copy of the Index Array.
    Considering that you are relatively new to FieldPoint and LabVIEW, I recommend that you consider using the FP Read.vi instead of the FP Advise.vi. The FP Advise.vi is a more advanced version of the
    FP Read.vi and has more "gotcha's" in its use. To save yourself some debugging headaches it may be easier to use the FP Read.vi. The single biggest difference in coding between the two is that an FP Advise.vi in a loop, automatically times the loop, whereas an FP Read.vi in a loop requires a timer such as Wait Until Next ms Multiple.vi.
    Regards,
    Aaron

  • How to delete or add parameters in the list.

    hi,
    can someone please tell me how to delete/ add parameters (the parameter list that is displayed in the Address Node).
    actually in my application i have to similar scripts. so i if can copy the whole script and make some changes in the list of parameters, i will be able to save a lot of time.
    can somebody please help ....
    thanks in advance

    I am not sure if you already checked this thread out or not, but from your question, it looks like you are having the same problem as in this.
    http://qazone.empirix.com/thread.jspa?messageID=668&#668

  • How to remove an add-on when the option isn't there?

    I have 2 add-ons on for Firefox that I never installed.
    One is TopArcadeHits. The second is SweetPacks.
    The only option I can select it to enable/disable. I have disabled them both, but how can I delete them permanently?
    I wanted to test another browser today and when using IE the home page that came up was sweetpacks. Does this mean I have a virus?

    Extensions that do not have a "Remove" button are installed by other software and are not under control of the Firefox extension manager.<br />
    Such globally installed extensions are usually found via a registry scan or are installed in a location that Firefox scans for installed extensions.
    * https://developer.mozilla.org/en/Adding_Extensions_using_the_Windows_Registry
    Extensions installed this way need to be removed via the settings (options/preferences) of the program that has added this extension or you need to uninstall this program via the Control Panel.<br />
    In Firefox you an only disable such an extension.<br />
    Otherwise you would have to remove the registry key that makes Firefox install this extension.<br />
    Be careful with editing the registry as there is NO UNDO possible: all changes are applied immediately.

  • How do you create/add websites to the 'new tab' page?

    I followed the help link you guys have already created. It instructs to go the 'show all bookmarks' window and drag an already created bookmark to a vacant spot on the 'new tab' page. This doesn't work for my PC as after i drag the desired bookmark, it just opens that page on the new tab page. Please help out with how to add new tiles to the blank new tab page.

    Hi there,
    You want to save websites in the Firefox tab page tiles,this is how I do it.
    You have to have the bookmarks bar enabled if it's not showing in your
    Firefox.Right click on an empty space to the top of Firefox & click
    Bookmarks Toolbar,It should show under the address bar & search bar
    like mine.
    Go to what sites you want saved in the Firefox tab page,drag & drop the
    site in the Bookmarks bar.Open the Firefox tab page,now drag & drop what you saved in the Bookmarks bar onto one of the tiles,It should work.
    You can delete any sites saved in the Bookmarks bar,right click on it & click delete.
    Sites saved in the tab page may need to be pinned if you clear cache,history & cookies.

Maybe you are looking for

  • FAQ: UI - How can I change the color theme, size of the text, or turn off the application frame?

    CHANGING THE INTERFACE COLOR SCHEME: The Photoshop CS6 default interface is dark, but if you prefer the lighter interface you are used to from earlier versions, you can change it back in the appearance area. There are 4 default color themes. Mac     

  • How to remove the deletion on item level in PO

    Hi Experts, How can I remove the deletion on item in a PO ? Do I need to fill the item again lower in the document? Thanks for your help.

  • Shifting from the second page printed

    hi, I create a report with reports10g . the size of the output paper is 15.2 * 21 cm. the papers used are continuous paper with matrix printer . I have a problem shifting from the second page printed. how to solve this problem? thank you in advance

  • Ios7 Bluetooth issues with Nike Fuelband

    I'm an avid user of Nike's fuelband and I'm having connecting to my iPhone 5 running ios via Bluetooth . I can connect the devices but after a few minutes the connection is lost . This is driving me crazy. Before ios 7, I've never had this issue!!  I

  • Camera connection...need help!

    my computer won't recognize my camera when it is connected. i updated all my software...even the software i have for my camera. it still wont work, and its a brand new camera. how can i fix this problem??? Message was edited by: lovinlucy