Questions tagged as 'google-charts'

1
answer

Format x-axis values - Google Charts

I need to format the x-axis values in the chart I'm doing. I did not find anything on Google to solve my problem: As you can see in the image, the value is thus $ 1000000, I would like to leave it this way: $ 1,000,000 or so $ 1,000,000...
asked by 18.04.2018 / 21:46
1
answer

How to put a value of a var inside an array item?

I'm working on Google Charts , but I came across a situation, and I'd like to know if I can do something like this: var numero = 45; var data = google.visualization.arrayToDataTable([ ['Onyx', '<valor da var numero aqui>] ]);...
asked by 12.04.2018 / 17:25
0
answers

Asp.Net MVC Chart

Good afternoon, I'm trying to implement a chart that shows me the total number of reservations made in a given month !! I already have this: Theproblemisthatthey-axisisdisplayingtheReservationIDinsteadofacountoftotalreservations.Inthisexa...
asked by 15.04.2018 / 17:38
1
answer

How to print bar chart of Google Charts in a PDF generated by mpdf?

I am making a report for a system and I need to print a pdf with the graph I generated and with the table data, but I inserting only the div chart is not generating the image. Can anyone help me? example: <div google-chart chart="c...
asked by 23.03.2018 / 15:50
0
answers

How to export a Google Charts to image chart for me to use in a PDF?

I'm making a report and I want to use a bar chart as part of the report in pdf , and I need the image link to insert an img tag: > JS: //----------------------------------------Gerando Chart de Relatório Bolsa Por Ano $scope.gerarGraf...
asked by 23.03.2018 / 17:53
0
answers

Modal not closing after filter

I have this JS file (Modal.js) which has the functions of show modal and close it after filter. function showPleaseWait(msg, btnClicked) { //recebo a mensagem e o botão clicado para saber se o form está valido if (btnClicked != undefined &...
asked by 16.03.2018 / 15:41
1
answer

Export Google Chart to image and save in a javascript variable;

I'm trying to extract the image from a google chart that I've 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 jsPDF to generate the pdf. JS: //-...
asked by 13.03.2018 / 18:01
0
answers

How to format hAxis to appear dd / MM / yyyy

On google chart I'm having trouble representing the hAxis with the dd/MM/yyyy hh:mm:ss data. The following command did not work: hAxis: { title: 'Tempo', titleTextStyle: { color: '#ff0000' }, gridlines: { count: -...
asked by 07.03.2018 / 20:27
0
answers

Doubts using google charts

I'm starting to use google charts for study purposes and would like to know how I can use this code to fill the table with data from a google spreadsheet. Could someone help me? Code.js <html> <head> <script type="text/javasc...
asked by 09.02.2018 / 15:07
1
answer

How to assemble chart with Google charts and PHP

I need to make a graph where it shows the total of entries and exits in pizza, I tried something like: <?php //Estrutura básica do gráfico $grafico = array( 'dados' => array( 'cols' => array( ), 'rows'...
asked by 07.02.2018 / 18:35