Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

loading a chart before user action is not occured.

Posted on 2013-02-04
1
Medium Priority
?
394 Views
Last Modified: 2013-02-11
I want to make a chart page, 4 or 6 charts per  one page.
Whenever user clicks the 'left' or 'right' arrow, the page will be changed.

However the problem is the performance to draw charts them all.
So I thought. While one page comes to view, two chart pages are loaded in background.

This is my question. Is it possible to load page in background and the page is waiting until user click some button.

If there is good idea than I think, please recommend me.
( i'm using jqwidget )
0
Comment
Question by:gamjaradio
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 53

Accepted Solution

by:
Scott Fell,  EE MVE earned 2000 total points
ID: 38853838
If your page is loading slow, it is not from the chartes.  http://jsbin.com/owulot/1/  If you click on the link, I have a handful of chartes all loading at once.

It's probably your query with your database that is causing things to slow down and there is not just one thing to do.  Some hints:

Use only the data you need.  If your table has 20 fields, and you are just using 2 of them, then your sql should not be, "select * from mytable...."   Instead, "select field1,field2 from mytable..."

Avoid wild cards in your query.

Load your data using ajax
0

Featured Post

Quick Start: DOCKER

Sometimes you just need a Quick Start on a topic in order to begin using it.. this is just what you need to know to get up and running with Docker!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
How to build a simple, quick and effective accordion menu using just 15 lines of jQuery and 2 css classes
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question