ui.Chart.getView
Returns this chart's 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
Usage | Returns |
---|
Chart.getView() | Object |
Argument | Type | Details |
---|
this: ui.chart | ui.Chart | The ui.Chart instance. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["This method returns a DataView initializer object, allowing you to filter the chart's underlying data."],["You can access this functionality using `Chart.getView()` which returns an object."],["The method is called on a `ui.Chart` instance and requires no arguments."]]],["The `Chart.getView()` method returns a DataView initializer object, enabling filtering of the chart's underlying data. This method, part of a `ui.Chart` instance, is accessed using `Chart.getView()`, where \"Chart\" is an instance of `ui.chart`. The output of this method is an Object. It allows for creating a filter over the data. More details are in this link: https://developers.google.com/chart/interactive/docs/reference#DataView.\n"]]