Sunday, June 22, 2014

Re: cakephp graphs

I used http://www.highcharts.com/ and its pretty good.

Here is quick way to make it work the basics:

add all the html from http://jsfiddle.net/QxjNh/4/ to your view where you want your chart

one thats working then update the series with your array by looping through...

Hope this helps,

Andras Kende



On Jun 22, 2014, at 9:39 PM, ajt <jagguy999@gmail.com> wrote:

> Hi,
>
> I need to do some graphs in cakePHP and I am getting bigged down and wht to use and how to install it.
>
> 1)Jgraph is used with cakephp but the examples are for cakephp v 1 and dated 7 years ago. This looks outdated
> http://bakery.cakephp.org/articles/cguyer/2007/12/26/using-jpgraph
>
> 2)Highcharts is the other option but the setup isnt clear as you also need jquery which again requires another setup.
>
> http://www.highcharts.com/docs/getting-started/installation
> http://book.cakephp.org/2.0/en/core-libraries/helpers/js.html so in the layout file I
> (echo $this->Js->writeBuffer(); // goes on what file? echo $this->Html->script('jquery-1.9.1.min'); // Include jQuery library
>
> What graphing tools are used these days with cakephp and is there instructions on a complete setup (not partial setup and assume the rest )
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: