Hi Krishna, Your URL is the same as before, and results in an error.
On Mon, Mar 7, 2016 at 5:06 AM, Krishna Prasad <[email protected]> wrote: > > Now the URL changed as http://pinnacleinfotech.in/vivera/chart.html > <http://onnetsourcing.com/vivera/chart.html> > > On Tuesday, March 1, 2016 at 12:54:16 PM UTC+5:30, krishna prasad wrote: > >> Hi, >> >> My chart should exactly looks like this >> http://onnetsourcing.com/vivera/chart.html . Here I have entered the >> data in manual format. Please help me the script which istaking the data >> from DB and display in the chart.html page. You can see the codes as below: >> >> <script type="text/javascript" src="https://www.google.com/jsapi"> >> </script> >> <script type="text/javascript"> >> google.load("visualization", "1", {packages:["corechart"]}); >> >> var dataSet = [ >> ['Date','1st Floor', '2nd Floor', '3rd Floor', '4th Floor', '5th Floor', >> '6th Floor', '7th Floor', 'Tarrace Floor'], >> ['A Block', 1, 1, 1, 0, 0, 0, 0, 0], >> ['B Block', 1, 1, 1, 1, 1, 1, 1, 1], >> ['C Block', 1, 1, 1, 1, 1, 1, 1, 1], >> ['D Block', 1, 1, 1, 1, 1, 1, 1, 1], >> ['E Block', 1, 1, 0, 0, 0, 0, 0, 0], >> ['F Block', 1, 1, 0, 0, 0, 0, 0, 0], >> ]; >> >> // The first chart >> >> google.setOnLoadCallback(drawChart1); >> function drawChart1() { >> var data = google.visualization.arrayToDataTable( dataSet ); >> >> var options = { >> title: 'Project Progress Report\nTotals', >> vAxis: {title: 'Completed Floors', maxValue: 8}, // sets the maximum value >> backgroundColor: {strokeWidth: 2 }, // to draw a nice box all around the >> chart >> isStacked: 'true' // = rowstacked in gnuplot >> }; >> >> var chart = new >> google.visualization.ColumnChart(document.getElementById('chart_div1')); >> chart.draw(data, options); >> } >> >> </script> >> >> <div style="display: table;"> >> <div style="display: table-row"> >> <div id="chart_div1" style="width: 600px; height: 600px; display: >> table-cell;"></div> >> ... > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > https://groups.google.com/group/google-visualization-api. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-visualization-api/98a0bd00-6f61-4426-9dcf-2085f746dea1%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/98a0bd00-6f61-4426-9dcf-2085f746dea1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> [email protected] <[email protected]> 5CC, Cambridge MA -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJPvPkJjjSaaMzX%2BONKB8UT3QKOQ7M1fAaM%2BNnSxibZWhA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
