PHP Jpgraph Practical issues
Want to use Jpgraph picture chart, from the Internet (including official website) Download the Jpgraph compressed package, decompression found that there is no SRC folder has src file inside is also empty. Would you like to ask why this is? How do I use it without a source file? 1. Download Jpgraph http://www.aditus.nu/jpgraph/
There are version php4.x and php5.x i downloaded the php5.x version
2. Finishing:
Jpgraph/src
Below are several instance files under jpgraph/
3. Configuration:
Because I want to use Chinese, so I have to make some changes to the Chinese.
jpgraph/src/jpg-config.inc.php configuration file
Font file, it will find its own Windows or Linux system to find fonts directory can also specify the location DEFINE (' Chinese_ttf_font ', ' Bkai00mp.ttf ');
jpgraph/src/jpgraph.php
Replace $font _family=ff_font1 to $font _family=ff_simsun
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service