[visualization-api] Can I display one column of table data in a button format?

2014-10-15 Thread Nagendra Singh
Consider thsi code: *function drawCharts() {* * var jsonData1 = $.ajax({* * url: http://127.0.0.1:9001/jolokia/read/MineStar:type=UserJMXBeanExpose,name=Statistics/*,* * dataType:json,* * async: false* * }).responseText;* * var parsed1 = JSON.parse(jsonData1);* *

Re: [visualization-api] Google Charts animation

2014-10-15 Thread Tim Voronov
Hi Daniel, for my current purposes I need '*easeOutBounce*'. But if you are saying it's not hard to add, so it would be great if there were some of these functions : http://easings.net On Tuesday, October 14, 2014 5:26:18 PM UTC+2, Daniel LaLiberte wrote: Hi Tim, We don't support any other

[visualization-api] Re: Showing a table and under the table a pie chart with grouped data from the table

2014-10-15 Thread r . dejager
I changed the aggregation type to number. The table now shows but the pie chart is still not showing. I get an error: + Foutdetails webpagina Gebruikersagent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR

[visualization-api] drawToolbar is not exporting to CSV or HTML or whatever.

2014-10-15 Thread Fabio Batalha
Hello, I'm having problems to export a given DataTable to CSV or HTML using the drawToolbar. As you can see in the code below, I'm using a URL for the datasource, including, the datasource URL is been used also to draw a LineChart. The LineChart is been rendered well, instead of it, the CSV

[visualization-api] Missing Vertical line on the column chart y axis left most

2014-10-15 Thread born2achieve
I am missing the vertical line on the column chart. Can anyone please help me what if include i will get the Vaxis line -- 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

[visualization-api] Re: drawToolbar is not exporting to CSV or HTML or whatever.

2014-10-15 Thread Fabio Batalha
I have just figure out the problem. Google Chart and more specific the drawToolbar expects that the datasource must interpret the parameter qtx. When choosing to export to CSV the drawToolbar will change the base datasource url from: http://localhost/general/lines/data/?code=scl

[visualization-api] Word Tree IDs

2014-10-15 Thread Josh Beagley
So I'm trying my hand at explicit Word Trees to make an org chart, and I'm wanting to use IDs which are already in my database. They don't begin with 0, and several numbers are missing since people have left. The following *works by default*: nodeListData.addRow([0, 'Boss', -1, 1, 'black']);

Re: [visualization-api] Word Tree IDs

2014-10-15 Thread 'Jon Orwant' via Google Visualization API
Hi Josh, there are no promises in life, but you're safe. (static boss is a great concept. Very Big Brotherish.) And just FYI, we already have org charts: https://developers.google.com/chart/interactive/docs/gallery/orgchart Jon On Wed, Oct 15, 2014 at 6:13 PM, Josh Beagley

[visualization-api] Re: Example code for tooltips in a table chart

2014-10-15 Thread Andrew Gallant
There are a couple of things you need to adjust. First, your spans need quotes around the title text: data2.setFormattedValue(i, j, 'span title='+ testText +'' + formattedValue + '/span'); Then set up your tooltips in a ready event handler for the table, instead of on document ready:

[visualization-api] Re: Chart Size Within Parent Container

2014-10-15 Thread Andrew Gallant
Without being able to see code that reproduces the effect, I can only offer limited help. My first inclination is to check whether or not the chart containers are hidden at the time the charts are drawn (this frequently occurs when the charts are drawn in a tabbed interface). If they are,

[visualization-api] Re: Trying to change the line color on some parts of the line

2014-10-15 Thread Andrew Gallant
I answered this exact question 2 or 3 years ago. I'll try to find the post, though it seems to be eluding my search for the time being. On Saturday, October 11, 2014 5:25:15 PM UTC-4, Sjoerd Maessen wrote: I'm looking into a solution to realise something like the first line chart in the

[visualization-api] Re: Column Chart doesn't display on IE8

2014-10-15 Thread Andrew Gallant
I have not tested the charts personally in IE8 in a long time, but I do not know of any bugs that prevent them from working. If you can post code that isn't working in IE8, I'll take a look and see if I can figure out why. On Sunday, October 12, 2014 2:01:09 AM UTC-4, ANZ wrote: @asgallant

[visualization-api] Re: Uncaught Error: Invalid value in 0,0

2014-10-15 Thread Andrew Gallant
Your DataTable construction is not correct. Try this: ?php $con=mysqli_connect(localhost,root,,data_trafiek); $result = mysqli_query($con,select date,vol_dl,vol_ul from per_uur); if ($result !== false) { $output = array( 'cols' = array(

[visualization-api] Re: Not able to visualize charts in Android, suggest what changes required

2014-10-15 Thread Andrew Gallant
Do you have this problem with Visualization API charts everywhere, or is it specific to one or more websites? For example, can you view the charts in the API documentation https://google-developers.appspot.com/chart/interactive/docs/gallery/areachart ? On Tuesday, October 14, 2014 5:00:03 AM

[visualization-api] Re: Need Help with Line Chart With Filter and Range Slider

2014-10-15 Thread Andrew Gallant
You need to set the view parameter on the chart to restrict the chart to use columns 1 and 2 only: var myLine = new google.visualization.ChartWrapper({ 'chartType' : 'LineChart', 'containerId' : 'line_div', view: { columns: [1, 2] } }); On Tuesday, October 14, 2014

[visualization-api] Re: Is there a way to calculate the value of Y for the given value of X for Scatter Chart

2014-10-15 Thread Andrew Gallant
To the best of my knowledge, you cannot get the calculated value of a trendline point for a given x-value from the chart. You can make a feature request http://code.google.com/p/google-visualization-api-issues/issues/list to add support for getting the calculated value of a trendline point,

[visualization-api] Re: Can I display one column of table data in a button format?

2014-10-15 Thread Andrew Gallant
You can set the formatted value of the status value cells to whatever HTML string you need to create the appearance you want. As an example: for (var i = 0, length = data1.getNumberOfRows(); i length; i++) { var value = data1.getValue(i, 1); var className = (value === 0) ?

[visualization-api] Re: Showing a table and under the table a pie chart with grouped data from the table

2014-10-15 Thread Andrew Gallant
The DataView you create for the PieChart has the columns backwards, it would be: Pieview.setColumns([0, 1]); but you don't actually need a DataView for the PieChart; you can just draw the PieChart with the grouped data, since you don't have to change the column order or hide any columns:

[visualization-api] Re: Missing Vertical line on the column chart y axis left most

2014-10-15 Thread Andrew Gallant
The baseline only shows up when you have a continuous data type for the domain (x-axis). Given your labels, I believe you are using a discrete (string-type) axis, which will not show the baseline. On Wednesday, October 15, 2014 10:12:46 AM UTC-4, born2achieve wrote: I am missing the vertical

Re: [visualization-api] Google Charts animation

2014-10-15 Thread Pavel Volgarev
Hi Daniel, Tim's colleague is here. What we're ultimately looking for is a way to have a nice start-up animation, like in Chart.js (http://www.chartjs.org/). Google Visualization API does have transition animations but they haven't been working that well for us for a couple of reasons: -

Re: [visualization-api] Re: Can I display one column of table data in a button format?

2014-10-15 Thread Nagendra Singh
Yup its working. Thanks Andrew. On Thu, Oct 16, 2014 at 7:30 AM, Andrew Gallant agall...@google.com wrote: You can set the formatted value of the status value cells to whatever HTML string you need to create the appearance you want. As an example: for (var i = 0, length =

[visualization-api] Re: Showing a table and under the table a pie chart with grouped data from the table

2014-10-15 Thread r . dejager
Dang, i must be getting old..Dont know how i overlooked that. Thank you! That solved the problem Op donderdag 16 oktober 2014 04:07:14 UTC+2 schreef Andrew Gallant: The DataView you create for the PieChart has the columns backwards, it would be: Pieview.setColumns([0, 1]); but you