Search results
Results From The WOW.Com Content Network
Draws charts in HTML with an accessible legend (optional). A list of all features is in the "TODO" section of the main `p.pie` function. Most of the time you should use with a helper template that adds required CSS: {{ Piechart }} .
Supported Chart Types Supported Bar Chart Types Other Features Interactivity Rendering Technologies Databinding HTML 5 Canvas Line Timeline Scatter Area Pie Donut Bullet Radar Funnel Gantt Network Grouped Mind Mapping Stacked Negative Discrete Horizontal 3D Legends Animation Mouse Over onClick HTML5 Canvas SVG VML AxisXY WebGL rendering ...
This template adds a pie chart to the page using Graph extension Template parameters [Edit template data] This template prefers inline formatting of parameters. Parameter Description Type Status Radius radius Specify the radius of the pie in number of pixels Default 100 Example 100 Number suggested Legend Title legend The title that will appear above the legend, or '-' to hide it Default ...
If a chart plots 10 colors or fewer, then by default it uses every other one: The colors can be manually set in a graph by adding them to the 'colors' parameter. For example, for two pie charts, the first of which is default and the second of which omits some colors in the first, you would manually enter your selections from the default 20:
The following code generates the pie chart shown at right. Note that the default chart size and colors are used, and the value of "1" for the "other" parameter is only used for its "truth value" as a visible string—i.e., to say, yes, we want an "Other" entry in the legend (the same chart would result if "0" were used).
Get AOL Mail for FREE! Manage your email like never before with travel, photo & document views. Personalize your inbox with themes & tabs. You've Got Mail!
The following code generates the pie chart shown at right. Note that the default chart size and colors are used, and the value of "1" for the "other" parameter is only used for its "truth value" as a visible string—i.e., to say, yes, we want an "Other" entry in the legend (the same chart would result if "0" were used).
I started working on {{pie chart/sandbox2}} to convert the older template into a wrapper for the newer one, with examples at Template:Pie chart/testcases. I both transcluded and substed the sandbox2 template in this demo to show the differences in syntax. {} problems: On major browsers, the chart sometimes "is escaping" from the box.