Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I was (quite) happy to use jpgraph for graphs in PHP, and when in need of "dynamicity", I just added the image map, handled hover and click events etc. (a bit clumsy in jpgraph, but possible).
But now I've seen pretty cool graphs made in SVG. I didn't know this dynamicity is possible in SVG!
Can you recommend any SVG dynamic graph library for PHP that could replace jpgraph in this sense? Thanks a lot.
Many libraries are using <canvas> instead of SVG. Then, it will really depends on your needs, but D3 is very impressive.
D3
Flot
gRaphael
Try this Raphael js add-on for charting.
http://g.raphaeljs.com/
From a PHP perspective, have a look at this, which looks good, maintained and interactive. Not sure if it covers all your dynamicity needs.
Looking for an alternative for jpGraph which started to cause complaints after upgrading the 'P' part in MAMP, I stumbled upon SVGGraph. Didn't convert my graphs to it yet.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Right now, I am using CI 3.0 . And for create report like invoice, monthly report sales, I using dompdf which is so spending time to debug coz dompdf not really support JS.
I was wondering a tools like crystal report , drag and drop report. I am not sure that PHP have like that.
I found php-reports, it looks interesting. But I dont know how to integrate it.
Perhaps, someone out there have solution to this PHP Reports, or maybe if you are share how to simplified creating a report in CI.
Thank You
maybe look at; http://www.hkvstore.com/phpreportmaker/
this questions lightly talks about using it; here
CI is great in that you are allowed to break the rules if you want. if its painful working inside the M-V-C approach then bend some rules or look at another method; like writing a library, or have your model generate more than just the dataset and include html ready for your CSS that your view just has to output (rather than parse).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Can anybody advise on the best PDF generator class/library to use with PHP? Preferably one which is maintained.
I am aware that this is a duplicate of the following question, however, the accepted answer is over 3 years old and I want to know whether the answer has changed since this time.
Which one is the best PDF-API for PHP?
Thank you
Try TCPDF, have good features
http://www.tcpdf.org/examples.php
Also simple HTML to PDF Converter API in (PHP, C#, ASP.net C#, ASP VB.net, JAVA,...)
from "PDF CROWD"
http://pdfcrowd.com/html-to-pdf-api/
very simple to use, but I think this API may need to purchase even they provide a free test account..
Have you tried http://www.PDFnow.com?
Provides a powerful template engine, and is pretty easy to use.
Supports complex layouts, layouts for multiple pages, invoices spreading separate pages, pagenumbers, headers, footers, etc. Definitively much better than fpdf.
You can simply integrate it into your PHP code by:
generatePdf(<templateName>, <ParameterArray>);
very straightforward.
Have a look on http://wkhtmltopdf.org/ Convert HTML to PDF using WebKit engine.
It can be used from PHP easily. For example, there is a bundle for Symfony2: http://knpbundles.com/KnpLabs/KnpSnappyBundle
Best One is TCPDF
http://www.tcpdf.org/
Never Use DOMPDF
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am creating a charts report in php but not understanding what should I use.
Can you help me, what chart tool should I use?
You can try these.
pCharts
jpGraph
Google Chart (JQuery)
XML/SWF charts (3D)
Is this for a web application? If so, consider rendering the charts client-side using JavaScript.
I use flot
jpgraph has been around for a while
rgraph seems capable as well.
EDIT://
http://www.rgraph.net/
http://jpgraph.net/
What sort of charts are you looking forward to work with ? Opensource ? or the other way?
For a licensed Version, you can take a look at this Fusion Charts (Flash and javascript). Highcharts. (demos and trial versions are also available.) For opensource take a look at the Google chart API. Google provides you with both static and interactive charts. Hope this helps.
pChart 2 is great, free and easy to use. Unfortunately it is released under the GPLv3, so you cannot use it for a commercial product (but I think you can buy a license).
heyy
lot of chart apis available some of them are listed.
1.jpgraph
2.Koolgraph
3.jqchart
4.google chart
i would prefer to use google chart. its easy to use and works really good.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I want to implement a decision tree (machine learning) algorithm in PHP. I've searched far and wide on Google and can find nothing in PHP.
Does anyone know a tutorial or function in PHP for implementing a descision tree?
Are you looking specifically for Php code or any other languages are ok ?
You can start from the source code of original decision tree algorithm-C4.5.It is public but has some restrictions I think. http://www.rulequest.com/Personal/
Here is a good tutorial that you may want to refer : http://www2.cs.uregina.ca/~dbd/cs831/notes/ml/dtrees/c4.5/tutorial.html
Weka implementations for decision tree J48 is available at : https://svn.scms.waikato.ac.nz/svn/weka/trunk/weka/src/main/java/weka/classifiers/trees/J48.java
If you are familiar with Python Orange C4.5 source code is available at : http://orange.biolab.si/
I do not work with PhP so I am not aware of any implementations in it. But all above implementations(C++,Java,or Python) are worthwhile too look.
Albeit being commented and documented in Japanese, this seems to be pretty close to what you're looking for: https://github.com/kokukuma/php-decision-tree
This is the most recent implementation of the C4.5 Algorithm in PHP on GitHub as of 2019: PHP-C45.
I'm currently using it and it's very efficient too.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
We are looking for a PHP library something like graphviz.org which generates an image of a networked groups of objects as shown below. Graphviz also enables you to make each of the nodes a hyperlink, but we are looking for something more interactive, e.g. even with Flash that would be able to react to a click which deletes a node and quickly redraws that area so the other nodes fill in the space, etc.
Does anyone know of a PHP library which generates networked object maps like this but that are also interactive so that nodes can easily added and deleted etc.?
You can give jsPlumb a try:
http://code.google.com/p/jsplumb/
Demo:
http://jsplumb.org/jquery/dynamicAnchorsDemo.html
JsPlumb is cool but you have to position the nodes yourself.
Take a look at http://arborjs.org. It will take care of positioning. The problem there is when you try the examples keep an eye on your cpu usage in firefox :(
See also:
http://www.graphdracula.net/showcase/
http://flare.prefuse.org/demo
http://mbostock.github.com/protovis/ex/force.html
http://js-graph-it.sourceforge.net/index.html
https://github.com/jackrusher/jssvggraph
http://code.google.com/p/jsdot/
http://cytoscapeweb.cytoscape.org/demo
http://flare.prefuse.org/launch/apps/dependency_graph
http://hypertree.woot.com.ar/
I have been in your boat bro. If you can take care of node positioning yourself stick with JsPlumb. They just released 1.3.1 and its a nice release.