Dear Asgallant yes i have one series of data how can i use this hack and 
retrieve data from database ?! please help ... asap ;(

On Wednesday, October 9, 2013 at 7:56:22 PM UTC+3, asgallant wrote:
>
> Showing the values on the bars isn't supported in the API.
>
> I wrote a hack that can make something like it happen that works well if 
> you have only 1 series of data in your ColumnChart: 
> http://jsfiddle.net/asgallant/QjQNX/
>
> On Wednesday, October 9, 2013 12:34:02 PM UTC-4, Patrick Beaudan wrote:
>
> Understood, I thought it'd be more complicated somehow. Got it to work 
> fine thank you very much. Is there a way to automatically show values on 
> the bars of bar charts (or on top of the bars), just like in the slices of 
> pie charts? Seems like a basic function but can't find that option.
>
> On Wednesday, October 9, 2013 5:10:35 AM UTC-7, asgallant wrote:
>
> The JSON format is for the DataTable, not the chart - the chart doesn't 
> care how you got the data into the DataTable.  In other words, you don't 
> have to do anything different when constructing the JSON string for a 
> DataTable for a ColumnChart (vertical bar chart) than for a PieChart.
>
> On Wednesday, October 9, 2013 12:49:37 AM UTC-4, Patrick Beaudan wrote:
>
> Is there a sample code similar to that for pie charts in this thread, that 
> would show how to build JSON data for a vertical bar chart? 
> I'm currently using a version with hard coded data that works fine, but 
> would like to read the data from a mysql database using a JSON formatted 
> data table. Any example of how to generate that JSON table for a bar chart 
> would be much appreciated.
>  
> <script type="text/javascript">  
>
> ...


On Wednesday, October 9, 2013 at 7:56:22 PM UTC+3, asgallant wrote:
>
> Showing the values on the bars isn't supported in the API.
>
> I wrote a hack that can make something like it happen that works well if 
> you have only 1 series of data in your ColumnChart: 
> http://jsfiddle.net/asgallant/QjQNX/
>
> On Wednesday, October 9, 2013 12:34:02 PM UTC-4, Patrick Beaudan wrote:
>
> Understood, I thought it'd be more complicated somehow. Got it to work 
> fine thank you very much. Is there a way to automatically show values on 
> the bars of bar charts (or on top of the bars), just like in the slices of 
> pie charts? Seems like a basic function but can't find that option.
>
> On Wednesday, October 9, 2013 5:10:35 AM UTC-7, asgallant wrote:
>
> The JSON format is for the DataTable, not the chart - the chart doesn't 
> care how you got the data into the DataTable.  In other words, you don't 
> have to do anything different when constructing the JSON string for a 
> DataTable for a ColumnChart (vertical bar chart) than for a PieChart.
>
> On Wednesday, October 9, 2013 12:49:37 AM UTC-4, Patrick Beaudan wrote:
>
> Is there a sample code similar to that for pie charts in this thread, that 
> would show how to build JSON data for a vertical bar chart? 
> I'm currently using a version with hard coded data that works fine, but 
> would like to read the data from a mysql database using a JSON formatted 
> data table. Any example of how to generate that JSON table for a bar chart 
> would be much appreciated.
>  
> <script type="text/javascript">  
>
> ...


On Wednesday, October 9, 2013 at 7:56:22 PM UTC+3, asgallant wrote:
>
> Showing the values on the bars isn't supported in the API.
>
> I wrote a hack that can make something like it happen that works well if 
> you have only 1 series of data in your ColumnChart: 
> http://jsfiddle.net/asgallant/QjQNX/
>
> On Wednesday, October 9, 2013 12:34:02 PM UTC-4, Patrick Beaudan wrote:
>
> Understood, I thought it'd be more complicated somehow. Got it to work 
> fine thank you very much. Is there a way to automatically show values on 
> the bars of bar charts (or on top of the bars), just like in the slices of 
> pie charts? Seems like a basic function but can't find that option.
>
> On Wednesday, October 9, 2013 5:10:35 AM UTC-7, asgallant wrote:
>
> The JSON format is for the DataTable, not the chart - the chart doesn't 
> care how you got the data into the DataTable.  In other words, you don't 
> have to do anything different when constructing the JSON string for a 
> DataTable for a ColumnChart (vertical bar chart) than for a PieChart.
>
> On Wednesday, October 9, 2013 12:49:37 AM UTC-4, Patrick Beaudan wrote:
>
> Is there a sample code similar to that for pie charts in this thread, that 
> would show how to build JSON data for a vertical bar chart? 
> I'm currently using a version with hard coded data that works fine, but 
> would like to read the data from a mysql database using a JSON formatted 
> data table. Any example of how to generate that JSON table for a bar chart 
> would be much appreciated.
>  
> <script type="text/javascript">  
>
> ...


On Wednesday, October 9, 2013 at 7:56:22 PM UTC+3, asgallant wrote:
>
> Showing the values on the bars isn't supported in the API.
>
> I wrote a hack that can make something like it happen that works well if 
> you have only 1 series of data in your ColumnChart: 
> http://jsfiddle.net/asgallant/QjQNX/
>
> On Wednesday, October 9, 2013 12:34:02 PM UTC-4, Patrick Beaudan wrote:
>
> Understood, I thought it'd be more complicated somehow. Got it to work 
> fine thank you very much. Is there a way to automatically show values on 
> the bars of bar charts (or on top of the bars), just like in the slices of 
> pie charts? Seems like a basic function but can't find that option.
>
> On Wednesday, October 9, 2013 5:10:35 AM UTC-7, asgallant wrote:
>
> The JSON format is for the DataTable, not the chart - the chart doesn't 
> care how you got the data into the DataTable.  In other words, you don't 
> have to do anything different when constructing the JSON string for a 
> DataTable for a ColumnChart (vertical bar chart) than for a PieChart.
>
> On Wednesday, October 9, 2013 12:49:37 AM UTC-4, Patrick Beaudan wrote:
>
> Is there a sample code similar to that for pie charts in this thread, that 
> would show how to build JSON data for a vertical bar chart? 
> I'm currently using a version with hard coded data that works fine, but 
> would like to read the data from a mysql database using a JSON formatted 
> data table. Any example of how to generate that JSON table for a bar chart 
> would be much appreciated.
>  
> <script type="text/javascript">  
>
> ...


On Wednesday, October 9, 2013 at 7:56:22 PM UTC+3, asgallant wrote:
>
> Showing the values on the bars isn't supported in the API.
>
> I wrote a hack that can make something like it happen that works well if 
> you have only 1 series of data in your ColumnChart: 
> http://jsfiddle.net/asgallant/QjQNX/
>
> On Wednesday, October 9, 2013 12:34:02 PM UTC-4, Patrick Beaudan wrote:
>
> Understood, I thought it'd be more complicated somehow. Got it to work 
> fine thank you very much. Is there a way to automatically show values on 
> the bars of bar charts (or on top of the bars), just like in the slices of 
> pie charts? Seems like a basic function but can't find that option.
>
> On Wednesday, October 9, 2013 5:10:35 AM UTC-7, asgallant wrote:
>
> The JSON format is for the DataTable, not the chart - the chart doesn't 
> care how you got the data into the DataTable.  In other words, you don't 
> have to do anything different when constructing the JSON string for a 
> DataTable for a ColumnChart (vertical bar chart) than for a PieChart.
>
> On Wednesday, October 9, 2013 12:49:37 AM UTC-4, Patrick Beaudan wrote:
>
> Is there a sample code similar to that for pie charts in this thread, that 
> would show how to build JSON data for a vertical bar chart? 
> I'm currently using a version with hard coded data that works fine, but 
> would like to read the data from a mysql database using a JSON formatted 
> data table. Any example of how to generate that JSON table for a bar chart 
> would be much appreciated.
>  
> <script type="text/javascript">  
>
> ...

-- 
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to