Re: [visualization-api] Deprecation Notice for Google charts

2014-08-20 Thread 'Jon Orwant' via Google Visualization API
Answers are on the parallel thread here: https://groups.google.com/forum/#!topic/google-visualization-api/yz06u9N2oaA Jon On Wed, Aug 20, 2014 at 8:07 AM, Shivani Kanakhara wrote: > If a chart is about to be deprecated,when will we be notified? > What does 3-year deprecation policy mean? > Doe

Re: [visualization-api] Re: Donut charts with a single value don't show the value

2014-08-20 Thread Oren Hurvitz
Thanks! That worked. On Thu, Aug 21, 2014 at 2:42 AM, Andrew Gallant wrote: > It is showing the label - in the center of the slice. The default label > color is white and the default background color is white, so the label is > not distinguishable from the background. If you change the text c

[visualization-api] Re: doesn't work visualization(PieChart and LineChart) IE8. Help????????????????????????

2014-08-20 Thread pyaethu
I am using MVC. I already add *http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>* at the top of the page. AJAX function sresponse return greater than 0 . Still Didn't work IE8 On Tuesday, August 19, 2014 6:46:07 AM UTC+6:30, Andrew Gallant wrote: > > I don't see anything in there th

[visualization-api] Chart to mimic Google Analytics Realtime "Pageviews per second"

2014-08-20 Thread 'Mark Schenkel' via Google Visualization API
Is there a chart type that could best simulate the Realtime "Pageviews per second/minute" you can see on Google Analytics? See the screen shot. For those of you not familiar, the "per second" chart scrolls each second, from right to left, updating the right most bar with the current number of

[visualization-api] Re: Garbled Chart Legends When Hiding / Showing Charts in Div

2014-08-20 Thread Andrew Gallant
This is caused by drawing charts inside hidden divs, which breaks the Visualization API's internal dimension detection algorithms. The solution is to draw the charts before hiding them, or to draw the charts when their containers are first opened. On Wednesday, August 20, 2014 8:59:28 PM UTC-4

[visualization-api] Garbled Chart Legends When Hiding / Showing Charts in Div

2014-08-20 Thread AM
I've been creating pages with a lot of Google Charts. To make the pages more manageable I put groups of charts together into Div tags. Then I have a menu that shows or hides the various groups of charts (i.e. Div tags). When I show charts that were hidden they show up with their legends garbl

Re: [visualization-api] Re: i have problem changing this to native javascript

2014-08-20 Thread anuj joshi
thank you Andrew for the suggestion On Thu, Aug 21, 2014 at 5:29 AM, Andrew Gallant wrote: > This forum is for the Google Visualization API, while your code uses > Highcharts. You will likely have better luck asking on the Highcharts > forum . > > > On Wednesday,

[visualization-api] Re: ng-google charts and formatter pattern for time

2014-08-20 Thread Andrew Gallant
For reference in case someone searches this out, the answer is over in this thread . On Wednesday, August 20, 2014 6:59:47 PM UTC-4, Neil Camara wrote: > > Hi folks, > > Is anyone here using ng-google charts in A

[visualization-api] Re: specifying N number of x-axis when data is only one

2014-08-20 Thread Andrew Gallant
You have to format the timeofday column. There are no built-in formatters for the timeofday data type, but you can hijack the DateFormatter for the purpose: var formatter = new google.visualization.DateFormat({pattern: 'h:mm a'}); var timeSteps = ['hours', 'minutes', 'seconds', 'milliseconds'];

[visualization-api] Re: Non-geographic heat map.

2014-08-20 Thread Andrew Gallant
You can co-opt the ColumnChart to do that for you: http://jsfiddle.net/asgallant/kpnpvank/1/ On Wednesday, August 20, 2014 4:31:08 PM UTC-4, Bryan Maloney wrote: > > Since Google API doesn't support phylograms (and certainly not unrooted > trees), is there a way I can do a distance matrix-based

[visualization-api] Re: i have problem changing this to native javascript

