facebook

Javascript charts does not work into iPad project

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #323344 Reply

    support-michael
    Keymaster

    @Albatros78

    Absolutely have them contact me if they wish to discuss further. A fallback plan to consider is use of a webkit-based desktop browser such as safari or chrome for preview. Then use the Upload Web Application wizard to the AppCenter for testing directly on your device(s).

    #323530 Reply

    Albatros78
    Participant

    Hi Wayne,

    Very good news. My charts are displayed into my ipad project.

    In fact it was just necessary to place the chart JS file just before yours into the html file.
    It was not really an issue with the chart library.
    Others JS chart library works fine with same restrictions.

    Here an example to place JS file at the head of file:

    <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″/>
    <meta name=”apple-mobile-web-app-capable” content=”yes”/>
    <link rel=”stylesheet” href=”pag1.css”/>

    <!– Graph’s –>
    <script type=”text/javascript” src=”jschart/FusionCharts.js”></script>
    <script type=”text/javascript” src=”jschart/lib.js” ></script>
    <script type=”text/javascript” src=”data/revenusfr.js” ></script>
    <script type=”text/javascript” src=”data/statsweb4.js” ></script>
    <!– End Graph’s –>

    <script type=”text/javascript” src=”res/jquery-1.3.2.min.js”></script>
    <script type=”text/javascript” src=”res/preloadCssImages.js”></script>
    <script type=”text/javascript” src=”res/iscroll.js”></script>
    <script type=”text/javascript” src=”pag1.js”></script>
    <script type=”text/javascript” src=”res/phoneui.js”></script>
    <script type=”text/javascript” src=”pag1_custom.js”></script>

    And I join 2 pictures of my results.

    and

    Thanks for your help.

    #323535 Reply

    support-michael
    Keymaster

    @Albatros

    My blink reaction: That’s bad ass!

    #323845 Reply

    Albatros78
    Participant

    Hi Wayne,

    Definitevely there is an issue with panel Widget and JS code execution

    Here my conclusion and files to help us and your dev team to fix it.

    One thing.
    The graph is displayed correctly, BUT take care: into the graph there is an horizontal bar to move the graph on left /right

    With the project OK everything is fine on my iPad… but the horizontal bar does not works into testcenter!

    With the project Not OK. Horizontal bar does not works on my iPad and Testcenter

    I have identified the origin. It’s because my graph is into a panel widget inside itself in another panel widget.

    I have tried your parameter into the div with no success.
    class= “m1-iscroll-no-prevent-default”

    Hope this helps to debug this issue
    or do you have a quick workaround !

    Regards

    Attachments:
    You must be logged in to view attached files.
Viewing 4 posts - 16 through 19 (of 19 total)
Reply To: Javascript charts does not work into iPad project

You must be logged in to post in the forum log in