ui.Chart.setDownloadable
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Définit une vue pour ce graphique.
Renvoie ce graphique.
Utilisation | Renvoie |
---|
Chart.setDownloadable(Whether) | ui.Chart |
Argument | Type | Détails |
---|
ceci : ui.chart | ui.Chart | Instance ui.Chart. |
Whether | Booléen | Le graphique peut être téléchargé aux formats CSV, SVG et PNG. |
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\u003eThe \u003ccode\u003eChart.setDownloadable()\u003c/code\u003e function allows you to control whether a chart can be downloaded in CSV, SVG, and PNG formats.\u003c/p\u003e\n"],["\u003cp\u003eThis function operates on a \u003ccode\u003eui.Chart\u003c/code\u003e instance and requires a Boolean argument (\u003ccode\u003eWhether\u003c/code\u003e) to enable or disable the download functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns the \u003ccode\u003eui.Chart\u003c/code\u003e instance itself, allowing for method chaining.\u003c/p\u003e\n"]]],[],null,["# ui.Chart.setDownloadable\n\n\u003cbr /\u003e\n\nSets a view for this chart.\n\n\u003cbr /\u003e\n\nReturns this chart.\n\n| Usage | Returns |\n|----------------------------------|----------|\n| Chart.setDownloadable`(Whether)` | ui.Chart |\n\n| Argument | Type | Details |\n|------------------|----------|---------------------------------------------------|\n| this: `ui.chart` | ui.Chart | The ui.Chart instance. |\n| `Whether` | Boolean | the chart can be downloaded as CSV, SVG, and PNG. |"]]