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 }} .
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).
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 ...
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).
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:
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 is the template test cases page for the sandbox of Template:Pie chart to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the ...
It is used to draw individual slices of pie charts within {}. Please see that template's documentation for more information. Please see that template's documentation for more information. See also