Questions tagged [google-datatable]

Google visualization provide API for JavaScript class (DataTable) that represents a two-dimensional, mutable table of values. It is used along with Google charts.

More details can be found in official documentation https://developers.google.com/chart/interactive/docs/reference#DataTable.

36 questions
1
vote
0 answers

Error plotting graph using PHP/SQLServer/JSON

I am new to PHP and first time using JSON for plotting graphs using Google charts. I am pulling data from sql server database and generate JSON file. JSON file is generated fine on the server as…
1
vote
1 answer

Google DataTable: Return a column object

I am using the google datatable object to create google visualizations. I would like to read a datatable and then create multiple subtables from that original object. According to the google documentation there is not a method to "getColumn."…
slimbo
  • 2,699
  • 4
  • 25
  • 36
1
vote
2 answers

Google Geochart Google.Visualization.Datatable is not a constructor

I've been going nuts trying to figure out why my Geochart isn't displaying. I searched all over google and none of the solutions to similar questions have worked for me. I tried adding an alert box right before the line that is erroring and…
Jamie
  • 61
  • 1
  • 3
1
vote
1 answer

Count number of rows after filter in Google Visualisation Table

I have implement various controls in a Google Visualisation Table for multiple filter: CategoryFilter, StringFilter and NumberRangeFilter like this exemple http://jsfiddle.net/asgallant/Ena84/ Is it possible know the number of rows visualised in…
gpsblues
  • 19
  • 1
  • 8
1
vote
1 answer

Combining google.visualization.datatable with checkbox and KnockOut data-bind

I'm in the process of converting my 'normal' HTML tables into Google's DataTable. Mostly because it will give me fixed headers and sorting. Thanks to Creating advanced KnockOut binding handler for google.visualization.datatable I managed to create a…
1
vote
0 answers

Google datatable sort columns as numbers

Using the google embed api and datatables to visualize my analytics. The problem is the columns don't resort correctly -- that is everything is treated as a string. I have this…
Rothrock
  • 1,413
  • 2
  • 16
  • 39
1
vote
1 answer

Google DataTable - Update cell and display

I'm having trouble updating a cell in Google DataTable and having the display reflect the change. Right now, my solution is to redraw the table but it messes up the page scrolling and where the user was at in the table. Any idea what I'm missing?…
user1732055
  • 2,517
  • 1
  • 13
  • 22
1
vote
1 answer

Google Visualization Column Chart specify Target line as Certainty role

When i put this below code i came with on visualization playground i get the Goal/Target line, but i want it to be dashed/dotted which requires certainty role as specified in the docs. Can anyone enlighten me how to do it with a array input to…
Deeptechtons
  • 10,945
  • 27
  • 96
  • 178
1
vote
2 answers

Find lowest and highest values from Google Charts DataTable

I'm drawing a chart (Google Charts API) with this DataTable: chart_data = new google.visualization.DataTable(); chart_data.addColumn('string','date'); chart_data.addColumn('number','value'); chart_data.addRows([ ["10 May",0.23], ["11…
Andres SK
  • 10,779
  • 25
  • 90
  • 152
0
votes
1 answer

How to show initially only two page once click on last page next page number should show in google chart datatable

google.charts.load('current', { 'packages': ['table'] }); google.charts.setOnLoadCallback(drawTable); function drawTable() { var dataTable = new…
0
votes
1 answer

Proper way to populate a Google data table with dynamically generated JSON

I'm trying to make a Google data grid (using gstatic.com) as part of an MVC .net Core project. I am returning Json from a controller to the view. The json I am receiving looks correct (I believe), but I have not been able to figure out how to get…
David
  • 43
  • 10
0
votes
0 answers

Multiple JSON objects for multi series chart

I am using the Google.DataTable wrapper by @zoranmax. I can get a single line chart to work fine. What I want to do is display multiple lines. When I return the JSON to AJAX call to create the chart I am told that I have no columns in the table. The…
The OrangeGoblin
  • 764
  • 2
  • 7
  • 27
0
votes
1 answer

Add Rows and Columns to Google DataTable Net Wrapper

I am creating a Google DataTable Net Wrapper DataTable from the scratch. But I dont know how to add rows to the datatable. I have progressed to the code as below Google.DataTable.Net.Wrapper.DataTable GDt = new…
Hitesh
  • 3,449
  • 8
  • 39
  • 57
0
votes
1 answer

Google Sheets: Map Not Rendering with Custom Markers

I am trying to render a map in Google Sheets and set custom markers. I have followed the App Script Docs that go over this topic: Visualization: Map. The map is rendering with the icons in the correct places, but the icons are the default set. I…
ZAR
  • 2,550
  • 4
  • 36
  • 66
0
votes
1 answer

Google datatable - converting "date" string into actual new Date() for entire column (setCell??)

I'm creating a very simple array (I have to list first row as titles?) and parsing it from views.py to template... def index(request): array = [['date','a','b'],["2014,3,3", 10, 8], ["2014,8,3", 6, 4]] return…