Hey there,
I'm having some issues with the Pattern Formatters. I have attached a snippet of my table for your reference, and here is my script;
function drawVisualization() {
var options = {'sortColumn': 0, 'sortAscending': false, 'allowHtml': true};
visualization = new google.visualization.Table(document.getElementById('feed'));
var formatter_medium = new google.visualization.DateFormat({formatType: 'medium'});
formatter_medium.format(listObject,0);
var formatterurl = new google.visualization.PatternFormat('<a href="{4}">{3}</a>');
formatterurl.format(listObject, [3, 4]);
visualization.draw(listObject, options);
}
Now for some reason, the script thinks I'm trying to access a column outside of the applicable range [0-4], but there are most definitely 5 columns in my table...
Here is the error message I get;
Uncaught Error: Invalid column index undefined. Should be an integer in the range [0-4].
I have been stuck on this for quite some time now and I was hoping someone could shed some light on the error...
Thanks in advance