Questions tagged as 'google-charts'

1
answer

Google Charts returning null in mysql query and loop

If I do the query in the database it returns values, already in the charts it is returning null, what am I doing wrong? <?php require("conexao.php"); //chama o arquivo de conexão ao BD include("query_ti.php"); ini_set('display_errors', 0);...
asked by 09.09.2016 / 22:31
3
answers

How to popular line chart of google charts with JSON

I'm trying to pop up a graph of google-line charts, it will be quite simple just the client name on the x-axis and the amount of open calls on the y-axis, I'm returning the following JSON array    [{"Name": "Test Client", "Tickets": 6}] T...
asked by 29.07.2016 / 14:54
1
answer

Google Chart - Bar Chart change Background (Background)

I have the Code: <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script><scripttype="text/javascript"> google.charts.load('current', {'packages':['bar']}); google.charts.setOnLoadCallback(d...
asked by 13.03.2016 / 15:26
0
answers

Make google-charts bar preview start from scratch

I have a chart of google charts in the system that may be reset, if it is reset I need to start from 0, but I can not configure it, I tried to use viewWindow.min , but it does not work. documentation does not cite anything about it....
asked by 27.11.2018 / 14:40
0
answers

Google Chart Line

I have a home use project, all done and Classic ASP (VBScript) in which I use information generated in an array from txt files. The project has a number of on-hand bar graph generation modules (with VBScript), and I have now decided to use Googl...
asked by 31.10.2018 / 05:07
0
answers

Color problems in Google Charts Bar

I can not generate different colors in google charts bars. The data is coming from a data.addRows([[${golLog}]]); variable and I noticed that inside that variable there is an array. It looks like it throws only the first color for the two...
asked by 18.10.2018 / 17:55
1
answer

JavaScript: Add object inside an array of objects

I have: var options = { title: 'Titulo', width: largura, height: altura, vAxis: { title:"Porcentagem % em vendas", format: 'decimal' }, hAxis: { title: "Seleção de clientes - Comutativa", } }...
asked by 09.10.2018 / 20:37
0
answers

Generate Multi-Chart with angular-google-charts

I'm having trouble generating a multi-chart bar with angularjs, with my data coming from the backend json AL: BANRISUL: {APROVADO: 0.28}<br /> BONSUCESSO: {APROVADO: 1.07} PAN: {APROVADO: 1.24} __proto__: Object AM: BANRISUL: {APROVAD...
asked by 02.10.2018 / 14:24
0
answers

Google Charts has difference of two hours in the display, how to solve?

I'm having this google charts example code, however in my midwest region of Brazil , it shows difference of two hours, how to solve this spindle problem? Thank you in advance. google.charts.load('current', {'packages':['bar']}); google.c...
asked by 07.08.2018 / 13:37
1
answer

Google chart, PHP and Ajax - Pizza chart does not show

I'm not able to plot the pie chart on the google chart. When I change the graph type to Barchart or columnchart, it plots, but when I put piechart it does not divide it. File that takes DB data <?php require('../../Controller/conexao_bd...
asked by 20.04.2018 / 16:59