How to display the statistical chart drawn by JFreechart on PHP
This article mainly explains "how to display the statistical map drawn by JFreechart on PHP". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "how to display the statistical chart drawn by JFreechart on PHP".
The way to solve it:
1. First save the pictures generated by JFreechart on the web server.
two。 And then use it on JSP
Label display
3. Import JSP into PHP pages through JS
That's how it works.
Partial getColumnChart.jsp source code:
The copy code is as follows:
Implement the JS source code for importing JSP
The copy code is as follows:
Extjs.chart.chart3D = function (nodeid,id) {
Var panel = new Ext.Panel ({
Border:false
FitToFrame: true,// is very simple, just a Html tag.
Html:''
});
Return panel
}
At this point, I believe you have a deeper understanding of "how to display the statistical map drawn by JFreechart on PHP". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!