Can any1 provide me the script file which will genrate the X-axis label and Y-axis label ?

I have two channels and I want to create a report with 2D axis system. I do not want to drag and drop those two channels into 2D axis system. Can any1 provide me the script by which I can automate the script in such a manner that while running the script only I will get label of X-axis and Y-axis.
I tried with enabling the script but it was not able to generate X-axis label (Ex.-Time) and Y-axis label (Ex. - Speed)?
Solved!
Go to Solution.

Hi Etn,
The best way to create a script which manipulates an existing layout via script is using the Ctrl-A function within the parameterization dialogs.
The following example creates a 2D axis system with one curve and sets the axis labelling explicitly:
Call PicLoad("Template")                    'New layout
Call GraphObjNew("2D-Axis","New_2DAxis1")   'Creates a new 2D axis system
Call GraphObjOpen("New_2DAxis1")            'Opens the axis object
  D2AxisBackColor  ="grey"                  'Sets the background color
  D2AxisTop        =10                      'Sets the position
  D2AxisBottom     =10
  D2AxisLeft       =10
  D2AxisRight      =10
  Call  GraphObjNew("2D-Curve","New_Curve") 'Creates a new curve
  Call GraphObjOpen("New_Curve")            'Opens the curve object
    D2CChnXName      =ChnNameExt(1)         'Defines the x-channel
    D2CChnYName      =ChnNameExt(2)         'Defines the y-channel
    D2CurveColor     ="red"                 'Defines the curve color
  Call GraphObjClose("New_Curve")           'Closes the curve object
  Call GraphObjOpen("2DXAxis1_1")
    D2AxisXTxt       = "@@ChnName(CurrChnNo)@@ [@@ChnDim(CurrChnNo)@@] (My Speed)" ' Defines the x-label
  Call GraphObjClose("2DXAxis1_1")
  Call GraphObjOpen("2DYAxis1_1")
    D2AxisYTxt       = "@@ChnName(CurrChnNo)@@ [@@ChnDim(CurrChnNo)@@] (My Time)" ' Defines the y-label
  Call GraphObjClose("2DYAxis1_1")
Call GraphObjClose("New_2DAxis1")           'Closes the axis object
Call PicUpdate()                            'Updates the report
Christian

