ui.Chart.setView

Stay organized with collections Save and categorize content based on your preferences.

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