Loading anychart by javascript help

Hello,
I am following the tutorial given in below link.
http://apex-at-work.blogspot.com/2011/04/handling-32k-problem-in-apex-charts.html
I have put my code to a dynamic pl/sql region and it creates the html (where I can see it in the source window).
The example is given for gant chart but I am deploying for 2d line chart.
I changed 'i/flashchart/anygantt_4/swf/AnyGantt.swf' to 'i/flashchart/2DLine.swf' which I located the address.
Nothing shows on the screen, any help?

Again I have solved my problem :)

Similar Messages

  • [CS5/JS] Ann: Javascript Help files updated

    Hi everyone. The new user-friendly Javascript Help files have been updated with a CS5 version. Download link on its homepage: http://www.jongware.com/idjshelp.html
    Only in Windows CHM-format for the moment (does anyone at all use the HTML version? If not ... well ... I dunno...).
    I spotted a few additions and changes in the Help file -- apart from support for the new commands, obviously -- such as proper Superclass referencing, and a few objects with Class properties, which apparently are something else than Instance properties. Hey, don't ask me. I only converted the file.
    Among the more interesting new objects:
    * "PlaceGun" -- finally, a way to 'load' the gun with text created solely by scripting?
    * "BeforeCreate", "AfterCreate" (and a few more similar): trap the event for (possibly) every object you can place into ID!
    * A new Scripting Preference: measurementUnit. Apparently, this is "the measurement unit used during script processing" and, ya-hey!, we scripters don't have to awkwardly read, save, change, and restore, the measurement units anymore!

    Minor cosmetic updates to the CHM version:
    * The bullet was shown as a decoded UTF-8 value on Robin Lu's Mac CHM viewer. Changed from its Unicode value to "•" (quite the trick, as Saxon firmly objects to HTML stuff like that!). There may be more 'mangled' characters remaining, dunno if it's worth the trouble hunting them down one by one tho'.
    * Contrary to what I stated before, the Help does contain a few examples -- in the JavaScript Base Classes section. Rather terse, so for the experienced scripter they are hardly relevant; but perhaps newbies can put them to good use. They are marked by a pretty-in-pink background.
    * The list of parents in the Hierarchy view was not sorted alphabetically -- fixed. (I've finally started using XSLT 2.0 functions. Yay!)
    * Lists of multiple object datatypes were not sorted alphabetically -- fixed, by sorting them on the comma and the word "or". However, some of the more incomprehensible descriptions now got just a bit more incomprehensible ...
    E.g., common in "resize" functions: "Can accept: Array of 2 Reals, AnchorPoint enumerator or Array of Arrays of 2 Reals, CoordinateSpaces enumerators, AnchorPoint enumerators, BoundingBoxLimits enumerators or Long Integers." I have no idea how to mentally parse that, let alone have my computer do it.
    * Added more and more hyperlinks. I think most of ScriptUI's internal links to "Button", "Window", etc. which also have a 'regular' UI counterpart finally point to ScriptUI's own objects. Hard to check, really.
    * Also added hyperlinks for the common objects "Boolean", "String", "Number", and "Array" -- just to be complete!
    * The total number of internal hyperlinks now tops out above 104,000! (And no, I didn't check all of them.)
    Direct link to the CHM version: http://www.jongware.com/binaries/idcs5js_chm_3.0.3.zip
    (the minor version number jump from .1 to .3 is because of a lot of testing before I got everything right -- again...)
    The HTML version follows, somehow, somewhere, some time later. (HTML users: is that full function index of any use?)
    * For some reason the page for the "Global classes" was interpreted in the CHM contents as a 'book', rather than a regular help page, and you could not navigate to there! (A search for 'inifinity' still landed you on that page.) Fixed by hand, but I wonder why this happened ...
    Oh darn it! I found out why that happened, re-wrote part of my XSLT transform to fix it and broke lots of other things. Today, I fixed that, and now I see this doesn't work anymore -- again!
    You will be expecting a 0.4 version shortly, then.

  • How can i hnow the applet had load complet by javascript?

    hi,how can i hnow the applet had load complet by javascript?
    my applet load by <object> tag,
    i add a "onload" event listener to the html page's <body> tag,but the event listener is call by the page load,
    but ,the applet sometime has not loaded complet,so how can i know the applet had loaded complet!
    the <OBJECT>has some method to check the applet load status??
    3KS!

    You can have your applet call some javascript to inform that it is loaded. Make the call from your
    applet's start method
    Suppose you have a javascript function called "appletReady()"
    which sets a ready variable to true or whatever.
    Now in your start method of your applet you can do the following:
           JSObject win = null;
            try
                win = (JSObject)JSObject.getWindow((Applet)this);
                if (win == null)
                    System.err.println("JSObject window was null");
                else
                        win.call("appletReady",null);
            catch (Exception jse)
                System.err.println("Exception: " + jse);
            }Make sure you import netscape.javascript.
    And when you compile use the appropriate jaws.jar in your classpath
    It should be found under jre/lib of your JDK installation.
    I hope this helps.

  • I'm using iphoto9.1.3 but now it doesn't seem to work, whenever I try to open it, it just shows loading, but never loads. Can anybody help me with this ?

    I'm using iphoto9.1.3 but now it doesn't seem to work, whenever I try to open it, it just shows loading, but never loads. Can anybody help me with this ?    

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • HT1199 Hai, i tried to open itunes on my windows 8 laptop but it comes out with 'iTunes has stop working' notification and need to close the program everytime i try to load it. Please help! thanks.

    Hai, i tried to open itunes on my windows 8 laptop but it comes out with 'iTunes has stop working' notification and need to close the program everytime i try to load it. Please help! thanks.

    Hi ajay-9,
    Thanks for visiting Apple Support Communities.
    The steps in this article can help if iTunes is quitting unexpectedly on your PC:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/ts1717
    Cheers,
    Jeremy

  • TS4050 when i want to sign in apple id in icloud from setting , appear a black page and loading .... help me ...

    when i want to sign in apple id in icloud from setting , appear a black page and loading .... help me ...

    Hello shlomi2890,
    To resolve your issue, you would need to change the Apple ID back to what you had originally, sign out and then change it back. Check out the article below for more information.
    iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud
    http://support.apple.com/kb/TS5223
    Change your Apple ID temporarily
    If signing out and back in to iMessage or FaceTime didn't help, try these steps:
    Change your Apple ID to the Apple ID you used previously. You shouldn't need to verify the email address.
    Go to Settings > iCloud. Complete these steps only if the Find My [Device] setting is turned on:
    Scroll down and tap Delete Account, then tap Delete to confirm. 
    Tap “Keep on My [Device]” or “Delete from My [Device].” In either case, your data remains in iCloud and will be updated on your device when you sign in to iCloud again.
    Enter the password for your previous Apple ID.
    Change your Apple ID to the new email address that you want to use. You'll need to verify the email address.
    Return to Settings > iCloud and sign in with your new Apple ID.
    Regards,
    -Norm G.

  • InDesign JavaScript "help" file

    I have used Jongware's InDesign JavaScript help files and have really found them essential. I am grateful for his efforts to make these available.
    I am primarily a FrameMaker user and Adobe is going to provide ExtendScript support for the next version of FrameMaker. The FrameMaker object model is shown in the ExtendScript Toolkit CS5 Object Model Viewer. I would like to do something similar to what Jongware did in extracting the data to a series of HTML files. I am having difficulty figuring out where this data is stored. I can't find an XML file that contains the data. I am mainly posting this here because I haven't been able to contact Jongware directly. Thanks in advance for any help.
    Rick

    Oops :-) Yeah to avoid sp@m I don't really want to post my mail addresses on public sites.
    I sent you a P.M., I'm hugely interested in what you are planning!

  • Signed applets load slower than javascript

    I have a signed applet and i had problems with certifications but i solved them.
    Now i have a new problem with the chat , it�s when the page is load, javascript tries to get some variables from the applet but it has�n load jet and javascript stops.
    Is 1.5 slower than 1.4??
    How can i solve it'??

    In javascript you can use try and catch. When caught use setTimeout
    var varOfTheApplet = null;
    function callPublicMethodOfTheApplet(){
      try{
            varOfTheApplet = document.getElementById("idOfMyApplet").publicMethod();
       }catch(e){
            setTimeout("callPublicMethodOfTheApplet();",500);
    }

  • What is the use of parllalization in loading infocube by the help of dtp

    what is the use of parllalization in loading infocube by the help of dtp

    An Index can improve the reading performance when data is searched for values of fileds contained in the index.
    The fact whether the Index is used or not depends on the database optimizer, which decides it after taking the following under consideration:
    - Size of the table
    - Fields in the index compared to the fields in the statement
    - The quality of the index (its clustering factor)
    One backdraw of Index is that they decrease writing performance, as they are maintained during the write to the table.
    Hope it helps you,
    Gilad

  • I cannot get my mobileme calendar to load. Can anyone help me?

    I cannot get my mobile me calendar to load. Can anyone help me?

    I don't know if we can help you. This is almost certainly the wrong forum, but perhaps we can help you there too. Let's start with some questions
    1. What software (app) are you using to try to open the PDF files, including version number if you know it?
    2. If you are using a browser, what is it?
    3. Are you on Mac or Windows?
    4. Is the PDF file on your hard drive (own computer), on a web site, or somewhere else?
    5. What EXACTLY happens when you try to open the PDF? If you get a message, what is the message IN FULL?
    Please answer all questions carefully.

  • Javascript Help - Customising buttons to display varied data

    Hi there,
    I'm looking for some Javascripting help since I'm new to this form of scripting. In the report template I'm creating, I need to have a series of radio buttons with each being able to display a different amount of data when selected. So for example, if you choose option a and hit the select button: one layout for the document is shown, option b: another different layout would display, etc.
    Here's a link to an existing pdf which demonstrates what I'm looking for in the second half of the page. The pdf is locked so I can't look at the existing coding or anything that they've used. Any help would be greatly appreciated~ Thanks.
    http://www.lands.nsw.gov.au/_media/lands/pdf/rp_dealings_interactive/01T_v3-2.pdf

    Nariko,
    Place your "different amounts of data" in their own subforms. Have each subform default as hidden so that they won't show. Next in the change event for the radio button group place the following javascript (this assumes your radio button group has it's values bound as 1, 2, & 3):
    if(this.rawValue == 1)
    subForm1.presence = "visible";
    subForm2.presence = "hidden";
    subForm3.presence = "hidden";
    else if(this.rawValue == 2)
    subForm2.presence = "visible";
    subForm1.presence = "hidden";
    subForm3.presence = "hidden";
    else if(this.rawValue == 3)
    subForm3.presence = "visible";
    subForm1.presence = "hidden";
    subForm2.presence = "hidden";
    This will display and hide the objects in the various sub forms based on which radio button is selected.

  • How to load doc-level JavaScript via FDF

    I apologize if this question is answered elsewhere on the forum -- I've spent a fair amount of time searching through the forum and other resources brought up in response to Google searches, all without a solid result; therefore I'm hoping that someone in the forum can help out.
    I've got several dozen PDF forms that all use the same core set of JavaScript functions to perform various validation and formatting processes. So far, I've loaded this library as a document-level script in each PDF and then loaded the PDFs to the server.
    When a user requests to view their specific document, the link that they click actually generates an FDF file that is sent to their browser. The FDF causes the target PDF to be loaded in the browser, into which the FDF data is loaded. A page load Script executes the do_DocLoad function, which sets up the document for initial user use (populates combo boxes, etc.) The user then can interact with the form in various ways and then, optionally, submit the data back to the server for processing. The library functions are referenced in various field formatting or validation calls, as well as by the Submit button that I've got on the form that performs a final field validation prior to submission. So far, this process works very well.
    The issue is that every time a change, even a minor one, is needed in any of the core set of library functions, we have to open each and every PDF to apply the change, then save it and upload the entire batch to the server. Because of the significant amount of time that this can take (which will increase as the PDF library grows), I'd like to instead load the JavaScript functions in the FDF.
    The ideal would be a method to allow the FDF to cause Acrobat to load the script from a file on the server, similar to how the PDF is called. Because I don't know if that would even work, I'm looking at having the ASPX page that processes the FDF, merging the user's data into the FDF format before serving it to the browser also merge in the script and serve it all up piping hot for the user's enjoyment (or so we hope). I've tinkered with the FDF, adding a /JavaScript section at the end of the FDF as follows:
        << /V (~data_client_name~)/T (client_name)>>
        << /V (~data_client_address~)/T (client_address)>>]
        /F (~data_FileName~)/ID [ <  blah blah ><  blah blah >]
        /JavaScript << /Doc 2 0 R >>
      >>
    >>
    endobj
    2 0 obj [ (DocScript1) 3 0 R ] endobj
    3 0 obj <<>>
    stream
    ** script goes here **
    endstream
    endobj
    trailer << /Root 1 0 R >>
    %%EOF
    In the section where ** script goes here ** I have attempted to paste the script library, without success. This library consists of several different JavaScript functions.
    In testing, the above didn't work, unfortunately. :-( I got all kinds of wierd data in the form fields that are processed by the functions that I was trying to load - the page open calls didn't return any errors, which was good, but the fields formatted by the initial setup method were all messed up. I'm looking for any pointers/tips on what I might be doing wrong. Are there special characters that I need to escape/avoid in sending JavaScript this way (I'm using regular expression pattern matching and other code within the script which contain some special characters such as /, \, ^, etc.). Is there a limit to the size of the data that I can stream in this way? Is it as simple as loading my script /Before instead of /Doc? Anything else that I might try?
    Thanks in advance for any assistance that can be given! Every time that I get to go back and spend a couple of hours updating the core library in all of these PDFs is time that I'd rather be spending doing other things. Thanks again!

    This sounds very intriguing and not at all along the lines of what I was thinking of. I'm glad to have the forums to be able to get different perspectives on
    things like this!
    I have a couple of additional questions on this. I like #3 but, not having done it before, I'm curious as to how to get it to work.
    I presume that I would create a new batch process in Acrobat (I am running Acrobat Pro 9) and then on each document processed, do the following:
    1. Import a PDF page (from a specified file that has the document-level scripts included.
    2. Delete the page just-added
    3. Save
    4. Repeat, all docs specified.
    Now questions:
    1. I don't understand how the document scripts will be "left behind" when doing this.
    2. Do I need to delete the existing document script(s) before doing this, or will they automagically be overwritten?
    3. Are there any steps between the insert and the delete that I need to do?
    Finally, just to add another twist, have you seen this work with PDFs that are secured (we apply a password to protect the documents from alteration, with the exception of filling out form fields)?
    So far, in testing, the best method appears to be to store the PDFs separate in an un-secured format (it simply won't work if they're secured -- at least, I haven't gotten it to work yet -- I could probably do it interactively, but who wants to type the goofy password 500 times). I have a separate dummy PDF (1 page with just some explanation text if someone opens it and document-level scripts included) also stored in the folder. Then, run the batch process to do the insert, delete, then apply security on all docs in the folder. So far, so good. The only part that doesn't seem to be working is that the document-level scripts on the dummy PDF don't get left behind after the insert/delete. I removed the doc-level scripts on the original PDFs so that I could more easily verify that the ones from the dummy PDF get "left behind". I'm sure that I'm missing something simple here -- If you can help close that final gap, I'd greatly appreciate it!

  • JavaScript help Including JavaScript in a .js File Referenced by the Page

    I need help with JavaScript. I have been doing the Advanced Tutorial, and still don't feel that understand how to make it work.
    The example in "Oracle Database Application Express User's Guide" shows this line:
    <script src="http://myserver.myport/my_images/custom.js" type="text/javascript"></script>
    I understand that "my_images" is hypothetical, but where is the real equivalent to this?
    Is there a working example/tutorial of Including JavaScript?
    <li />Also how does one create AJAX functionality?
    If I want to do something like this http://www.w3schools.com/ajax/ajax_server.asp
    in APEX, where do I place the "time.asp" script?
    <li />Can we assume that the HTML and ASP file are in the same directory?
    Please any assistance with these topics are greatly appreciated.

    Hello,
    >> what is the directory structure you would use for /my_images/custom.js? Where does one load these .js files? where is it in the local machine?
    C:\oracle\product\10.2.0\db\Apache ?
    The documentation only gives you a possible example (and I might agree that it’s not the best one). You should put your external JS files (on the server OS file system) wherever it will be most accessible and maintainable for you. The best place, IMHO, is under the /images/javascript/ directory. The reason is very simple. You can use the alias /i/, which defined in your DAD file, to gain a very simple path to the file. In this case, the loading statement will look similar to the following:
    <script src="/i/javascript/custom.js" type="text/javascript"></script>
    >> Do you mean "Oracle Database PL/SQL Packages/Types and htp packages?"
    I’m assuming you are talking about the on-demand process. This is a regular PL/SQL anonymous block, which will be fired only upon specific request - http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/bldr.htm#BABEAIIE . This is the mechanism for handling the server side of AJAX.
    >>Anythig else available for us to levarage?
    Denes examples site can also be a valuable resource - http://htmldb.oracle.com/pls/otn/f?p=31517:1 .
    Regards,
    Arie.

  • Javascript help - Hide/Show a page item

    Environment:
    APEX 3.1.00.09 running on AIX 5.3
    Sample application on apex.oracle.com:
    Workspace: GALWAY
    UserID: gwicke
    Password: gwicke
    To see where my issues are:
    1- Start on page 3
    2- In the Agency drop down select 'J & B Marketing'
    3- In the Contract drop down select the only contract that appears
    4- Click on 'Edit Existing Contract'
    5- Note the page item 'LY Closings' has the value 261
    6- Click on the link (really a tab in my theme) at the top labeled 'Cost Detail'
    7- The 'Estimate Justification' is the page item to be displayed/hidden as noted below.
    8- The 'Homes Per Year' under the 'YEAR1' column is the user input page item
    9- The P2_BUILDER_CLOSINGS (value 261 noted above) is the page item to be used in the comparison
    I need to do a couple of things with a potentially hidden page item:
    1- Every time the page loads I need to check to see if the page item (P8_ESTIMATE_JUSTIFICATION) is not null and if it is indeed not null, make it displayed.
    2- When the user enters a value in another page item (P8_HOMES_PER_YEAR1), call a function to see if that value is more than 120% of another page item (P2_BUILDER_CLOSINGS) and if so make the above page item displayed (P8_ESTIMATE_JUSTIFICATION).
    I have the javascript function created (showHideEstimateJustification) and in the HTML Header of the page. The function is being called currently with an onChange check on the page item entered by the user as noted above (P8_HOMES_PER_YEAR1).
    Issues:
    1- I need to force a SUBMIT after the user enters the value for P8_HOMES_PER_YEAR1 so it is available in session state and hence to the javascript function (other ideas welcome!)
    2- I am currently using the x.style.display = 'inline' versus 'none' to hide/show the page item, where x is derived from var x = document.getElementById(P8_ESTIMATE_JUSTIFICATION) Is there a better way????
    Any help is greatly appreciated.
    -gary (a.k.a. Javascript newbie)

    Hi,
    Only your messages use the session state. The code would use the entered value, but you would need to change:
    var homes = parseInt(document.getElementById('P8_HOMES_PER_YEAR1'));to
    var homes = parseInt(document.getElementById('P8_HOMES_PER_YEAR1').value);so that "homes" becomes the numeric version of the value of the item
    Normally, for the label, you would just enter an ID="xxx" into the HTML Table Cell Attributes for the label which you can then use in your javascript. For some reason this doesn't seem to want to work in this page.
    What you could do is find all the labels and then check which is the right one before showing/hiding it. Something along the lines of:
    var xx = document.getElementsByTagName("LABEL");
    var zz;
    var label;
    for (zz = 0; zz < xx.length; zz++)
    if (xx[zz].htmlFor == 'P8_ESTIMATE_JUSTIFICTION")
      label = xx[zz];
    xx[zz].style.display = 'none';
    {code}
    Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Loading HTML with javascript from SDCard

    Hi - my first post so please be kind
    My handset is a BES connected 8100 running v4.2.1.66.
    I've only recently discovered how to load files from the local media card using the file:///SDCard/example.html semantics, but I'm very frustrated I cannot seem to load scripts embedded in these files, that will load and run normally when the file is retrieved using http.
    Is there some magic extension I need to give my files to enable processing of scripts from local files?  I've tried the obvious file extensions without luck (htm, html, wml, jsp, asp).
    It seems to me that for local files the handset is setting the MIME type from the extension alone, given the error you get when you load a file with an unknown extension - "The returned page had no content type, and therefore cannot be processed."
    Can anybody help me shed any light on this behavior and how to get around my lack of javascript on locally loaded files?
    Feel free to slap me if this is a know bug in the software I'm running, or has been answered 50 times.
    Many thanks; Andrew.

    Under which folder we can put the html and javascript files. I have installed balackberry sdk4.6(i.e;
    Research In Motion\BlackBerry JDE 4.6.1).
    Objective:To open and see a local html file  in blackberry browser.

Maybe you are looking for