सूचना: जिन गैर-व्यावसायिक प्रोजेक्ट के लिए Earth Engine को 
15 अप्रैल, 2025 से पहले रजिस्टर किया गया है उन्हें ऐक्सेस बनाए रखने के लिए, 
गैर-व्यावसायिक इस्तेमाल से जुड़ी ज़रूरी शर्तों की पुष्टि करनी होगी. अगर आपने 26 सितंबर, 2025 तक पुष्टि नहीं की, तो आपके ऐक्सेस को होल्ड पर रखा जा सकता है.
  
        
 
       
     
  
  
  
    
  
  
  
    
      ui.Chart.setChartType
    
    
      
    
    
      
      संग्रह की मदद से व्यवस्थित रहें
    
    
      
      अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
  
  
इस चार्ट का chartType सेट करता है.
यह चार्ट दिखाता है.
| इस्तेमाल | रिटर्न | 
|---|
| Chart.setChartType(chartType) | ui.Chart | 
| आर्ग्यूमेंट | टाइप | विवरण | 
|---|
| यह: ui.chart | ui.Chart | ui.Chart इंस्टेंस. | 
| chartType | स्ट्रिंग | चार्ट का टाइप.उदाहरण के लिए, 'ScatterChart', 'LineChart', और 'ColumnChart'. चार्ट की पूरी सूची देखने के लिए, यहां जाएं: https://developers.google.com/chart/interactive/docs/gallery | 
  
  
  उदाहरण
  
    
  
  
    
    
  
  
  
  
    
    
    
      कोड एडिटर (JavaScript)
    
    
  // A data table of population for selected states.
var dataTable = [
  [{role: 'domain', label: 'State'}, {role: 'data', label: 'Population'}],
  ['CA', 37253956],
  ['NY', 19378102],
  ['IL', 12830632],
  ['MI', 9883640],
  ['OR', 3831074],
];
// Chart the data using accepted chart types.
print('Scatter chart', ui.Chart(dataTable).setChartType('ScatterChart'));
print('Line chart', ui.Chart(dataTable).setChartType('LineChart'));
print('Column chart', ui.Chart(dataTable).setChartType('ColumnChart'));
print('Bar chart', ui.Chart(dataTable).setChartType('BarChart'));
print('Pie chart', ui.Chart(dataTable).setChartType('PieChart'));
print('Area chart', ui.Chart(dataTable).setChartType('AreaChart'));
print('Table', ui.Chart(dataTable).setChartType('Table'));
  
    
  
  
    
  
  
  
  
  
  
  
 
  
    
    
      
       
    
    
  
  
  जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
  आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
  
  
  
    
      [null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[],["The `setChartType` method sets the type of a `ui.Chart` instance and returns the modified chart. It accepts a string argument (`chartType`) that specifies the desired chart type, such as 'ScatterChart', 'LineChart', or 'ColumnChart'. A data table is used to exemplify different chart types. Various chart examples include scatter, line, column, bar, pie, area and tables, and the complete list of chart types is found in the provided url.\n"]]