Class DataViewDefinition
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-03。
[null,null,["最后更新时间 (UTC):2024-12-03。"],[[["A DataViewDefinition is used to define how chart data should be visualized, allowing charts to display a customized view derived from the original data table."],["By specifying view columns (e.g., \\[0, 3\\]), a DataViewDefinition determines which columns from the data table are used for chart rendering, such as selecting only the first and third columns."],["Refer to the DataViewDefinitionBuilder documentation for guidance on defining and utilizing DataViewDefinitions to modify chart visualizations."]]],["A data view definition allows charts to visualize a subset of data from a data table, rather than the entire table. This is achieved by specifying which columns to include in the view. For instance, defining view columns as `[0, 3]` would mean only the first and third columns of the data table are used for the chart. A DataViewDefinitionBuilder helps in creating and implementing such views.\n"]]