[visualization-api] Hiding few Zoom buttons in Annotation Chart

2014-08-19 Thread Shivani Kanakhara
Can we hide few zoom buttons in Annotation Chart? In case where data contains only date and no time then there would be no use of zoom buttons- 1hour, 1day. Also can we add zoom buttons like for 2 years, 10 years..as per need?? -- You received this message because you are subscribed to the

Re: [visualization-api] Re: Range selector Annotation Chart

2014-08-19 Thread Shivani Kanakhara
Ok thanks. Can i know approx time around which this bug can be fixed? Any new releases coming for annotation chart? On Tuesday, August 19, 2014 7:14:56 AM UTC+5:30, Daniel LaLiberte wrote: The AnnotationChart uses a ChartRangeFilter for the range selector, and there is actually an

[visualization-api] Can tooltips column be in the CSV?

2014-08-19 Thread Chinmaya Dash
Hi all, I have a csv which is being read to create charts - 3 lines in the chart. This is how how I make the underlying table for the charts- var arrayDataPF = $.csv.toArrays(csvStringPF, {onParseValue: $.csv.hooks.castToScalar}); var dataPF = new

[visualization-api] a.Xe is not a function - error

2014-08-19 Thread ma
I am writing to seek help, to be able to solve the a.Xe is not a function error, when I render the charts API. I am able to get the pie chart displaying on the client-side but I am unable to get the table and the category filter box. I tried searching online for this error but I am was

Re: [visualization-api] Re: Range selector Annotation Chart

2014-08-19 Thread 'Daniel LaLiberte' via Google Visualization API
Fixing the option to disable auto-zooming of the ChartRangeFilter should be relatively easy, since it is about disabling functionality. But I don't yet know why it is not working, and other things will tend to take higher priority, so I don't want to promise anything right now. There are some

[visualization-api] google charts webmatrix

2014-08-19 Thread Tiago Correia
I'm using webmatrix to create a chart from my db. I have one cshtml file var db = Database.Open(MyDB); var data = @SELECT ESTADO, COUNT(*) CNT FROM graficos WHERE ESTADO IS NOT NULL GROUP BY ESTADO; var resultadoSql = db.Query(data); Json.Write(resultadoSql,

Re: [visualization-api] Re: Display total at top of legend in pie chart

2014-08-19 Thread manish philip
Hi Andrew, I added the piece of code but i am getting ReferenceError: barChart is not defined. attaching the full code. it would be great if you could tell me where am i going wrong. meta http-equiv=content-type content=text/html; charset=utf-8/ titlece/title script

[visualization-api] Re: Background colors for threshold indicators on line chart (stripped ? )

2014-08-19 Thread Scott Miller
Andrew, Thanks for reply. The jsfiddles are pretty much exactly what I'm looking to do. Admittedly I was expecting something much less complicated. I'll be using this with about 100 different series so it'll take some trial an error on my part to get this working. Thanks again! On Thursday,

Re: [visualization-api] Hiding few Zoom buttons in Annotation Chart

2014-08-19 Thread 'Daniel LaLiberte' via Google Visualization API
There is a new feature coming out in the next release that will let you configure the zoom buttons. You can use this now if you load version '1.1'. Here is a summary of how to use it. There are two options, 'zoomButtons' and 'zoomButtonsOrder'. The zoomButtonsOrder value is just an array of

Re: [visualization-api] Hiding few Zoom buttons in Annotation Chart

2014-08-19 Thread Shivani Kanakhara
It worked :) Thank you so much. On Tuesday, August 19, 2014 6:35:49 PM UTC+5:30, Daniel LaLiberte wrote: There is a new feature coming out in the next release that will let you configure the zoom buttons. You can use this now if you load version '1.1'. Here is a summary of how to use it.

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

2014-08-19 Thread 'Daniel LaLiberte' via Google Visualization API
Did you try using it like this: options: { ui: chartOptions: { hAxis: { textPosition: 'out' } } } See chartOptions on https://developers.google.com/chart/interactive/docs/gallery/controls#chartrangefilter On Tue, Aug 19, 2014 at 9:13 AM, Shivani Kanakhara shivani.10@gmail.com wrote:

Re: [visualization-api] google charts webmatrix

2014-08-19 Thread 'Sergey Grabkovsky' via Google Visualization API
This is actually pretty easy to achieve, especially if you just generate a 2D array and use the arrayToDataTable method. Here's something to get you started: function jsonToTable(json, order) { var headers = []; var data = [headers]; for (var i = 0; i json.length; i++) { var

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

2014-08-19 Thread Mackey McCandlish
doGet() returns HtmlService.createHtmlOutputFromFile('timeline'), and timeline.html has the html in it. Timeline.html is another file in the project. Thanks. On Monday, August 18, 2014 5:18:09 PM UTC-7, Andrew Gallant wrote: Is the chart code in the file you load through the

