Class DataViewDefinition
DaneWyświetlDefinicja
Definicja widoku danych służąca do wizualizacji danych wykresu.
Definicję widoku danych można ustawić na potrzeby wykresów, aby wizualizować widok utworzony na podstawie danej tabeli danych, a nie samej tabeli danych. Jeśli np. definicja widoku wykresu określa, że kolumny widoku to [0, 3], podczas rysowania wykresu są brane pod uwagę tylko pierwsza i trzecia kolumna tabeli danych. Przykład definiowania i używania DataViewDefinition
znajdziesz w artykule DataViewDefinitionBuilder
.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-12-03 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]