You put the chartView option in the wrong place, and you only need to
specify one of "filterColumnIndex" or "filterColumnLabel". It should be
like this:
var myIdSlider = new google.visualization.ControlWrapper({
'controlType': 'ChartRangeFilter',
'containerId': 'control_div',
'options': {
'filterColumnIndex': 4,
'chartView': { 'columns': [4, 1] }
}
});
On Thursday, March 13, 2014 12:12:54 PM UTC-4, Missy wrote:
>
> Hello,
>
> Thank you for your feedback and help. I tried adding in the new option to
> the chartRangeSlider but I am still getting the same error.
>
> var myIdSlider = new google.visualization.ControlWrapper({
> 'controlType': 'ChartRangeFilter',
> 'containerId': 'control_div',
> 'options': {
> 'filterColumnLabel': columnNames.split(',')[4],
> 'filterColumnIndex': '4',
> },
> 'chartView': { 'columns': [4, 1] }
> });
>
> As further reference, this is what my data looks like behind:
>
> <script
> type="text/javascript">google.load('visualization','1.0',{'packages':['corechart','controls']});google.setOnLoadCallback(function(){drawVisualization([{"ColumnName":"WESTC","Value":72,"Type":"TALK","Date":"\/Date(1394582400000)\/","ID":538321},{"ColumnName":"SAYB","Value":98,"Type":"TK","Date":"\/Date(1394582400000)\/","ID":538320},{"ColumnName":"INDEP","Value":98,"Type":"TK","Date":"\/Date(1394582400000)\/","ID":538319},{"ColumnName":"GEMST","Value":4,"Type":"TK","Date":"\/Date(1394582400000)\/","ID":538318},{"ColumnName":"DASH2","Value":95,"Type":"TK","Date":"\/Date(1394582400000)\/","ID":538317}],'Text
>
> Example','Text Example','Text Example','Type,');});</script
>
>
> Many thanks for your help and time.
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.