[visualization-api] Re: Question about creating a timeline

2014-07-22 Thread Matthew Bleiman
Whoops accidentally deleted the main topic.

Thank you very much Andrew. I was able to create the timeline as such. I 
have one additional question. I am now trying to query two data sources and 
combine the results into one chart. The code I have so far is 
here: http://jsfiddle.net/29PPu/ However, I'm stuck at this point (I'm not 
familiar with Javascript at all). So far, I query both spreadsheets and 
then send and process the query for the second one. It appears that to add 
data from the second, I have to also send the query to that one and call 
the dataTable method on the queryReponse object and then I can concatenate 
the two data tables before building the chart. But I've been utterly unable 
to do this in my code. Can anyone provide assistance on how to structure 
this so it can work?

-- 
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] How to get a transparent chart ?

2014-07-22 Thread Laurent
Hello

It is possible to get a generated chart transparent ?

The result of my code is as follow : 
http://chart.apis.google.com/chart?chf=a,s,00chxr=1,-20,50chxt=x,ychs=140x88cht=gmchco=04080CA7,5C52D4|41AFF8|0CF6CF|08F808|08F808|00|E21515chds=-20,50chd=t:24.500chdlp=bchls=1|6chxl=0:|24.500%C2%B0c|1:|-20%C2%B0c|+50%C2%B0cchma=|0,5

and here is the HTML source code :

!-- O'Meter--
img src=
http://chart.apis.google.com/chart?chf=a,s,00chxr=1,-20,50chxt=x,ychs=140x88cht=gmchco=04080CA7,5C52D4|41AFF8|0CF6CF|08F808|08F808|00|E21515chds=-20,50chd=t:~print_tc77_tempC~chdlp=bchls=1|6chxl=0:|~print_tc77_tempC~°c|1:|-20°c|+50°cchma=|0,5
width=100 height=60 alt=System Temp /
!-- O'Meter ends here --

I read that transparency could be set with *chtt *or* chts* but this 
setting does not exist in that chart.

Many thanks for your help,

-- 
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] Question on Customizing Points on Same Series

2014-07-22 Thread Taylor Young
Hello,

I am currently setting up some line charts and have looked through the page 
for customizing points. 
https://developers.google.com/chart/interactive/docs/points 

You can define by series with the following in the options: 




*pointSize: 30,series: {0: { pointShape: 'circle' },1: { pointShape: 
'triangle' },
}*


While you are able to specify for a specific series, are you able to 
specify for a specific cell? I want to add an upright green point shape for 
certain points, and a downward pointing red shape on others.

Thanks,
Taylor 

-- 
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.


Re: [visualization-api] Re: Column chart - Bar color

2014-07-22 Thread Andrew Gallant
No, I cannot access that.

