Home > Web Front-end > JS Tutorial > body text

jQuery plugin FusionCharts draws pie chart

php中世界最好的语言
Release: 2018-04-19 16:26:21
Original
2609 people have browsed it

This time I will bring you jQueryplug-in FusionCharts to draw pie charts, jQuery plug-in FusionCharts to draw pie chartsWhat are the precautions, the following is a practical case, let’s take a look one time.

1. Understand the characteristics of Pareto charts and the commonalities with other charts

2. Design the types of charts introduced into the Pareto chart page and how to introduce them into the page

index.html:

nbsp;html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">


<meta>
<title>FusionCharts Pareto2D图</title>
<script></script>
<script></script>
<script>
$(function(){
 var pareto2D = new FusionCharts( "FusionCharts/Pareto2D.swf", "pareto2DId", "100%", "540", "0" );
 pareto2D.setXMLUrl("pareto2D.xml");
 pareto2D.render("pareto2DChart");
});
</script>


  <p></p>

Copy after login


pareto2D.xml:3. Data source for designing Pareto chart

<?xml  version="1.0" encoding="UTF-8"?>
<chart>
  <set></set>
  <set></set>
  <set></set>
  <set></set>
  <set></set>
  <set></set>
  <set></set>
</chart>
Copy after login

jQuery plugin FusionCharts draws pie chart

Believe it or not After reading the case in this article, you have mastered the method. For more exciting information, please pay attention to the php Chinese websiteOther related articles!

Recommended reading:

jQuery implements single-line announcement carousel

Detailed explanation of the use of jquery plug-in extension

How to determine browser version with jQuery

The above is the detailed content of jQuery plugin FusionCharts draws pie chart. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template