Class DataViewDefinition
डेटाव्यूडेफ़िनिशन
चार्ट डेटा को विज़ुअलाइज़ करने के लिए, डेटा व्यू की परिभाषा.
चार्ट के लिए डेटा व्यू की परिभाषा सेट की जा सकती है, ताकि दी गई डेटा टेबल से मिले व्यू को विज़ुअलाइज़ किया जा सके, न कि डेटा टेबल को. उदाहरण के लिए, अगर किसी चार्ट की व्यू डेफ़िनिशन में बताया गया है कि व्यू कॉलम [0, 3] हैं, तो चार्ट बनाते समय डेटा टेबल के सिर्फ़ पहले और तीसरे कॉलम को ध्यान में रखा जाता है. DataViewDefinition
को परिभाषित और इस्तेमाल करने का उदाहरण देखने के लिए, DataViewDefinitionBuilder
देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]