Hi Dears,
I think i have a solution for your problem.. contact me 
[email protected] please.
please attach your files in order for me to declare everything for you, i faced 
the same problem a few months ago.
Best Regards,Hisham      From: 'Daniel LaLiberte' via Google Visualization API 
<[email protected]>
 To: Google Visualization API <[email protected]> 
Cc: Bogdan Dinga <[email protected]>
 Sent: Wednesday, March 9, 2016 4:58 PM
 Subject: Re: [visualization-api] Re: Google Charts with PHP and MySQL
   
Hi Krishna,
I can help you with the chart specific questions.  Questions about how to set 
up your server side to interface with MySQL are outside of the scope of this 
forum.  You might find some help among these pages, and the link I gave before: 
 https://developers.google.com/s/results/?q=mysql&p=%2Fchart%2F


On Wed, Mar 9, 2016 at 4:27 AM, Ekabyte.com <[email protected]> wrote:


| 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], |
|  | ]; |


On Wed, Mar 9, 2016 at 2:56 PM, Ekabyte.com <[email protected]> wrote:

Dear Daniel,
My issue is I can't populate the data from my MYSQL tables. How can I achieve 
this. I have tried using above method, but could not achieve this. Because mine 
is stacked bar chart.Please help me on this. How I can print the data like  
below:

On Tue, Mar 8, 2016 at 8:02 PM, 'Daniel LaLiberte' via Google Visualization API 
<[email protected]> wrote:

OK I can see an image of a chart now.  I am not clear on what your problem is.  
It sounds like you are having trouble getting data from a database, but you are 
not showing the code you use to do that.  There are several sections in the 
docs about getting data from a server.  See this one for example:  
https://google-developers.appspot.com/chart/interactive/docs/php_example
On Tue, Mar 8, 2016 at 6:06 AM, Krishna Prasad <[email protected]> wrote:

Hi Denial,
Please find the URL http://pinnacleinfotech.in/vivera/chart.html  its working 
fine. Please help me to resolve this.

On Monday, March 7, 2016 at 7:08:15 PM UTC+5:30, Daniel LaLiberte wrote:
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
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 |
|  |  }; |
|  | 
 |
|  |  va |



...
-- 
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/75e526db-b236-454f-a558-db60f6064825%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.




-- 
Daniel LaLiberte
[email protected]   5CC, Cambridge MA-- 
You received this message because you are subscribed to a topic in the Google 
Groups "Google Visualization API" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/google-visualization-api/-zapZe7dH7Y/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAOtcSJMCXO%3DjXR8sJ%2BeWx%2B-%2BpLb%2B_HqO3mnOV0J_e4NWAXJhpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.




-- 
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/CAMssE_KMDKHYY2jieH80hBY%3Dfgt0FvCQ%2BKVkoD3NfOtGFTvzrw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.




-- 
Daniel LaLiberte
[email protected]   5CC, Cambridge MA-- 
You received this message because you are subscribed to a topic in the Google 
Groups "Google Visualization API" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/google-visualization-api/-zapZe7dH7Y/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAOtcSJOPNpRaYyY%2BB%2BXqdxkLcSC2M9Rsb2UN37AK3MALUdcb-g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


  

-- 
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/2070350596.7071046.1457561471862.JavaMail.yahoo%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to