ui.Chart.getView
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Renvoie l'objet d'initialisation DataView de ce graphique, qui sert de filtre sur les données sous-jacentes du graphique. Voir : https://developers.google.com/chart/interactive/docs/reference#DataView
Utilisation | Renvoie |
---|
Chart.getView() | Objet |
Argument | Type | Détails |
---|
ceci : ui.chart | ui.Chart | Instance ui.Chart. |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[[["\u003cp\u003eThis method returns a DataView initializer object, allowing you to filter the chart's underlying data.\u003c/p\u003e\n"],["\u003cp\u003eYou can access this functionality using \u003ccode\u003eChart.getView()\u003c/code\u003e which returns an object.\u003c/p\u003e\n"],["\u003cp\u003eThe method is called on a \u003ccode\u003eui.Chart\u003c/code\u003e instance and requires no arguments.\u003c/p\u003e\n"]]],["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"],null,["# ui.Chart.getView\n\n\u003cbr /\u003e\n\nReturns 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\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------|---------|\n| Chart.getView`()` | Object |\n\n| Argument | Type | Details |\n|------------------|----------|------------------------|\n| this: `ui.chart` | ui.Chart | The ui.Chart instance. |"]]