[visualization-api] Re: Webpage with 15 graphs takes too long to load

2014-12-03 Thread Nigel Griffiths
Wow thanks for the advice.
Pretty sure I only load the chart library once.
 
The attached is a complete small example with just 30 data points per graph 
(14 of them) - which displays in 3 seconds but typically I have 300+ data 
points per graph which takes just 14 seconds but feels s ol o  n   g.
The data is embedded in the webpage to KISS - as these are generated.
I think my problem is purely size, I have 14 x 300 = 4200 data point - so I 
am asking for a lot processing.
Hence getting the first chart to display and then continuing to generate 
the other charts would make the page look responsive.
Phase two would be getting the data from a web database.

I will look into the OnClick option.

Thanks again, Nigel

-- 
You received this message because you are subscribed to the Google Groups 
Google Visualization API group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

	
	 
	 
	 File: sampleC.nmon
	 
	 nmon data graphed by nmon_charter (v3) using Google Charts. Author @mr_nmon
	 

Host:sampleC
Online Virtual CPUs: 7
Date:01-DEC-2014
Entitled Capacity  : 7.00
Time:00:00:06
Mode   : Uncapped
Interval:1200
Online Memory  : 63488 MB
Snapshots: 31
Type   : Shared-SMT-4

		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
	




-- 
You received this message because you are subscribed to the Google Groups Google Visualization API group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Webpage with 15 graphs takes too long to load

2014-12-02 Thread Nigel Griffiths
HI,
I want to display at least 15 related graphs on one web page.
- these are UNIX performance stats for on VM for a day based on nmon data.
- 1 to 4 stats with 100 to 700 data points per graph
But I find the whole pages is blank until all the graphs are generated 
which takes 12 seconds to load = which too long.

Is there a way to force the first graph to display ASAP - this gives the 
user eye candy, while the rest of the graphs are generated.

Alternative a way to use OnClick on a button to get one of the graphs drawn 
at a time each in the same screen area.
- I tried but failed to get that working using .visable and .display.

Any hints/tips would be good, Cheers Nigel Griffiths.

-- 
You received this message because you are subscribed to the Google Groups 
Google Visualization API group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.