वेब विकास

रोडमैप क्या है HTTP क्या है एचटीएमएल क्या है सीएसएस क्या है उत्तरदायी क्या है जावास्क्रिप्ट क्या है ES5 क्या है? एचटीएमएल डोम क्या है गूगल मैप्स क्या है गूगल फॉन्ट क्या है Google चार्ट क्या है एक्सएमएल क्या है अजाक्स क्या है? JSON क्या है सीएसएस प्रतीक क्या है बूटस्ट्रैप क्या है W3.CSS क्या है सीएलआई क्या है? एनपीएम . क्या है गिटहब क्या है jQuery क्या है एंगुलरजेएस क्या है प्रतिक्रिया क्या है Vue.js क्या है W3.JS क्या है? फ्रंट-एंड देव क्या है। फुलस्टैक क्या है फुलस्टैक JS क्या है एसक्यूएल क्या है

अमेज़न एडब्ल्यूएस

एडब्ल्यूएस ईसी2 क्या है एडब्ल्यूएस आरडीएस क्या है एडब्ल्यूएस क्लाउडफ्रंट क्या है एडब्ल्यूएस एसएनएस क्या है लोचदार बीनस्टॉक क्या है एडब्ल्यूएस ऑटो स्केलिंग क्या है एडब्ल्यूएस आईएएम क्या है? एडब्ल्यूएस अरोड़ा क्या है एडब्ल्यूएस डायनेमोडीबी क्या है एडब्ल्यूएस वैयक्तिकृत क्या है एडब्ल्यूएस मान्यता क्या है एडब्ल्यूएस क्विकसाइट क्या है एडब्ल्यूएस पोली क्या है एडब्ल्यूएस पिनपॉइंट क्या है

गूगल चार्ट क्या है?


एचटीएमएल

गूगल मैप्स एक गूगल एपीआई है

Google फ़ॉन्ट्स एक Google API है

Google चार्ट एक Google API है


अपने वेब पेज पर Google चार्ट जोड़ने का तरीका जानें।


उदाहरण


गूगल पाई चार्ट

एक साधारण बुनियादी वेब पेज से शुरू करें।

"piechart" आईडी के साथ एक <div> तत्व जोड़ें:

उदाहरण

<!DOCTYPE html>
<html>
<body>

<h1>My Web Page</h1>

<div id="piechart"></div>

</body>
<html>


google.com पर चार्ट एपीआई का संदर्भ जोड़ें:

उदाहरण

<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>

और एक जावास्क्रिप्ट फ़ंक्शन जोड़ें:

उदाहरण

<script type="text/javascript">
// Load google charts
google.charts.load('current', {'packages':['corechart']});
google.charts.setOnLoadCallback(drawChart);

// Draw the chart and set the chart values
function drawChart() {
  var data = google.visualization.arrayToDataTable([
  ['Task', 'Hours per Day'],
  ['Work', 8],
  ['Friends', 2],
  ['Eat', 2],
  ['TV', 2],
  ['Gym', 2],
  ['Sleep', 8]
]);

  // Optional; add a title and set the width and height of the chart
  var options = {'title':'My Average Day', 'width':550, 'height':400};

  // Display the chart inside the <div> element with id="piechart"
  var chart = new google.visualization.PieChart(document.getElementById('piechart'));
  chart.draw(data, options);
}
</script>