Amcharts are not displying in tablet/ipad? - javascript

I am using java script am-charts for displaying charts for tablet application.
There is one problem which i am facing during development
whenever i am opening same links in two tabs, charts are not display
in both tabs.
Whenever i am opening different link in application, charts are not display
Facebook
Can you please guide me, how could i solve this problem?
Thanks

Try to call chart.validateNow() after you show your list item.

Related

Main menu does not scroll after opening google maps (AngularJs)

I have a menu with several functionalities including Google Maps.
The application always works fine until i open the google maps page, and leave it to return to the menu:
the menu gets stuck and does not scroll anymore and i don't get any errors.
Any idea what may be causing this?
Thank you.

Cordova App rate aligning buttons vertically

I'm using phonegap with the app rate plugin. I'm calling:
AppRate.promptForRating(true);
and I'm getting all buttons in a single line.
There are 3 buttons, and in many devices button's text is truncated.
Seems to be an open issue of the plugin. Add your case to the open issue on github.
If you can solve this issue by your own, send a pull request to the author.

Close previous page in phonegap

I am new in phonegap. How can I close previous page in phonegap. For example I have two pages(page1 and page2). I want to close page1 after go to page2. How can I do this.? Please help.
Thank you
If you navigate from one HTML page to another in Cordova/PhoneGap you don't have to close previous page, since it will be automatically disposed for you by the browser.
If you are using some other technology like jQuery Mobile/Sencha Touch/Kendo UI or other, please consult documentation for corresponding product how to accomplish desired task.

Display loading image after clicking on a image/button using java script

I have developed an App using PhoneGap and JqueryMobile.
I have many HTML Pages , navigation from One page to other page on click of the image is taking lot of time.And the end user have no clue what is happening at the back end.
I would like to show loading image until the page gets loaded.
I'm wondering how could I use Jquery to show a simple "Loading..." on the screen until page is loaded.
Please help me on this.
With jquerymobile you can do this with $.mobile.showPageLoadingMsg() resp. $.mobile.hidePageLoadingMsg() as described in the documentation.

How to add jquery mobile loading mask

I am new in jquery mobile, i have implemented some features in an application for ipad. Well i used to transacte with database the following code:
http://pastebin.com/p9FJa3Ym
I need to add a loading mask to my page before showing results. Can anyone help me on how to do that and where to put the code please?
If you checkout the jQuery Mobile website, there's a method to show the page loading message.
http://jquerymobile.com/demos/1.1.0-rc.1/docs/api/methods.html

Categories