ui.Chart.setView
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک نمای برای این نمودار تنظیم می کند.
این نمودار را برمی گرداند.
استفاده | برمی گرداند | Chart. setView (view) | ui.Chart |
استدلال | تایپ کنید | جزئیات | این: ui.chart | ui.Chart | نمونه ui.Chart. |
view | شیء | یک شی اولیه DataView، که به عنوان یک فیلتر بر روی داده های زیرین در نمودار عمل می کند. ببینید: https://developers.google.com/chart/interactive/docs/reference#DataView |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe \u003ccode\u003eChart.setView()\u003c/code\u003e method allows you to apply a DataView object to filter the chart's underlying data, effectively changing the chart's view.\u003c/p\u003e\n"],["\u003cp\u003eThis method accepts a DataView initializer object as an argument and returns the modified ui.Chart instance.\u003c/p\u003e\n"],["\u003cp\u003eThe DataView object offers a way to manipulate and subset your chart's data without altering the original data source, as described in Google Charts' documentation.\u003c/p\u003e\n"]]],["The `Chart.setView(view)` method allows filtering chart data using a `DataView` initializer object. This method takes a `view` object as an argument, which defines the filter. The `ui.Chart` instance itself is also a parameter. The method returns the modified `ui.Chart` instance, enabling further chaining. The `DataView` object details for defining filters are found at the provided URL.\n"],null,["# ui.Chart.setView\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.setView`(view)` | ui.Chart |\n\n| Argument | Type | Details |\n|------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `ui.chart` | ui.Chart | The ui.Chart instance. |\n| `view` | Object | 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 |"]]