Re: cakephp graphs
If I run a cakephp script 'in a controller' with highcharts I just get a "highcharts not found error." In vendors I have the highchartsphp dir with src files and I place these files as well in highcharts. I have the files and they seem in the right dir but I cant get this to work. eg I have the correct names I am referencing App::import('Vendor', 'HighchartsPHP/Highchart'); class ChartsController extends AppController { public function index() { $chart = new Highchart(); /error not found -- 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+unsubscr...@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.
Re: cakephp graphs
Hi, I tried to get this working but I just get an error as there is no name anywhere on my computer 'ghunti/highcharts-php:~3.0' composer require 'ghunti/highcharts-php:~3.0' gives an error of 'could not parse version constraint ~3.0, UnexpectedValueException 1)I have the download called highcharts3 (dir) 2)I have the cakephp project.called cakephp5 I place the download 1) where?and how do I install it with composer -- 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+unsubscr...@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.
Re: cakephp graphs
it has been 2 days since I started and I have got no where fast. Just tell me please how do I install higharts in cakephp so i can use it. I need to load data from mysql to do the graph JPgraph is another package and unless there is instructions on how to install and use it with php code (not jS)then I cant use it. -- 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+unsubscr...@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.
Re: cakephp graphs
use JP graph as a vendor. On Wed, Jun 25, 2014 at 6:41 PM, ajt wrote: > I found out I need to install highcharts with json and I am usure on what > to do. > I have run composer.exe > I am having an awful time creating a composer.json file to install > highchartsPHP for windows cakephp. > I dont know how exactly to create a file. > The examples I have for cakephp composer is for linux and I have windows. > > > https://github.com/ghunti/HighchartsPHP > > I have this file and I run it from app dir, , but do I place the > highcharts dir where ? where I should place files to install? > How do I install this EXACTLY. > > { > "name": "cakephp/cakephp", > "description": "The CakePHP framework", > "type": "library", > "keywords": ["framework"], > "homepage": "http://cakephp.org";, > "license": "MIT", > "authors": [ > { > "name": "CakePHP Community", > "homepage": " > https://github.com/cakephp/cakephp/graphs/contributors"; > } > ], > > "require": { > "ghunti/highcharts-php": "~3.0" > } > > > } > > > -- > 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+unsubscr...@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. > -- *Regards-- Soumavo Chattaraj* -- 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+unsubscr...@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.
Re: cakephp graphs
I found out I need to install highcharts with json and I am usure on what to do. I have run composer.exe I am having an awful time creating a composer.json file to install highchartsPHP for windows cakephp. I dont know how exactly to create a file. The examples I have for cakephp composer is for linux and I have windows. https://github.com/ghunti/HighchartsPHP I have this file and I run it from app dir, , but do I place the highcharts dir where ? where I should place files to install? How do I install this EXACTLY. { "name": "cakephp/cakephp", "description": "The CakePHP framework", "type": "library", "keywords": ["framework"], "homepage": "http://cakephp.org";, "license": "MIT", "authors": [ { "name": "CakePHP Community", "homepage": "https://github.com/cakephp/cakephp/graphs/contributors"; } ], "require": { "ghunti/highcharts-php": "~3.0" } } -- 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+unsubscr...@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.
Re: cakephp graphs
I am trying to use highchart in cakephp I still get a highchart not found. I downloaded highchartPHP and placed all the 4 files in `Vendor/HighchartsPHP` In the layout I add the lines with the actual js files in `webroot/js` echo $this->Html->script('jquery-1.9.1.min'); // Include jQuery library echo $this->Html->script('highcharts'); // Include jQuery library This is my code chart = array( 'renderTo' => 'container', // div ID where to render chart 'type' => 'line' ); $chart->series[0]->name = 'Tokyo'; $chart->series[0]->data = array(7.0, 6.9, 9.5); $this->set( compact( 'chart' ) ); } In view file printScripts(); ?> render("chart");?> * **https://coderwall.com/p/c6yasq** * **http://stackoverflow.com/questions/18868242/using-highchartsphp-library-in-cakephp** I cant find any more instructions about cakePHP setup with highcharts so I am stuck and I get a highchart not found error. I still have something missing. What has confused me is that highchartPHP doesnt explain how you install it for a MVC version with cakephp How to setup highchart so it works in cakephp ? I got from the download zip button link so it must be v3 https://github.com/ghunti/HighchartsPHP also Error: Class 'Highchart' not found from the controller as i outlined above -- 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+unsubscr...@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.
Re: cakephp graphs
To use highchart I follow the below and I get a highchart not found error. This is really poorly explained and i have highchart.js, highchart.php in vendor. There is 4 files on highchartPHP and they all go where? what am I missing? https://coderwall.com/p/c6yasq -- 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+unsubscr...@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.
Re: cakephp graphs
Hi, I need to use cakephp with data from the mysql and your example is just a jquery separate from cakephp. . I cant setup highchartswitjh cakephp as there is no instructions for use with cakephp. -- 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+unsubscr...@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.
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 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+unsubscr...@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+unsubscr...@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.
Re: cakephp graphs
Here is another which is explained better than highcharts http://www.startutorial.com/articles/view/how-to-use-jqplot-in-cakephp -- 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+unsubscr...@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.
cakephp graphs
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+unsubscr...@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.