Re: [visualization-api] a.Xe is not a function - error

2014-08-19 Thread 'Sergey Grabkovsky' via Google Visualization API
The first issue I see is that you're doing two google.load calls, each for a different version, which is recommended against. The other potential issue is that you have a 'table' variable that is never defined. Once you fix those issues, everything should work. If it does not, post back here and

Re: [visualization-api] Can tooltips column be in the CSV?

2014-08-19 Thread 'Sergey Grabkovsky' via Google Visualization API
Unfortunately, there's no way to do this without doing some extra work (unless you can pack JSON into your CSV and parse it). If you can figure out how to do that, then it's as simple as having the relevant header be {role: 'tooltip'}. If you can't do that, but know the index of the tooltip

Re: [visualization-api] google charts webmatrix

2014-08-19 Thread Tiago Correia
Thanks Sergey, but that function should be used on the file that is generating the json or in the file that is publishing the chart Terça-feira, 19 de Agosto de 2014 14:48:09 UTC+1, Sergey escreveu: This is actually pretty easy to achieve, especially if you just generate a 2D array and use

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

2014-08-19 Thread Shivani Kanakhara
Yes i did try using that option. It doesn't work. textPosition:out and textPosition:none works same. No labels displayed. var control = new google.visualization.ControlWrapper({ controlType: 'ChartRangeFilter', containerId: 'control_div', options: {

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

2014-08-19 Thread 'Daniel LaLiberte' via Google Visualization API
Ah, well the problem is probably that there is no space outside the chart area for the axis labels. You'll have to also experiment with the height, chartArea.height, and chartArea.top options to leave enough space on the bottom for the axis labels. On Tue, Aug 19, 2014 at 10:07 AM, Shivani

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

