You can create a DataView from the DataTable, use the DataView#hideRows() 
method to hide your outliers, and then draw the chart from the view.  Eg: 

/*  assumes:
 *    data is a DataTable object
 *    chart is a chart object
 *    options is an option object to pass to the chart
 */
var view = new google.visualizations.DataView(data);
// hide the first 3 and last 3 points (outliers)
view.hideRows(0, 2);
view.hideRows(data.getNumberOfRows() - 3, data.getNumberOfRows() - 1);
chart.draw(view, options);

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/rJGFFjFTJ9UJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to