On Monday, July 21, 2014 11:10:38 PM UTC-4, Nagendra Singh wrote:

 Actually the project is still in basepilot position. So there is no public 
 facing website. We have a page hosted as 
 http://dgc001113207:8080/RestartSpringRestService/home

 Please let me know if you are able to access it. 

 On Mon, Jul 21, 2014 at 9:03 PM, Andrew Gallant asgall...@gmail.com 
 javascript: wrote:

 Your server will not affect client-side performance.  Depending on how 
 good the connection between your server and clients is, you may be able to 
 set up a system that handles all of the data filtering server-side, keeping 
 the quantity of data stored client-side to a minimum; there is nothing in 
 the API that will help you do this, though, so you would have to develop a 
 custom solution.

 Do you have a public-facing page I can test this on?  If I can do some 
 performance profiling, I may be able to figure out a way to cheat to 
 improve performance without resorting to any server-side tricks.


 On Monday, July 21, 2014 12:06:41 AM UTC-4, Nagendra Singh wrote:

 Hi Andrew, 
 The problem is that we need to show our customers last one month data. So 
 its important to show all the dots. I have implemented a range slider for 
 both date and buffer values. But they also slide very slowly. Will a better 
 server/ workstation increase the performance? Please suggest.


 On Sat, Jul 12, 2014 at 8:41 PM, Andrew Gallant asgall...@gmail.com 
 wrote:

 With 14000 data points, the chart would probably draw quite slow.  I think 
 the only way you can increase draw speed is to reduce the number of points 
 drawn at one time.  Try setting default values for the min and max on your 
 filter.


 On Saturday, July 12, 2014 1:19:38 AM UTC-4, Nagendra Singh wrote:

  Aproxx 14000 points for 1 month data.
 --
 From: Andrew Gallant
 Sent: 12-07-2014 AM 10:38
 To: google-visua...@googlegroups.com

 Subject: Re: [visualization-api] Re: Column chart - Bar color

 If the problem is with the chart drawing, then no, minifying your scripts 
 will not help.  Approximately how many data points are in your chart?

 On Friday, July 11, 2014 10:53:32 PM UTC-4, Nagendra Singh wrote:

 Hi,
 I think drawing the chart is what taking time. Because when the page 
 loads, the indicators and the sliders are generated quickly, but the 
 scatter chart displays after 10-12 secs. 
 What I was thinking, is there a way to minify my self written js pages. 
 Will this help?


 On Fri, Jul 11, 2014 at 7:12 PM, Andrew Gallant asgall...@gmail.com 
 wrote:

 How much data is one month's worth?  Thousands of records, millions of 
 records?

 You could have any of three main sources of performance problems: 1) your 
 server could be slow in querying your data, 2) sending data from server to 
 client could be slow, and/or 3) drawing the charts could be slow.  Profile 
 the performance of different aspects of your page to determine where the 
 source of slowness is, and then you can begin looking for ways to address 
 it.


 On Friday, July 11, 2014 1:48:08 AM UTC-4, Nagendra Singh wrote:

  Hi Andrew,

 Every thing is working fine. But i need an advice. I have just added only 
 one month log files. The first page is displaying very damn slowly. I will 
 share the code below. There are three indicators, and the indicator which 
 is red will show the graph below. And the rest will be shown onclick next 
 page. 

 Please suggest me, what should I do in order to keep the performance high. 
 Because in future when the project will be up and running, there will be 
 years of log files which the site has to collect and display it. Please 
 help!!!

 Here is the code for my page:


 *%@taglib uri=http://www.springframework.org/tags 
 http://www.springframework.org/tags prefix=spring%*
 *%@taglib uri=http://www.springframework.org/tags/form 
 http://www.springframework.org/tags/form prefix=sf%*
 *%@taglib uri=http://java.sun.com/jsp/jstl/core 
 http://java.sun.com/jsp/jstl/core prefix=c%*
 *%@ page session=false %*
 *%@page import=com.minestar.spring.utils.PropertiesReader %*
 *%*
 *PropertiesReader propertiesReader = new PropertiesReader();*
 *propertiesReader.load(siteIndicator.properties);*
 *int bufferCountHigh 
 =Integer.parseInt(propertiesReader.getPropertyValue(buffer.high));*
 *double cpuHigh 
 =Double.parseDouble(propertiesReader.getPropertyValue(cpu.high));*
 *double memoryHigh 
 =Double.parseDouble(propertiesReader.getPropertyValue(memory.high));*

 *int bufferCountSite = Integer.parseInt(request.getParameter(buffer1));*
 *double cpuHighSite=Double.parseDouble(request.getParameter(cpu1));*
 *double cpuMemorySite=Double.parseDouble(request.getParameter(memory1));*

  *boolean b= bufferCountSitebufferCountHigh;*
 *boolean c= cpuHighSitecpuHigh;*
 *boolean m= cpuMemorySitememoryHigh;*

 *boolean b1= bufferCountSitebufferCountHigh;*
 *boolean c1= cpuHighSitecpuHigh;*
 *boolean m1= cpuMemorySitememoryHigh;*

 */*