ui.Chart.setView

Sets a view for this chart.

Returns this chart.

UsageReturns
Chart.setView(view)ui.Chart
ArgumentTypeDetails
this: ui.chartui.ChartThe ui.Chart instance.
viewObjectA DataView initializer object, which acts as a filter over the underlying data in the chart. See: https://developers.google.com/chart/interactive/docs/reference#DataView