Open Flash Chart Use tutorial in PHP

Source: Internet
Author: User

Http://www.cnblogs.com/huangcong/archive/2013/01/27/2878650.html

In order to draw a beautiful form, I found Openflashchart (OFC) from the Internet, very good stuff. After a few days of research, I finally drew my own form. Let's take a look at my form (this is just one):

You alright. Maybe too stupid, anyway, a lot of trouble, say simple steps to use, I hope to give interested friends some help.

1. Download Open Flash Chart:http://sourceforge.net/projects/openflashchart/files/

2, the extracted folder Openflashchart(renamed) placed in the root directory of the site, and follow the instructions, the JS folder in the root directory alone.

3, create the file chart.htm, and copy the following content, and then save in the Openflashchart directory.

Press CTRL + C to copy the code<textarea></textarea>Press CTRL + C to copy the code

4, write the PHP file provided by the JSON data file data.php, the content is as follows, and then saved to the Openflashchart directory.

Press CTRL + C to copy the code<textarea></textarea>Press CTRL + C to copy the code

5, from the data file has been seen to use the ofc/ofc_chart.php file , so the open-flash-chart\php5-ofc-library\ The OFC folder under the Lib directory is copied to the Openflashchart directory.

6. Open the browser and type the address. similar: http://localhost/openflashchart/chart.htm?ofc=data.php, you can see your own drawing.

Open Flash Chart Use tutorial in PHP

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.