2014-08-19 Thread MB
I implemented as you suggested, but now I get aOne or more participants failed to draw()× error. Any idea what could be going on? (file attached). I can't think you enough, you've been incredibly helpful. (On a side note, is there any easy way for an amateur to debug this myself so I don't have

Re: [visualization-api] google charts webmatrix

2014-08-19 Thread 'Sergey Grabkovsky' via Google Visualization API
It should be used in the function that is publishing the chart, instead of your var data = new google.visualization.DataTable(jsonData); On Tue Aug 19 2014 at 10:03:18 AM Tiago Correia droid.paintu...@gmail.com wrote: Thanks Sergey, but that function should be used on the file that is

[visualization-api] How do I increase the accuracy of my pie chart? 99.9% -- 99.99%

2014-08-19 Thread Kevin Machado
I have a few pie charts that pull from a web service dynamic data. Right now it displays a percentage of a pie up to a tenth of a percent. I need it to display to the hundredth of a percent. 99.9% -- 99.99% -- You received this message because you are subscribed to the Google Groups Google

[visualization-api] Re: google charts webmatrix

2014-08-19 Thread Tiago Correia
// Load the Visualization API and the piechart package. google.load('visualization', '1', {'packages':['corechart']}); // Set a callback to run when the Google Visualization API is loaded. google.setOnLoadCallback(drawChart); function drawChart() { var

Re: [visualization-api] Proper box and whisker charts

2014-08-19 Thread Bryan Maloney
I'm beginning to think that there is currently more of a need for a good table of contents on the docs than there is for new features (although new features are needed). -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To

Re: [visualization-api] Proper box and whisker charts

2014-08-19 Thread 'Sergey Grabkovsky' via Google Visualization API
We are slowly but surely working on revamping the docs. It's a lot of work to do it without losing information. On Tue Aug 19 2014 at 11:14:19 AM Bryan Maloney maloneywritin...@gmail.com wrote: I'm beginning to think that there is currently more of a need for a good table of contents on the

[visualization-api] Charts deprecation

2014-08-19 Thread Shivani Kanakhara
Is it possible that suddenly a chart is removed from the Api? Or it stops functioning. If yes then will there be any sort of announcement before its removal? Or if some other chart is made as an alternative to the deprecated one then can we continue using the older one? -- You received this

Re: [visualization-api] Re: google charts webmatrix

2014-08-19 Thread 'Sergey Grabkovsky' via Google Visualization API
It seems like it thinks that your CNT column is of type string. That wasn't what your original post implied. If that is indeed the case, you need to convert them to numbers. How you do that is up to you. A simple way would be to create a DataView with a calc column in order to convert it.

Re: [visualization-api] Charts deprecation

2014-08-19 Thread 'Sergey Grabkovsky' via Google Visualization API
Yes, the deprecation of a chart will be announced long before it is actually removed. Our goal is to provide viable alternatives (or at least frozen versions) before permanently removing a chart. But if I were you, I wouldn't start using any of the already deprecated charts (such as the

[visualization-api] drawing box plot in using google chart api

2014-08-19 Thread Shaiful Chowdhury
Hi, I am trying to draw box plot for one of my projects. Say I have an array with indexes 260, 360, 589, 760, 1400. Each index contains the count of it's own occurrences. So if the value of the array at index 260 is 50, this means I have 50 of 260s. Now I want to show the distribution of these

Re: [visualization-api] Re: Display total at top of legend in pie chart

2014-08-19 Thread Andrew Gallant
You need to add that code right after the code block where you create the barChart ChartWrapper object: var barChart = new google.visualization.ChartWrapper({ 'chartType': 'PieChart', 'containerId': 'chart1', 'options': { 'width': 900, 'height': 700, is3D:

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

2014-08-19 Thread Andrew Gallant
Can you attach Timeline.html here? On Tuesday, August 19, 2014 9:49:13 AM UTC-4, Mackey McCandlish wrote: doGet() returns HtmlService.createHtmlOutputFromFile('timeline'), and timeline.html has the html in it. Timeline.html is another file in the project. Thanks. On Monday, August 18,

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

2014-08-19 Thread Andrew Gallant
The problem stems from your ChartRangeFilter, and is ultimately 3-fold. First, the container ID is specified incorrectly, the object key should be containerId, not containerID. Second, you need to use the filterColumnIndex option when using a column index, not the filterColumnLabel option

[visualization-api] Re: How do I increase the accuracy of my pie chart? 99.9% -- 99.99%

2014-08-19 Thread Andrew Gallant
The pie slice percentages are not configurable, sorry. You can make a feature request http://code.google.com/p/google-visualization-api-issues/issues/list to add support for this. On Tuesday, August 19, 2014 10:54:53 AM UTC-4, Kevin Machado wrote: I have a few pie charts that pull from a

[visualization-api] Re: google charts webmatrix

2014-08-19 Thread Andrew Gallant
This: var jsonData = $.ajax({ url: teste.cshtml, dataType:json, async: false }).responseText; produces a string, not a javascript object. You need to parse the JSON into an object before you can use it with the function Sergey wrote: var data = jsonToTable(JSON.parse(jsonData),

[visualization-api] Re: drawing box plot in using google chart api

2014-08-19 Thread Andrew Gallant
A box plot typically involves plotting quartiles (or some other interval). If you are planning on plotting them, how will they be derived from your data? If not, then a box plot isn't really what you are looking for; can you provide an example of what you want to achieve? On Tuesday, August

[visualization-api] Re: drawing box plot in using google chart api

2014-08-19 Thread Shaiful Chowdhury
Hi I think I can draw it by using candlesticks directly. I will use the lowest value as low, highest value as high, 25th percentile as opening and 75th percentile as closing. I just have to figure out how to use the median. But thank you anyway. On Tuesday, August 19, 2014 5:56:51 PM UTC-6,

[visualization-api] Re: drawing box plot in using google chart api

2014-08-19 Thread Andrew Gallant
The API has intervals https://google-developers.appspot.com/chart/interactive/docs/gallery/intervals to handle this sort of thing - you don't have to resort to using a CandleStickChart. On Tuesday, August 19, 2014 9:19:18 PM UTC-4, Shaiful Chowdhury wrote: Hi I think I can draw it by using

Re: [visualization-api] Charts deprecation

2014-08-19 Thread Shivani Kanakhara
Ok.. is it possible to use a chart after it is deprecated or removed?- can i save the JS locally? Is it possible to save the library locally? On Tuesday, August 19, 2014 9:53:43 PM UTC+5:30, Sergey wrote: Yes, the deprecation of a chart will be announced long before it is actually removed.

[visualization-api] Visulization API version

2014-08-19 Thread Shivani Kanakhara
Which Visulization API version should be used? 1.0 or 1.1 ?? In case of using version 1.0 what difference will it make? Are both the versions stable enough to be used in a web application? -- You received this message because you are subscribed to the Google Groups Google Visualization API

Re: [visualization-api] Charts deprecation

2014-08-19 Thread Shivani Kanakhara
What does this mean? - Source: http://googledevelopers.blogspot.com.br/2012/04/changes-to-deprecation-policies-and-api.html Does it mean that with this deprecation policy we will have 3 year notice before an API will deprecate? On Tuesday, August 19, 2014 9:53:43 PM UTC+5:30, Sergey wrote:

Re: [visualization-api] Charts deprecation

2014-08-19 Thread George Michaelson
print( google.load('visualization', '1', {'packages': ['annotationchart']});\n) ; --- print( google.load('visualization', '1', {'packages': ['annotatedtimeline']});\n) ; 394c394 print(var chart = new