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
-
0
votes1
answer845
viewsGraphic with Google Charts
How can I fill this chart with Mysql data? <?php $sql = 'SELECT * FROM historicos'; $resultado = mysqli_query($conn, $sql); ?> <script type="text/javascript">…
-
0
votes1
answer193
viewsGoogle charts returning empty php mysql
I’m creating a Chart with php mysql, but the same is not returning anything on the screen. Queries are working normally in mysql. <script type="text/javascript"…
-
0
votes1
answer191
viewsGenerate different colors Google Chart
I’m having doubts about how to generate colors directly in config when executing the code and where to add colors to be generated , if in this case I should generate another graphic array ?…
-
0
votes0
answers131
viewsError to the popular Google Chart
The following error appears Invalid data table format: column #0 must be of type 'string'. Right now I have the return in json this way:…
-
0
votes0
answers53
viewsVariable Google Script for Htmlservice template
I have a google script published. I would like to be able to select a view option between two alternatives based on the choice of password. I tried if else statement, switch, without success. See…
-
0
votes0
answers742
viewsGoogle Charts - Centralize value on 'Donut Chart'
I have a problem in google Harts more specifically in the chart Donut Chart, the value is only centered when it is 100%, when below this the graph is deformed`, see image below.…
-
0
votes0
answers106
viewsGraph updating every n seconds
I am using Google Charts and I need to make a chart that updates both the values of the x axis and the y axis every n seconds. I need 50 data to be used for each update, so I used one SELECT max(id)…
-
0
votes1
answer468
viewsWhat causes the "Unknown Renderer type" error in Google Charts?
Hello, I’m making a program to generate graphics and started to appear this error in some, but the strange thing is, the graphics are generated from some selected checkbox, so when you select a…
-
0
votes1
answer470
viewsLine chart on Chart, highchart or char-google
I am new here in the forum, but I came across a problem, I wanted to know if it is possible to develop a line chart, but mark certain areas, equal to the graph of the normal distribution, I have…
-
0
votes1
answer414
viewsChart numbers from Google Charts
I want to turn the percentage graph data into real numbers, how do I do it? I tried to read the documentation but could not find. Code: <html> <head> <script type="text/javascript"…
-
0
votes1
answer1216
viewsGoogle Charts with php
I’m developing an application where each user will receive different types of data through google Harts, however I can’t make the data appear on the screen. Follow the javascript code snippet:…
-
0
votes0
answers78
viewsError using Google graphics library
I am performing a simple project, where I am using Google library to work with graphics, but I am facing a problem when "plotting" the results, the following error is presented: You called the…
-
0
votes1
answer581
viewsLine limit Google Charts
I am facing a problem that I do not find the solution rs I need to add a line limit on my chart, I’m going to put an image down on how it is now and how it should look. Can you guide me on this?…
-
0
votes1
answer291
viewsHow do I take a view image (html) and send it to a controller (php) using codeigniter?
I need to give a picture of mine view to the controller, be it just the string with the url or the whole html element, for me it doesn’t matter because I will use to mount a pdf through the mpdf, am…
-
0
votes1
answer371
viewsGoogle Chart, PHP and Ajax - Pie chart does not show
I’m not able to plot the Chart pie from google Chart. When I change the type of chart to Barchart or columnchart, it plots, but when I put piechart it does not divide. File that takes data from BD…
-
0
votes1
answer406
viewsExport Google Chart to image and save in a javascript variable;
I’m trying to extract the image of a Google Hart that I already generated and I want to export it to pdf, but for this I need to extract the image from the page, and I’m not getting it, I’m using…
google-chartsasked 6 years, 8 months ago Gabriel Becher 193 -
0
votes2
answers92
viewsMerge query returns to be populated a combochart
I have 2 appointments in the bank: One returns the goals of the day until the last day of the month: DIA META 1 3,23 2 6,45 3 9,68 4 12,9 5 16,13 6 19,35 7 22,58 8 25,81 9 29,03 10 32,26 11 35,48 12…
-
0
votes0
answers38
viewsGoogle Chart Line
I have homemade design, all done and Classic ASP (Vbscript) in which I use information generated in an array from txt files. The project has several bar graph generation modules generated "in hand"…
-
0
votes2
answers425
viewsHow to convert JSON to array to column chart in google Charts?
I have a JSON in the following format: [ { "Pais": "Qatar", "Valor": 683900 }, { "Pais": "Luxembourg", "Valor": 519360 }, { "Pais": "Iceland", "Valor": 476710 }, { "Pais": "Bahrain", "Valor": 442990…
-
0
votes1
answer65
viewsMap JSON to array-specific format for Google Charts line chart
I have a JSON in the following format: [ { "Countrys": [ "Cyprus", "Finland", "Germany", "Grenada", "Haiti", "Ireland", "North Korea", "Swaziland", "Turkmenistan", "Zambia" ], "ListDataPerYear": [ {…
-
0
votes1
answer106
viewsHow to style text from a Google Charts chart
Good morning! I have a question about using the Google Charts. I wonder how do I put style in the text. I know what can be done in the title using titleTextStyle, but I don’t know how to do for the…
google-chartsasked 5 years, 5 months ago João Simões 98 -
0
votes1
answer188
viewsAlign google Charts annotation with style: line
Hello, I have a problem, I can’t align the Annotation inside the column, and the Annotation should be vertical, follow code: <div id="grafico_qtd_clientes"></div> <script…
google-chartsasked 5 years, 2 months ago Ezequiel Oliveira 11 -
0
votes0
answers72
viewsInfomasons do not come complete in Google Charts
Good afternoon Guys, I’m having two problems with that same code... One is when I just launch the day so I can catch the hours, it returns me the error Cannot read property 'getTime' of null when…
-
0
votes1
answer132
viewsChart view of the current month and previous month google Charts
I need some help with Google Maps. I have a table where I store id, negotiator and date. I make a query to find out how many agreements that person made in the month and I can generate a graph, the…
-
0
votes1
answer255
viewsSearch database data with Nodejs
I have several charts from Google Charts because I am doing a Dashboard, the problem is that I need to make the connection with the bank via Nodejs for performance issues and acquire knowledge in…
-
0
votes0
answers22
viewsSerialization error while loading google chart Charts
I have the method JsonResult called "Carregarchart" which returns a DataTable for a request Ajax where I’m trying to popular data on a google graphic Maps, and the problem is that the following…
-
0
votes0
answers37
viewsDoubts with API Google Charts
I’m trying to use the API "Google Charts", to draw a map of Brazil that will show the states where the company is operating. But I need to design only Brazil, and even specifying the variable "BR"…
-
0
votes0
answers20
viewsAdd star icon to Google Chart Candlestick
I am trying to add a star icon to the Candlestick chart with Google Charts api, but I find it difficult. If anyone can help me: I saw it working on this google page:…
-
0
votes0
answers9
viewsGoogle graphic image/ asynchronous request
I am mounting a report where I need to generate graphics through the google Chart api and generate the graphic image to insert into the report pdf. I can generate the graphic and I can generate the…
-
-1
votes1
answer956
viewsChanging the X-axis view on a graph
I’m using the Google API to create some financial charts. Currently I have data in which the axis X (horizontal) represents the date and the axis Y (vertical) represents the quotation of the day:…
-
-1
votes1
answer366
viewsChart per weeks
Hello, I am trying to put together a chart that shows the data grouped for weeks, as in the example below: In this example Domimog had 2 records, Second 2 records, Third 1 record... I’m trying with…
-
-1
votes1
answer69
viewsHow to update data in Google Charts with Json
I have a problem using Google Charts and Json. In this site when entering two inputs (Data1 and Data2) are filled with the first day of the month and last day of the month respectively. Then he…
-
-1
votes1
answer589
viewsHow to leave dynamic graphics with Google Harts?
I have a problem in plotting my line chart using google Harts, when he does the search in the flock and populates my chart the same does not remove the oldest value, so keeps inserting and polluting…