Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ui.Chart.setDownloadable
Stay organized with collections
Save and categorize content based on your preferences.
Sets a view for this chart.
Returns this chart.
Usage | Returns | Chart.setDownloadable(Whether) | ui.Chart |
Argument | Type | Details | this: ui.chart | ui.Chart | The ui.Chart instance. |
Whether | Boolean | the chart can be downloaded as CSV, SVG, and PNG. |
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."],[[["\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. |"]]