Re: [visualization-api] Combo Chart

2013-08-06 Thread Georges BUSTOS
Hello everybody that's more than I need Thanks so much for your great help Georges Le lundi 5 août 2013 19:21:03 UTC+2, asgallant a écrit : Cool, didn't know about that option (it's missing from the documentation). On Monday, August 5, 2013 12:39:58 PM UTC-4, Sergey wrote: Touché. Since

[visualization-api] Re: Timelines (from our Google I/O presentation) is now available for testing!

2013-08-06 Thread Jesse Fletcher
Datetime is not listed as a data type for Timeline charts. Datetime is a data type for annotated timeline charts although. I am referring to this chart: https://developers.google.com/chart/interactive/docs/gallery/timeline If I insert for example this data: new Date(2013,6,12,14,30,0) Only

[visualization-api] Re: Google Visualisation - How to update other calculated cells in spreadsheet after google.visualization.DataTable setValue()?

2013-08-06 Thread Chris
Got it, thanks for your help! On Tuesday, August 6, 2013 11:31:31 AM UTC+8, asgallant wrote: The query returns the value of the cell as calculated by the spreadsheet at the time of the query - the formula is lost. You either have to manually recalculate affected cells, or you can use a

[visualization-api] timeline+json+mysql problem

2013-08-06 Thread mizzle lee
im new to learning google visualization API, i facing a problem when i wan to create a timeline and get the data from mysql. below is the source code: *json1.php* ?php $host=localhost; $user=root; $password=; $koneksi=mysql_connect($host,$user,$password) or die(Cannot Connect The Database);

[visualization-api] how we can connecte combochart with“Controls and dashboards”

2013-08-06 Thread Alireza MOUSSAEI
hello every one i have ComboChart that get data from my data table and this is Structure of my var data = response.getDataTable(); cost_reportings_timestamp---Bureau de M. le Maire---Salle de réunion---Secrétariat /accueil 8 déc.

[visualization-api] Capture selection event target and save locally for later event trigger

2013-08-06 Thread jason . johns
I'm using the Organizational Chart library to create a dynamic decision tree. One part of the chart library is after adding a new data row, a redraw is necessary to apply the data to the visual graph. When doing so, the visual identifier of an element selection is lost. What I'd like to do

Re: [visualization-api] Capture selection event target and save locally for later event trigger

2013-08-06 Thread Sergey Grabkovsky
Since you're adding data to the end of your table, the selection should stay relevant. You should be able to get the selection on the chart, and then set it again right after the redraw. For example: function redrawOrgChart() { // Remember the selection. var selection =

[visualization-api] Re: Timelines (from our Google I/O presentation) is now available for testing!

2013-08-06 Thread asgallant
Yes, I knew what you were referring to, and the problem you are having is a formatting issue, not a lack of support for datetime data type. According to the documentation, there is no way to format the axis labels, and there definitely should be an option to do so. You can make a feature

Re: [visualization-api] timeline+json+mysql problem

2013-08-06 Thread Sergey Grabkovsky
The API encoding of the Date object is the same as the JavaScript Date constructor, but in a string. That means the value should be Date(year, month, day). So you would have to split your date string on '-', and then create a new string with the date object to put into the DataTable. - Sergey

Re: [visualization-api] how we can connecte combochart with“Controls and dashboards”

2013-08-06 Thread Sergey Grabkovsky
I'm afraid your jsfiddle isn't very helpful, since it's not using your data. Most of the time, errors occur because of malformed data. With that said, you have the line bind([control], [ComboChart]). But you never define ComboChart as a variable. I think you meant to write bind([control],

[visualization-api] One or more participants failed to draw()

2013-08-06 Thread Alireza MOUSSAEI
hello this is my code : !function($) { //google.load('visualization', '1.0', {'packages':['table']}); google.load('visualization', '1', {packages: ['corechart']}); google.load('visualization', '1.1', {packages: ['controls']}); google.setOnLoadCallback(initialize);

[visualization-api] Re: Need help with the charts

2013-08-06 Thread asgallant
First off, this needs to be in an HTML file with appropriate HTML structure or it won't do anything. Second, in order to help you with pulling the data from your local files, it would help to see what the contents of those files look like. Third, you have 3 controls, 1 chart, and two data

[visualization-api] Re: One or more participants failed to draw()

2013-08-06 Thread asgallant
I see two potential issues here: 1) you are populating a select element with options and then immediately firing the change event handler, which expects there to be a selected option, but you don't set a default selected option, so this will return null (or undefined, or error out, depending

[visualization-api] Re: One or more participants failed to draw()

2013-08-06 Thread asgallant
Also, you shouldn't load the API twice: google.load('visualization', '1', {packages: ['corechart']}); google.load('visualization', '1.1', {packages: ['controls']}); You need only the controls package here, and unless you specifically need to use the release candidate version, you should use

[visualization-api] Re: Need help with the charts

2013-08-06 Thread kpj
Thanks for your response. Please find the data file and also columnfilter file in the attachments. I have written an Excel to KML converter in VBA which has modules that convert the excel data into array format and also has a module that pulls all the column lables and puts it in a column

[visualization-api] Re: One or more participants failed to draw()

2013-08-06 Thread Alireza MOUSSAEI
hello, @asgallant thanks but could you explain me here http://jsfiddle.net/armon000/ZQ9w3/2/ thanks On Tuesday, August 6, 2013 5:57:16 PM UTC+2, asgallant wrote: Also, you shouldn't load the API twice: google.load('visualization', '1', {packages: ['corechart']});

[visualization-api] Re: Create page allowing user input of values, which then displays calculated results and a (very) simple scatter chart

2013-08-06 Thread Andrew Lindsay
That will be great. Thank you. What information will you need from me? I can post the Excel workbook, if that would be helpful. Thanks again, Andrew -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To unsubscribe from this group

[visualization-api] Re: Need help with the charts

2013-08-06 Thread asgallant
The best way to handle this depends on how frequently the data changes in your Excel spreadsheet. If you are updating that data frequently, then it makes sense to set up a query like this. Any data that doesn't change (like, perhaps, the columns in the column filter) is easier to hard-code in

[visualization-api] Re: Need help with the charts

2013-08-06 Thread kpj
thanks for your support I pasted your code in a kml file..But, No charts are showing up. Again, My columns are dynamic .. Thats the whole reason to read the column labels and keep it in a different file.. Please find my Kml file in the attachment. Also, Please let me know a way to read the

[visualization-api] Show points on line chart

2013-08-06 Thread TheInnovator
Hello, Is it possible to make the points on a line chart visible? Right now the points only show as dots when you hover over it. I need it to show all the time. Any ideas? http://jsfiddle.net/GTpgA/21/ Thanks! -- You received this message because you are subscribed to the Google Groups

Re: [visualization-api] Show points on line chart

2013-08-06 Thread Thomas Rybka
Set pointSize to something higher than 0: http://jsfiddle.net/srGNf/3/ This specifies the diameter of the point in pixels. Thomas Rybka | Software Engineer | try...@google.com | Google On Tue, Aug 6, 2013 at 2:15 PM, TheInnovator isogu...@gmail.com wrote: Hello, Is it possible to make the

[visualization-api] Re: One or more participants failed to draw()

2013-08-06 Thread armon000
@asgallant Again i test it with this code but i have the same error : - !function($) { google.load('visualization', '1.1', {packages:

[visualization-api] Re: One or more participants failed to draw()

2013-08-06 Thread asgallant
You need to fix your JSON dates. The proper format is Date(year, month, day) (as a string), not new Date(year, month, day). This is because JSON does not support dates, so the API has a predefined string format that it uses to create Date objects. I'll look into the rest of your code when I

[visualization-api] Re: Create page allowing user input of values, which then displays calculated results and a (very) simple scatter chart

2013-08-06 Thread asgallant
This will probably be easier to do over email, and we can avoid clogging up the forum. Email me at asgallant571+g...@gmail.com. On Tuesday, August 6, 2013 1:06:26 PM UTC-4, Andrew Lindsay wrote: That will be great. Thank you. What information will you need from me? I can post the Excel

[visualization-api] Re: Need help with the charts

2013-08-06 Thread asgallant
You don't want to put the HTML inside a KML file, it should be run directly as an HTML file from your browser. For that matter, the DataArray and StatArray files aren't really KML files, but the Visualization API doesn't care about that. I reworked the HTML example to handle the dynamic

[visualization-api] Re: Create page allowing user input of values, which then displays calculated results and a (very) simple scatter chart

2013-08-06 Thread Andrew Lindsay
Thank you. Email sent. -- 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,

[visualization-api] Displaying A Single Metric on a Web Page

2013-08-06 Thread WhoSoLovesUs
Hi, I am just getting started with visualizations I'm using a google doc, and for now I am embedding charts into an HTML page, which is working really nicely However there is no chart type for a single metric, which I'd like to include on the dashboard I'm creating Would creating a

[visualization-api] Re: Combo chart bar color

2013-08-06 Thread asgallant
Ahh, the arrayToDataTable function does not support date type columns. If you switch to manual construction (or the JSON format), you can use dates, like this: http://jsfiddle.net/asgallant/TPAa2/ On Tuesday, August 6, 2013 11:02:02 PM UTC-4, Luke Skywalk wrote: I tried with that :