Class DataViewDefinition
データビュー定義グラフデータを可視化するためのデータビュー定義。
データビュー定義をグラフに設定すると、データテーブル自体ではなく、指定されたデータテーブルから派生したビューを可視化できます。たとえば、グラフのビュー定義でビュー列が [0, 3] と指定されている場合、グラフの描画時に考慮されるのはデータ表の 1 列目と 3 列目のみです。DataViewDefinition
の定義と使用方法の例については、DataViewDefinitionBuilder
をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-03 UTC。
[null,null,["最終更新日 2024-12-03 UTC。"],[[["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"]]