Most voted "google-charts" questions
The Google Chart API is an online tool developed by Google that makes it possible to create dynamic charts through web pages in minutes, its operation is quite simple, it just makes an HTTP request by sending parameters and returns an image in PNG format with the requested chart.
Learn more…133 questions
Sort by count of
-
13
votes0
answers693
viewsView regions with Google Geochart
Is it possible to display the states grouped according to their regions and a tooltip according to the region rather than the state? For example: Northern Region -> Acre, Amapá, Amazonas, Pará,…
-
12
votes1
answer1319
viewsDisplay data with Google Chart - Stacked
I’m using the Google Chart - Stacked to create a chart on my system. Even this part is working correctly, as can be seen in the example below: <script…
-
6
votes1
answer2022
viewsHow to pass values of an Ajax request to Google Chart?
I started messing with Google Chart today, and I can make the chart by putting the values in hand outside the requisicao ajax. Only that my application needs this data coming from a database and I’m…
-
6
votes2
answers5894
viewsHow to display the status on a geochart?
I’m displaying a state-level geochart. When configuring with the region of Brazil works, as you can see below, but not with the state code, for example: BR-SP google.load('visualization', '1', {…
google-chartsasked 8 years, 7 months ago Marcelo de Andrade 7,261 -
4
votes1
answer122
viewsTurning a datatable into an array with jquery
I have as output a string with the following format. [["link"],["<iframe id='player' type='text/html' width='452' height='272'…
-
4
votes1
answer240
viewsAngularjs google Chart with dynamic data
Example of how my code is http://plnkr.co/edit/hMnKAzjbkQzHWjL5p6KX?p=previewangularjs I receive the data from the webservice and organize this way. var avaliacoes_descTipo = []; var…
javascript angularjs google-charts angularjs-scopeasked 8 years, 3 months ago Erik Ieger Dobrychtop 153 -
4
votes3
answers1351
viewsChange String Axis Y Google Chart
Utilise Google Chart to generate charts. I have a array with values from 1 to 4. These values are of the type int. I need to change the description of the Y-axis. To: 1 = Great 2 = Good 3 = regular,…
-
4
votes0
answers53
viewsI’d like to know if you know how to Get the bar over another bar in the Timeline API Google Chart
This is a scale chart, I want to make the breaks, stay on top of the scale bar. <html> <head> <script type="text/javascript"…
google-chartsasked 7 years, 10 months ago Odirley P. Viana 41 -
4
votes1
answer335
viewsGoogle Chart’s Line with While
Good afternoon, I have the following appointment: SELECT DATE(o.data_fechamento) AS Data, u.nome AS Pessoa, COUNT(*) AS Total FROM ocorrencias AS o LEFT JOIN sistemas AS a ON a.sis_id = o.sistema…
-
3
votes1
answer366
viewsHow to put a link (href) in a piechart
How can I put a link somewhere in the graphic with Google Charts, a different link for each division of the graphic. I’m wearing a Piechart, follows link from jsfiddle and of page where I got the…
-
3
votes1
answer652
viewsSet value within a Jquery variable
I’m taking a beating like that to be able to do something simple(within my knowledge of Java). I’m carrying a Chart google on my page. At a certain point, I want to get the values of a REST that I…
-
3
votes1
answer1532
viewsChange caption line Google Charts
I am currently using the Google API (Google Charts) to generate some charts, but I noticed that when there are small percentages, eg: 0.94%, 1.2%, it makes the reading of the "Labels" a little…
-
3
votes1
answer850
viewsremove background from google Chart
Colleagues. I’m using Google Chart in a project, only when installing it in this project, it overlaps the div where it is. How would I put transparent the bottom of the Chart?…
-
3
votes1
answer906
viewsVertical lines Google Chart
I would like to add vertical lines to this graph. But I’m not getting it. I would like each group to draw a vertical line, as in this image. My current code: google.charts.load('current',…
-
3
votes1
answer786
viewsChange google Chart values by clicking on an element
I need to change the chart values from days to months and vice versa by clicking the "buttons" por dia/por mês, I have tried to create two charts and use hide(); and show(); when clicking, it almost…
-
2
votes1
answer882
viewsGoogle Pie Charts is not displayed when data has more than one Row
I am trying to display a Piechart, however, if the search in the database returns only one line, the chart is displayed. If it returns more than one line, the graph does not appear. function…
-
2
votes1
answer3631
viewsGraphics on Android
I need to implement a bar chart in an Android app. Can anyone help me? I only found google-Chart but did not understand how to apply to the app.
-
2
votes1
answer99
viewsProblem with Ruby Gem Chartkick
After the change to daylight time I’m encountering a problem with the Gem Chartkick. I rode my query as follows: Ticket.unscoped.where('created_at >= ? ', Time.now -…
-
2
votes1
answer718
viewsConvert string in parameter to arrayToDataTable(varString)
Hello, I’m starting to use ajax and the Google API (Chart) to create charts. I use a Generic Handler I called 'Collaboratorsempresa.ashx', in it I make a query in the database and return a string…
-
2
votes1
answer228
viewsSort data with google Chart
I have the following google chart Chart: https://jsfiddle.net/ektcghyk/ I wanted to sort the left columns as follows: Basic, Below Basic, Proficient and Advanced. Currently it is out of order, there…
-
2
votes0
answers572
viewsSend data by Ajax, query Mysql in background and plot Google Chart with found data
Below I present a step-by-step of what the code I will present already performs correctly. After that I will present the new approach that I would like to use, but which unfortunately is not…
-
2
votes1
answer1198
viewsHow to print/export (pdf, xls, printer) the graphics from google Chart?
I created a screen with several graphics using google Charts, but I need to print/export to pdf, xls, printer, only from everything I searched on the net I haven’t found anything yet, does anyone…
-
2
votes1
answer567
viewsGoogle Charts: Does not show all Abels and the chart gets pasted at the top
function drawChart() { var data = new google.visualization.DataTable(); data.addColumn('date', 'Day'); data.addColumn('number', 'AVG Position'); data.addRows([ [new Date('2015-04-14'),2.3], [new…
google-chartsasked 9 years, 7 months ago Eduardo Ferreira 29 -
2
votes1
answer164
viewsproblem with jQuery ajax
I am facing a problem when using google Charts, where it is working perfectly in Internet Explorer, but when running the same page in google Chrome or firefox, graphics are not shown my action…
jquery asp.net-mvc asp.net-mvc-4 google-chartsasked 9 years, 2 months ago Pablo Tondolo de Vargas 5,444 -
2
votes1
answer769
viewsHow to place two or more Google Charts on the same page using JSON and Asp.Net
I have the following code that works very well and generates a Google Charts, I would like to know how I can put 2 or more Graphs on the same page? I wonder if it is necessary to repeat this call of…
-
2
votes2
answers489
viewsHow not to overlap labels(Annotations) in google Harts?
I am developing a line chart, where the labels(Annotations) are fixed, but some points are very close to each other, thus superimposing a label on the other. I wonder if you have any way to change…
-
2
votes1
answer823
viewsHow to send Google Chart by email?
What would be a viable solution to send a Chart via email, via PHP? To get the Chart, I use it as follows: google.load("visualization", "1", {packages:["corechart"]});…
-
2
votes1
answer305
viewsGoogle Chats: Show total above column and grid show 1 to 1
I have the following Chart: I need to display row 1 to 1 and display the number also of the total at the top of the column. I know that the two will give the same result, and that I have 2 different…
-
2
votes1
answer220
viewsDompdf does not load graphic from my html page
Good afternoon guys, I have a problem where my pdf does not load my html... Controller: function pdf() { $this->load->library('pdf'); $data = $this->input->post('input'); $file_name =…
-
2
votes1
answer316
viewsHow to insert title to a Table Charts from the google Chart API
In the Google Chart documentation there is the possibility to insert titles for a specific chart. But for Table Chart it does not work. Would anyone have an idea of how to pass to the component the…
-
2
votes2
answers2570
viewsHow to place two Google Graphics Maps on the same page
I’m creating a web application that uses two charts powered by the bank. I use the Google Api, google Charts. However, only the first graphic appears while the other is blank. <html>…
-
2
votes1
answer521
viewswork with value in google maps
Well I’m taking a look at how google charts work. And I’m not finding the way to work with rods in R$. I need the chart to display the formatted values. Does anyone know how to do this? <html>…
-
2
votes1
answer167
viewsGoogle line Harts does not appear line
I’m trying to generate a line chart like Google Charts but the lines don’t form and I don’t know why. The chart even appears with the subtitles but no longer works follows below my code (the button…
-
2
votes0
answers177
viewsGoogle Barchart, create Bar with 2 Annotations
I own the following structure of a google barchart: google.charts.load('current', { packages: ['corechart', 'bar'] }); google.charts.setOnLoadCallback(drawMultSeries); function drawMultSeries() {…
-
2
votes1
answer262
viewsMake Google-Hartbar Preview Start From Scratch
I have a chart of google Charts on the system that may come zeroed, in case it comes zeroed I need to start from 0, but I’m not able to configure, I tried to use viewWindow.min but it doesn’t work.…
-
2
votes1
answer213
viewsColumnchart not reverting colors of options google Charts
I am filling a Columnchart with the data brought from mysql, only that I would like to put the columns of different colors, more unsuccessfully. Shows the same color in both columns, as you can see…
-
2
votes0
answers23
viewsError displaying Time on Google Columnchart chart
The Example chart below displays the Hours correctly: HTML: <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> <div id="chart_div"></div>…
-
2
votes1
answer46
viewsWhen trying to create date October 31, result is December 1
Today I went to visualize a graph that I have and I realized that it was all messed up but I didn’t understand why. I looked, reviewed, retested and no going back to normal. I’m guessing it’s a date…
-
1
votes1
answer1861
viewsGoogle Charts Tools - How to change colors of labels
I set up a line chart using Google Chart Tools. But I can’t change the colors of the labels. Look at this chart: http://assets.chris-saylor.com/img/g_chart_example1.png How I would change the colors…
google-chartsasked 10 years, 4 months ago Paulo Henrique Luvisoto 11 -
1
votes1
answer592
viewsmysql - Query to convert columns into rows
I have my appointment: SELECT inscricao, assiduos_a1, assiduos_a2, max(data_inclusao) FROM cli_agendados_assiduos WHERE INSCRICAO = 10357410; Returning: inscricao assiduos_a1 assiduos_a2…
-
1
votes0
answers361
viewsGoogle Charts Radar
Someone would have an example using Google Charts Radar? I did a lot of research, but I couldn’t find... All I could get was that example which is not Google.…
google-chartsasked 9 years, 4 months ago Jedaias Rodrigues 6,718 -
1
votes1
answer101
viewsChange attribute in Jquery
I was wondering if you could modify the attributes of a charts Google with a Jquery. Example: google.load("visualization", "1", {packages:["corechart"]}); google.setOnLoadCallback(drawChart);…
-
1
votes1
answer513
viewsGoogle Chart - Showing different dates
I’m developing some test with the google Chart API. And I’m having a somewhat peculiar problem. Code data = new google.visualization.DataTable(); data.addColumn({ type : 'date', label : 'Day' });…
-
1
votes1
answer256
viewsHow to load Google MAP Charts library
When trying to draw a Chart of type MAP, I get the following error: Uncaught Typeerror: google.visualization.Map is not a Function this occurs only with this type of Chart. <html> <head>…
-
1
votes1
answer552
viewsHow to make a chart grouped between bars and lines with google Chart and export to pdf (C#, MVC)
It would be something like the image below: Vlw guys…
-
1
votes1
answer58
viewsHow to make the Line Chart stand at ground zero
My Chart line is starting from -5, I would like the base to be 0, someone knows which configuration to use?…
google-chartsasked 8 years, 2 months ago Felipe Paetzold 4,527 -
1
votes1
answer110
viewsIt is possible to put an Animation in the Chart pie
Is it possible to use some Animation in google’s pie-Chart? I put it like this, but it’s not working: var options = { title: 'Tickets por prazo', series: { 0: {"color": '#57c8f2'}, 1: {"color":…
-
1
votes0
answers103
viewsI cannot modify the coding of my charts in Google Chart
I’m trying to change the encoding of my chart that I made using Google Charts with data coming from a json file. I’ve changed the contentType of $.ajax() but nothing happened. The chart is displayed…
-
1
votes0
answers140
viewsHow to add floating fixed caption in the middle of the chart?
I need to add two subtitles in the middle of the chart, they are only informative but need to stay in the middle of it. I tried several ways and I still can’t add. <html> <head>…
-
1
votes1
answer369
viewsAnnotations Google Chart - Stacked Horizontal
I’m using the Google Chart to develop some graphics. I have the following chart working: <script…