ui.Chart.setView

Sets a view for this chart.

Returns this chart.

UsageReturns
Chart.setView(view)ui.Chart
ArgumentTypeDetails
this: ui.chartui.Chart

The ui.Chart instance.

viewObject

A 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

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!