I did some digging on the web.
So there are quite few possibilites to implement a JSON structure into
Google Charts, HOWEVER, there are only examples that are connected to PHP /
mySQL.
I need a simpler version, yet I cannot get it right. Can anyone help me
here?
I just need a JSON structure, that will create me a PIECHART .
Dne ponedeljek, 12. maj 2014 10:24:23 UTC+2 je oseba David Kasabji napisala:
>
> Andrew have you got maybe any expirience with PERL programming?
> As this is what we use here in our firm. We use PERL script for the
> updating. It works in the way, that when you run the script, it checks for
> the updates in the Tracker, and then creates a new TEXT file which can be
> put in HTML with the updated numbers.
>
> So what I need is to make some VARIABLE or like in C language CLASS, where
> you can just name the categories i.e.:
>
> var ProjA {
> days: 52
> }
>
> and the I need to put that number in my PieChart of Google Charts.
> somehow like drawChart (projA) and it will put in the 52 number for a
> value of a slice.
>
> Any ideas / suggestions maybe?
>
> Thanks for the help.
>
>
>
> Dne ponedeljek, 12. maj 2014 01:00:55 UTC+2 je oseba Andrew Gallant
> napisala:
>>
>> All of the AJAX implementations I know of require a webserver to query;
>> they won't fetch anything from the file protocol. That server can be local
>> to your PC (like a LAMP stack on Linux, WAMP/XAMPP on Windows).
>>
>> On Sunday, May 11, 2014 3:03:37 PM UTC-4, David Kasabji wrote:
>>>
>>> My bad, I forgot to mention, that I cant get data from Server. We're
>>> using SVN for local work in a firm. Is there a way?
>>>
>>> Dne nedelja, 11. maj 2014 18:15:54 UTC+2 je oseba Andrew Gallant
>>> napisala:
>>>>
>>>> You can use AJAX to fetch data from your server and update your chart.
>>>> There are many AJAX examples on this forum.
>>>>
>>>> On Sunday, May 11, 2014 9:01:58 AM UTC-4, David Kasabji wrote:
>>>>>
>>>>> EDIT: I apologise, I forgot to add:
>>>>>
>>>>> I read something could be done with JSON script? But I am not sure if
>>>>> this is possible with combining with Google Charts?
>>>>>
>>>>>
>>>>>
--
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.