2014-08-20 Thread Andrew Gallant
This forum is for the Google Visualization API, while your code uses Highcharts. You will likely have better luck asking on the Highcharts forum . On Wednesday, August 20, 2014 11:18:29 AM UTC-4, anuj joshi wrote: > > private native void createChart() > /*-{ > > $(

[visualization-api] Re: Donut charts with a single value don't show the value

2014-08-20 Thread Andrew Gallant
It is showing the label - in the center of the slice. The default label color is white and the default background color is white, so the label is not distinguishable from the background. If you change the text color, it shows up: http://jsfiddle.net/asgallant/mx03tcx5/ On Wednesday, August 20

Re: [visualization-api] Re: print out high resolution

2014-08-20 Thread Andrew Gallant
The chart has to render in a visible div to draw correctly, but you can use CSS to move the container div off-screen. On Wednesday, August 20, 2014 9:02:01 AM UTC-4, Yehonathan Sharvit wrote: > > I see. > > 1. The solution I found is to scale the svg like this: > http://jsfiddle.net/viebel/vwc8d

[visualization-api] ng-google charts and formatter pattern for time

2014-08-20 Thread Neil Camara
Hi folks, Is anyone here using ng-google charts in AngularJS? If so, I need help on formatting the tooltip so that hours will be displayed in standard form rather than military. Thanks, Neil -- You received this message because you are subscribed to the Google Groups "Google Visualization A

[visualization-api] Re: specifying N number of x-axis when data is only one

2014-08-20 Thread Neil Camara
I got it working. However, one last thing I need to fix are the hour values in the tool tip. It's showing military time. The hour values though in the axis are displayed correctly. Here is a screenshot where I clicked one of the points. it's showing 19:00 rather than 7pm. http://i.imgur.com/v7

[visualization-api] Non-geographic heat map.

2014-08-20 Thread Bryan Maloney
Since Google API doesn't support phylograms (and certainly not unrooted trees), is there a way I can do a distance matrix-based heat map. Allow me to illustrate: Suppose I have the following distance matrix, where 0 is identity, and the larger the number, the greater the distance. Generation

[visualization-api] Re: specifying N number of x-axis when data is only one

2014-08-20 Thread Neil Camara
Hi Andrew, What's wrong with my ticks? hAxis: { format:'h:mm aa', ticks: [ [0, 0, 0, 0], [1, 0, 0, 0], [2, 0, 0, 0], [3, 0, 0, 0], [4, 0, 0, 0], [5, 0, 0, 0], [6, 0, 0, 0], [7, 0, 0, 0], [8, 0, 0, 0], [9, 0, 0, 0], [10, 0, 0, 0], [11, 0, 0, 0], [1

[visualization-api] NoClassdefFoundError

2014-08-20 Thread simran kaur
I am following this example at get started page of Google charts to integrate charts in servlets.I made sure that I have added the essential jars and I am getting this error on trying to run it, it was successfully

Re: [visualization-api] Re: Chart Range Filter - hAxis label positions

2014-08-20 Thread 'Daniel LaLiberte' via Google Visualization API
There is an undocumented "range" option for the AnnotationChart which you can use to control the range selector options. For example, the following will move the tick labels to the outside position: { "range": { "ui": { "chartOptions": { "height": 80, "chartA

[visualization-api] ClassDefNotFoundErroe org/apache/commons/logging/LogFactory

2014-08-20 Thread simran kaur
I am following this example to get started with google charts.I made sure that i added the jar files that are needed and the class compiled successfully but while trying to deploy it, here is the error that I am getting: How to fix this? java.lang.NoClassDefFoundError: org/apache/commons/loggi

[visualization-api] i have problem changing this to native javascript

2014-08-20 Thread anuj joshi
private native void createChart() /*-{ $(function () { $wnd.$(document).ready(function () { $wnd.Highcharts.setOptions({ global: { useUTC: false } }); $wnd.$('#container').highcharts({

[visualization-api] Donut charts with a single value don't show the value

2014-08-20 Thread Oren Hurvitz
Occasionally I need to display a donut chart that only has one value, i.e. a single slice that equals 100%. When that happens, the chart doesn't show the slice's value on top of the slice. This problem doesn't happen with regular pie charts; only with donut charts. Is there any way to get the v

Re: [visualization-api] Re: Chart Range Filter - hAxis label positions

2014-08-20 Thread Shivani Kanakhara
Ok thanks. Can we do the same for Annotation Charts?? On Wednesday, August 20, 2014 5:46:33 PM UTC+5:30, Daniel LaLiberte wrote: > > I set the control's ui.chartOptions.chartArea.height and increased the > height, and it seems to work fine: > http://jsfiddle.net/dlaliberte/0wb2zvye/ > > > On Wed

Re: [visualization-api] Re: print out high resolution

2014-08-20 Thread Yehonathan Sharvit
I see. 1. The solution I found is to scale the svg like this: http://jsfiddle.net/viebel/vwc8dh8k/10/ before to convert it to an image/octet stream. 2. Is there a way to create a big chart without affecting what is display on the screen? On Wed, Aug 20, 2014 at 3:50 PM, Andrew Gallant wrote:

Re: [visualization-api] Re: print out high resolution

2014-08-20 Thread Yehonathan Sharvit
I see. 1. The solution I found is to scale the svg like this: http://jsfiddle.net/viebel/vwc8dh8k/10/ before to convert it to an image/octet stream. 2. Is there a way to create a big chart without affecting what is display on the screen? On Aug 20, 2014, at 3:50 PM, Andrew Gallant wrote:

[visualization-api] Re: print out high resolution

2014-08-20 Thread Andrew Gallant
Resolution translates directly into image size, as pixels in a browser have fixed physical dimensions for any given screen size, resolution, and scaling (browser pixels do not necessarily map 1:1 to screen pixels). The Visualization API is not aware of (and cannot be made aware of) the differe

[visualization-api] Re: Modifying chart source

2014-08-20 Thread Andrew Gallant
No, it is not open source. You can contribute 3rd-party visualizations, controls, and other tools if you like (https://google-developers.appspot.com/chart/interactive/docs/dev/index). You cannot save the API's javascript locally, as this is prohibited by the Terms of Service

[visualization-api] Re: Timelines in js from a google script?

2014-08-20 Thread Andrew Gallant
The only problems I see with that file are that it is missing a declaration, and it has an errant comma at the end of the data array: var data = google.visualization.arrayToDataTable([ ['Pres', 'Start', 'End'], ['2004', new Date(1789, 3, 29), new Date(1797, 2, 3)], ['2005', ne

Re: [visualization-api] Charts deprecation

2014-08-20 Thread Andrew Gallant
The deprecation policy states that Google will continue to provide service for deprecated API's and components for 3 years from the date of deprecation. After 3 years, access could be turned off at any time. The Visualization API team's goal with deprecated components is to replace them with

[visualization-api] Re: Visulization API version

2014-08-20 Thread Andrew Gallant
You should use version 1, which is always the most current release. Version 1.1 is for the release candidate, which may not be stable. On Wednesday, August 20, 2014 1:48:13 AM UTC-4, Shivani Kanakhara wrote: > > Which Visulization API version should be used? 1.0 or 1.1 ?? > In case of using vers

Re: [visualization-api] Re: Chart Range Filter - hAxis label positions

2014-08-20 Thread 'Daniel LaLiberte' via Google Visualization API
I set the control's ui.chartOptions.chartArea.height and increased the height, and it seems to work fine: http://jsfiddle.net/dlaliberte/0wb2zvye/ On Wed, Aug 20, 2014 at 2:17 AM, Shivani Kanakhara wrote: > Hello, i tried changing the chartArea options (height,top,bottom)..still > cannot get to

[visualization-api] Deprecation Notice for Google charts

2014-08-20 Thread Shivani Kanakhara
If a chart is about to be deprecated,when will we be notified? What does 3-year deprecation policy mean? Does it mean that we will be notified regarding chart chart deprecation 3-years early? Also i would like to know that after the deprecation period is over can we continue to use those older

[visualization-api] Re: print out high resolution

2014-08-20 Thread Yehonathan Sharvit
How can I draw a chart with a high resolution? The only way I found is to increase the dimension of the chart. But this will also increase the size of the chart on the screen which is undesired. Is there a way ton increase the resolution of the chart without increasing its size on the screen? T

[visualization-api] Re: Chart Range Filter - hAxis label positions

2014-08-20 Thread anuj joshi
hey can you provide me the source code for the chart. -- 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...@googlegrou

Re: [visualization-api] Annotation Chart -hAxis- Does not display days of the week

2014-08-20 Thread Shivani Kanakhara
yes On Wednesday, August 20, 2014 1:46:49 PM UTC+5:30, anuj joshi wrote: > > hey is this a dynamic chart. if yes can u help me > > > > On Wed, Aug 20, 2014 at 1:12 PM, Shivani Kanakhara > wrote: > >> On narrowing the range selector in annotation chart Year on hAxis changes >> to date but the da

[visualization-api] Modifying chart source

2014-08-20 Thread Shivani Kanakhara
Is Google charts api open source? Can anybody modify its source or contribute as a developer by adding or modifying the source code?? Can we save the JS locally? -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from th

Re: [visualization-api] Annotation Chart -hAxis- Does not display days of the week

2014-08-20 Thread anuj joshi
hey is this a dynamic chart. if yes can u help me On Wed, Aug 20, 2014 at 1:12 PM, Shivani Kanakhara wrote: > On narrowing the range selector in annotation chart Year on hAxis changes > to date but the date does not change to days of the week (E.g > MonJun12,TueJun13). It works fine with annot