Similar Messages

  • Where to embed the Sound File, which will be accessible everywhere?

    Hello Again
    Im here with a stupid question.
    I have an application which has a component.
    Both have Buttons.
    Where should i embed the sound file which will be accessible
    in both places?
    second question is about embeding sound files in css. I know
    how to embed in <mx:script> tag, but couldnt find an example
    about css!
    Thanks in advance.

    Well best practice as to coding may influenced by the
    architecture in this case.
    It may be expedient if this sound file is a one time use and
    will only be in a component, to put it there and leave it.
    If it may be used by multiple components, then you could
    consider passing it as a var to each. However your component then
    is limited because it cannot be contained in a new component
    without the new component also exposing this variable to get the
    data down to its children. Thus the problem with passing data down
    a composition pattern. Add to that the need to get another variable
    to a component that is now deep in a composition pattern.
    So as I had mentioned a model containing this data might be a
    best practice in a MVC architecture.
    So I would say more information would be required for me to
    make a judgment as to best practice.

  • Can I mount my external hard drive which will be compatible with both Mac and Windows?

    Hello,
    Can I mount my external hard drive which will be compatible with both Mac and Windows? If yes, then please let me know, because I intend to use my hard drive for both Windows and Mac, without losing any file.

    Yes. By default, Mac OS X and Windows can read and write drives which are formatted as FAT32 or exFAT; NTFS drives aren't writable from Mac OS X without additional software.
    (124553)

  • .. If the app is – in or out of background - (if in background NOT the first app) and the  device locked – when you get a push message and DO NOT response straight away. Later  unlock, click the app icon (which will have a badge on it) and it fails.

    .. If the app is – in or out of background - (if in background NOT the first app) and the  device locked – when you get a push message and DO NOT response straight away. let it fade off then, Later unlock, click the app icon (which will have a badge on it) and it fails to pop up my internal alert box and my notification message is gone(cannot get access to it in code).. other times it works . Including if you tap the messaeg from app centre. (this is all on a iPod 5.1.1).
    Here is someone else with same problem http://stackoverflow.com/questions/7080266/receive-remote-notification-when-ios- device-is-locked-and-im-not-responding-imm

    Tell Apple
    Apple - iTunes - Feedback

  • I am Facing Problem with the WSDl File which is in the local SAP Server

    Hi All,
               Can you please give me solution of my Problem. Here i am working with the WSDl which is create from the SAP Local System. Now i want to take the wsdl file URL from the local server to my system.Here i Struck. can you please help me .
    thanks
    Siva...

    Here i Followed  Url &sap-user=XXX&sap-password=YYY to the WSDL-URL with XXX and YYY being your username and password and you will be authenticated.
    Later i Struck. Actual my requirement is I have two views i want to take a value from the first view and then return value displayed in the second view. All input/output parameters are the taken from the WSDL file. Can you please Help me.

  • Have another laptop and cannot connect to internet, do you have a disc I can order like aol use to have which will allow the laptop to conntect to internet?

    I removed firefox from the laptop so that I could download it again because the laptop was freezing while online. I have done this in the past and it worked. I used an old aol sign up disk to get back online and redownload firefox. this time, I could not get back online to download firefox. so, is there a way to get back online so
    that I can down load firefox?

    Hi is this Wifi/Airport?
    If so...
    Instead of joining it from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.

  • TS1702 Is there a way to lock out or restore original settings on an iPad used in a school lab setting. We need something like the program cornerstone, which will allow the iPad to revert back to its original setup.

    We setup iPads for a mobile lab and students change the settings or set up a pass code on the iPad. Is there a way to lock the settings folder or an app to revert any changes back to the original set up like the program cornerstone (for a pc)?

    you might need to post this question on iPad in the Enterprice community
    check these posts, it might help:
    https://discussions.apple.com/message/18419745#18419745
    https://discussions.apple.com/message/11401701#11401701

  • How to "commit" only certain lines of code in the script file?

    Hi there,
    Is there a way to execute only certain lines of code in the script file without executing all the code in it. Wihtout using the comment syntax.
    e.g: there are lines to create views and in the next set of line there are lines to create procedures. I only want to execute the lines that create views.

    another workaround is to create a procedure that accepts parameters. such that the parameter will be the basis for what objects in your conditions that it should met to perform the operations that conform with your business rules. an example is given below.
      create or replace procedure create_object(pObjectType varchar2) as
      begin
        if pObjectType = 'VIEW' then
        elsif pObjectType = 'PROCEDURE' then
        else
        end if;
      end;

  • I am after a Video Converter which will convert the likes of a avi format to then play on a Humax FOXSAT-HDR PVR, any ideas anyone please?

    I am after a Video Converterfrom the App Store which will convert the likes of a avi format to then play on a Humax FOXSAT-HDR PVR, any ideas anyone please?

    Without knowing the exact details of the AVI files in question, or the formats and codecs supported by the Humax, I can only suggest Handbrake.  Simple and powerful.  Produces excellent results.
    S.

  • The log file which can be used to track the HTML preview of HFR Reports

    Hi,
    Could you please let me know the log file which can be used to track the HTML preview of HFR Reports?
    Thanks,
    Aparna

    You could check the FinancialReporting0.log and FRLogging.log .You could refer the same in the
    " http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_troubleshooting_11121.pdf" page 47.

  • Is it legal to convert the music files, which I have purchased in recent months, to the mp3 format and burn them on to a CD so that they can be played on non-apple music devices that do not support the M4A format?

    Is  it legal to convert the music files, which I have purchased in recent  months, to the mp3 format and burn them on to a CD so that they can be  played on non-apple music devices that do not support the M4A format?

    Hi,
    This is what apple says about converting files http://support.apple.com/kb/PH12167
    Jim

  • Is it legal to convert the music files, which I have purchased in recent months, to the mp3 format and burn them on to a CD so that they can be played in non-apple music devices that dont support the M4A format?

    Is it legal to convert the music files, which I have purchased in recent months, to the mp3 format and burn them on to a CD so that they can be played in non-apple music devices that dont support the M4A format?

    Yes, of course it is legal.
    To convert the format, follow one of these documents:
    iTunes 11 for Windows: Save a copy of a song in a new file format
    iTunes 11 for Mac: Save a copy of a song in a new file format
    Also note that you have the option of buying your files in MP3 format in the first place, from Amazon MP3 or other online retailers.  MP3 files will work in iTunes as well as virtually every other player, program, and device.

  • How can I find out who created or which id created the Essbase app. Is there any file where can i go and check to see?

    Hi All,       
                   Do you guys know how can I find out who created or which id created the Essbase app. Is there any file where can i go and check to see?
    I am on UNIX and 11.1.2.2
    Thanks all.

    Don't think that information is kept anywhere.
    This is how the log will look like during app and db creation
    [Fri Aug 02 13:35:55 2013]Local/ESSBASE0///9036/Info(1051001)
    Received client request: Get Extended Application Info (from user [celvin@Native Directory])
    [Fri Aug 02 13:36:04 2013]Local/ESSBASE0///8072/Info(1042059)
    Connected from [fe80::a531:1592:875b:3873]
    [Fri Aug 02 13:36:04 2013]Local/ESSBASE0///8072/Info(1051001)
    Received client request: MaxL: Execute (from user [celvin@Native Directory])
    [Fri Aug 02 13:36:06 2013]Local/ESSBASE0///5432/Info(1042059)
    Connected from [fe80::a531:1592:875b:3873]
    [Fri Aug 02 13:36:15 2013]Local/ESSBASE0///8072/Info(1051061)
    Application test loaded - connection established
    [Fri Aug 02 13:36:15 2013]Local/ESSBASE0///8072/Info(1054027)
    Application [test] started with process id [4324]
    [Fri Aug 02 13:36:15 2013]Local/ESSBASE0///8072/Info(1056010)
    Application test created
    [Fri Aug 02 13:37:22 2013]Local/ESSBASE0///6972/Info(1051001)
    Received client request: MaxL: Define (from user [celvin@Native Directory])
    [Fri Aug 02 13:37:22 2013]Local/ESSBASE0///6972/Info(1051001)
    Received client request: MaxL: Fetch (from user [celvin@Native Directory])
    [Fri Aug 02 13:37:28 2013]Local/ESSBASE0///4520/Info(1042059)
    Connected from [fe80::a531:1592:875b:3873]
    [Fri Aug 02 13:37:28 2013]Local/ESSBASE0///4520/Info(1051001)
    Received client request: MaxL: Execute (from user [celvin@Native Directory])
    [Fri Aug 02 13:37:28 2013]Local/ESSBASE0///4520/Info(1054014)
    Database test loaded
    [Fri Aug 02 13:37:28 2013]Local/ESSBASE0///4520/Info(1056020)
    Database test.test created
    Regards
    Celvin
    http://www.orahyplabs.com

  • How can I run a SQL script file...

    How can I run a SQL script file from a location on my computer without providing the whole path?
    Is there some way I can set a "Working folder" in SQL Plus??
    Thanks!
    Tom

    You can create an environment variable called "SQLPATH" which is a list of directories that SQL*Plus will search for your .SQL
    scripts.
    I would like to use another directory than the oracle/bin...
    How can I do this ??
    Hello,
    U can do this by this way:
    Save odm_script.sql file to the default Oracle
    directory i.e. Oracle-Home/bin and Run following command
    through SQL Plus.
    SQL>@Script_Name
    I hope this will resolve ur problem.
    Regards,
    Omer Saeed Khan.

  • How can I process an xml/xsl file pair that require the Internet Explorer dom?

    My personal navigation device (GPS) generates xml files that contain a record of where I have been, together with when I was there, how fast I was driving at the time, etc. taken at approx. 5 second intervals. This xml file has an xml-stylesheet with type="text/xsl" but that stylesheet is written to the Internet Explorer dom standard. The stylesheet interfaces with google maps to display a map that shows my path and it also displays tables of data including distances that are computed from latitude/longitude pairs. I can supply a small sample xml file and the xsl file as well if they are needed to diagnose my problem. I cannot find any browser other than Internet Explorer that handles these files satisfactorily. I prefer to process them from a Linux environment but with the Internet Explorer requirement I cannot do so. The browsers that I have tried and that have failed are Firefox, Opera, Konqueror, Chrome, Epiphany, Midori, Arora, and Links.
    One line in the xls file in particular gives grief in the browsers like Firefox that at least attempt to do more than display the raw xml file:
    xmlns:cymath="urn:smiletime-cybarber-net:math"
    A comment in the xls file says this about the problem:
    "Tested and currently only compatible with Internet Explorer version 6 or version 7 (as this script includes JScript functions called by XSL, msxsl:script extension is required; also, the produced XHTML document embeds javascript functions exploiting the IE DOM).
    "In order to provide compatibility with Firefox, other than checking the compatibility of the IE DOM, the cymath:distCosineLaw function still needs to be ported."

    You may get an answer, but it is not really the sort of subject covered by this forum, I suggest you try [http://forums.mozillazine.org/viewforum.php?f=49 Mozilazine] and if you solve the problem post back again.

Maybe you are looking for

  • How do i create a new table from a *.sql file in JSP

    <html> <%@ page language="java" import="java.sql.*" %> <%@ page errorPage="ExceptionHandler.jsp" %> <% Class.forName("com.mysql.jdbc.Driver").newInstance(); String dbUrl = "jdbc:mysql://localhost/test?user=root"; Connection conn = DriverManager.getCo

  • Unable to get correct ship Date-MRP ATP API Call

    Hi, We are facing issue in getting correct ship date by calling MSC_ATP_GLOBAL.Extend_ATP from OM for ATO Model. However, correct ship date returned by availibility check from OM. Currently, we are checking only capacity constrain by enabling CTP for

  • Decimation( Does decimation.vi have a low pass filter?)

    Hello,     I have a question regarding decimation function (decimation(continuous).vi) in labview. Does it have a low pass filter to take care of aliasing, if yes is it a zero phase filter. Basically I am looking for some thing which can decimate 20K

  • How to add MDM Repository in DS?

    Hi All, We have MDM 7.1 and would like to integrate with BO Data Services XI. Can any one please provide some information to solve my problem to create MDM Repository in BO DS. I am trying to create a Repository in Data Services Management Console of

  • Header data and item data

    hello all,       i am a novice in ABAP. in tables can someone tell me what is header data, item data. how do u recognise the tables from their name? like someone told me that if the table name start with B the table is related to FICO and if it ends