Android uses AChartEngine pie chart implementation and achartengine pie chart
1. Introduction to AChartEngine
AChartEngine is a drawing tool library designed for Android applications. Can be used to draw a variety of charts, I am using a achartengine-1.1.0.jar. ChartEngine supports
GRaphaelIs designed to help developers draw a variety of exquisite charts on the web page.JavascriptLibrary, based on powerfulRaphaelVector Graphics Library. You only need to write several lines of simple code to create exquisite bar charts, pie charts, point charts, and graphs.
GRaphaelUse the SVG W3C recommendation standard andVMLAs the basis for creating images, it is a cross-browser vector graphics library. Currently, the supported browsers includ
Mpandroidchart Open Source Chart Library pie chart
To introduce an icon open Source Library Mpandroidchart, it can not only on the Android device to draw a variety of statistical charts, but also can drag and zoom the chart operation, very flexible. Mpandroidchart also has a common
GRaphaelIs designed to help developers draw a variety of exquisite charts on the web page.JavascriptLibrary, based on powerfulRaphaelVector Graphics Library. You only need to write several lines of simple code to create exquisite bar charts, pie charts, point charts, and graphs.
GRaphaelUse the SVG W3C recommendation standard andVMLAs the basis for creating images, it is a cross-browser vector graphics library. Currently, the supported browsers includ
event is drawn in bytes. If the thickness of the pie chart is set to 20 pixels, you can create 20 slices in 20 cycles, and the speed is very fast. In this way, you do not need to fix them. You can also change the ratio and number of slices of each slice. I have made a class with APIs, for a call, you only need to pass the corresponding parameters (of course, you can add the interface as needed !):
Draw3dpi
Development and Application of pie chart and pie chart VCL Components
Http://www.delphi2007.net/DelphiVCL/html/delphi_20061222091536202.html
I have a table.
BH XM CJ
A
A
C
C
B
B
I
I
The values in the CJ field are not fixed types (in 4-13 cases), but the values of the same types are always the same.
As shown in figure 4
Android custom Statistical Chart (bar chart, line chart, pie chart)
Recently, due to project requirements, I have studied some statistical charts. At the beginning, I read many blog posts, most of which reference third-party libraries. Although simple,
Easy to use, but the f
Php generates a pie chart. The code for copying a pie chart is as follows :? Php + ---------------------- + | pie3dfun. PHP public function | + ------------------------ + define (ANGLE_STEP, 3); defines the angle pie chart when an
Configuration and statistical charts of the PHP jpgraph Library: line chart, bar chart, pie chart, and jpgraph line chart
Introduction to JpGraph
JpGraph is an open-source PHP Statistical Chart generation library. It is built base
Use jfreechart to generate a bar chart, line chart, and pie chart.
JFreeChart is an open class library for drawing charts on the JAVA platform. It is fully written in JAVA and is designed for applications, applets, servlets, and JSP. Next I will detail how to use jfreechart to generate bar charts, line charts, and
Pie chart
Copy Code code as follows:
//+------------------------+
//| Pie3dfun. php//Common Functions |
//+------------------------+
Define ("Angle_step", 3); Defines the angle step when drawing an elliptical arc
Define ("font_used", "C:\WINDOWS\Fonts\simhei.ttf"); The font file location to use
function Draw_getdarkcolor ($img, $CLR)//$CLR the corresponding dark color
{
$rgb = Imagecolor
() {return frame1;
}
}
The effect chart is as follows:
But when we change the data in the private static Categorydataset GetDataSet () {} method, we have another effect, such as:
private static Categorydataset GetDataSet () {
Defaultcategorydataset DataSet = new Defaultcategorydataset ();
Dataset.addvalue (100, "Apple", "Apple");
Dataset.addvalue (200, "pear", "pear");
Dataset.addvalue (300, "grapes",
chcharttypepie pie chart 1 null
Picturetype Graphic Type 19 chcharttypepie3d 3D pie chart 0 null
Picturetype graphic type 18 chcharttypepieexploded separated pie chart 0 null
Picturetype Graphic Type 20 chcharttypepieexploded3d s
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.