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 datatable and not the data table itself. For example if the view definition of a chart states thatthe view columns are [0, 3], only the first and the third columns of the data table is taken intoconsideration when drawing the chart. SeeDataViewDefinitionBuilder for an example on howto define and use aDataViewDefinition.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-11 UTC.