Class DataViewDefinition
DataViewDefinition
A data view definition for visualizing chart data.
Data view definition can be set for charts to visualize a view derived from the given data
table and not the data table itself. For example if the view definition of a chart states that
the view columns are [0, 3], only the first and the third columns of the data table is taken into
consideration when drawing the chart. See DataViewDefinitionBuilder
for an example on how
to define and use a DataViewDefinition
.
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 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 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."]]],[]]