Class DataViewDefinition
데이터보기정의
차트 데이터를 시각화하기 위한 데이터 뷰 정의입니다.
차트에 데이터 뷰 정의를 설정하면 데이터 테이블 자체가 아닌 지정된 데이터 테이블에서 파생된 뷰를 시각화할 수 있습니다. 예를 들어 차트의 뷰 정의에 뷰 열이 [0, 3]이라고 명시된 경우 차트를 그릴 때 데이터 표의 첫 번째 열과 세 번째 열만 고려됩니다. DataViewDefinition
를 정의하고 사용하는 방법의 예는 DataViewDefinitionBuilder
를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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"]]