Pchart access to thinkphp project issues
This post was last edited by net8386308 on 2014-07-24 16:00:26
After their own research and the old Xu's nudge, can achieve the effect of displaying pictures, and then I implanted thinkphp Project, test results are OK "mainly instantiate class."
, but here's the problem. I now want to put in the template HTML here, the result ... I do not know whether I understand the error or what happened, here is the owner of the card, and if it can be displayed normally, I change how to display in the specified location "code is through this display Picture: $myPicture->autooutput ("./public/pchart/ Examples/pictures/example.drawbarchart.simple.png ");" (should not be the problem of coding, I added UTF-8 "and this is the picture") but I am in the template if the use of the words will show an error, Is that the method does not belong to a class, model, first step by step to solve it, if you have the relevant experience of Daniel, help to see!
------Solution--------------------
I came to take a blood, it seems to be garbled ah? This big, high-grade thigh.
------Solution--------------------
Your Pchart app output is a picture
So you need to use an IMG tag to load
The exact wording is similar to the verification code
------Solution--------------------
You're going to pass the argument, that's not it.
Unless the parameter is not controlled by the client