Module:Sandbox/Ita140188/chart2/doc
This is the documentation page for Module:Sandbox/Ita140188/chart2
before (Module:Chart) | after (this module) |
25,000
50,000
75,000
100,000
125,000
150,000
Before
During
After
Post mortem
Blah
Bloh
|
Page Template:TemplateStyles sandbox/Ita140188/styles.css has no content. 150,000
125,000
100,000
75,000
50,000
25,000
Before
During
After
Post mortem
Blah
Bloh
|
before (Module:Chart) | after (this module) |
100
200
300
400
500
600
700
2000
2005
2010
2015
Renewable electricity generation 1998-2017 |
Page Template:TemplateStyles sandbox/Ita140188/styles.css has no content.
700
600
500
400
300
200
100
2000
2005
2010
2015
Renewable electricity generation 1998-2017 |
Integers
Old chart module: | new module:
Page Template:TemplateStyles sandbox/Ita140188/styles.css has no content. |
Rockets
Rocket configurations
Page Template:TemplateStyles sandbox/Ita140188/styles.css has no content.
- Falcon 9 v1.0
- Falcon 9 v1.1
- Falcon 9 Full Thrust
- Falcon 9 FT (reused)
- Falcon 9 Block 5
- Falcon Heavy
Launch sites
Page Template:TemplateStyles sandbox/Ita140188/styles.css has no content.
Launch outcomes
Page Template:TemplateStyles sandbox/Ita140188/styles.css has no content.
- Loss before launch
- Loss during flight
- Partial failure
- Success
Booster landings
Page Template:TemplateStyles sandbox/Ita140188/styles.css has no content.
- Ground pad failure
- Drone ship failure
- Ocean failure
- Parachutes failure
- Ground pad success
- Drone ship success
- Ocean touchdown
- No attempt
Page Template:TemplateStyles sandbox/Ita140188/styles.css has no content.
Page Template:TemplateStyles sandbox/Ita140188/styles.css has no content.
- Apple
- Banana
Page Template:TemplateStyles sandbox/Ita140188/styles.css has no content.
- Apple
- Banana
- Orange
Page Template:TemplateStyles sandbox/Ita140188/styles.css has no content.
- Apple
- Banana
- Orange
Page Template:TemplateStyles sandbox/Ita140188/styles.css has no content.
- Alabama
- Alaska
- Arizona
- Arkansas
- California
- Colorado
- Connecticut
- Delaware
- Florida
- Georgia
- Hawaii
- Idaho
- Illinois
- Indiana
- Iowa
- Kansas
- Kentucky
- Louisiana
- Maine
- Maryland
- Massachusetts
Test case for numerous narrow columns
Charting the history of rocket launches at Timeline of spaceflight.
- Legacy Chart module
- Failure
- Partial failure
- Success
- Planned
- Updated module
Page Template:TemplateStyles sandbox/Ita140188/styles.css has no content.
- Failure
- Partial failure
- Success
- Planned
Test case for negative values (still not working!!)
Charting the GDP growth of Russia for the Economy of Russia article.
- Legacy Chart module
- Growth
- Recession
- Updated module
Page Template:TemplateStyles sandbox/Ita140188/styles.css has no content.
- Growth
- Recession
Page Template:TemplateStyles sandbox/Ita140188/styles.css has no content.
Drawing Pie charts: "pie chart"
Parameters
parameter name | what it does |
---|---|
delimiter | string to delimit multiple values when given. default to colon ( : ). normally you do not want to touch this, it's provided for the off-chance you'll want to use colon as part of one of the parameters. |
radius | number. The radius of the pie in pixels |
slices | Tuples, in parenthesis. Use delimiter inside the tuple:
( Value1 : Name1 : Color1 : Link1 ) ( Value2 : Name2 : Color2 : Link2 ) ... The values are numbers. The numbers can be integers or decimal fractions, or using the scientific notation: 7.24e6, 7,240,000, or 7240000.00 are all acceptable for 7 Million and 240 thousands. Names are strings. Colors are optional. you can use any Web colors, such as "red" or "#FF0000". Up to 26 default colors are defined, but if your pie has more than 26 slices, you must define the colors of slice #27 and up. Links can be external or internal links, including linking to internal anchors and paragraphs in the same article, like so: [[Article|Tooltip]] for internal link, [[#Paragraph name|Tooltip]] for linking to an anchor in same article, or [http://example.org Tooltip] for external link. |
slice n | alternative syntax to "slices". n is the slice number, beginning with 1. make sure not to skip: if you define "slice 1", "slice 2", "slice 4", "slice 5"..., skipping slice 3, only the first two slices will be shown. this syntax is incompatible with "slices", i.e., they should not be used in conjunction in the same invocation. Using both "slices" and "slice n" in the same invocation will cause unpredictable results. The value is like a single "tuple" as explained above, but without the parenthesis:
| slice 1 = Value1 : Name1 : Color1 : Link1 | slice 2 = Value2 : Name2 : Color2 : Link2 | ... This syntax allows you to use parenthesis in names, links, and colors. |
percent | if used, the percentage of each slice will be calculated and added to the legend: so if you have two slices, like so: ( 1 : Younglings ) ( 3 : elders ), and use define "percent", the legends will become "Younglings: 1 (25%)" and "Elders: 3 (75%)", instead of simply "Younglings: 1" and "Elders: 3". Any non-empty value means "yes". To say "no", simply do not supply this parameter at all, or leave the value blank. |
units prefix | used in the legend. e.g., defining "units prefix=$", values will show as "$500" instead of "500" in the legends |
units suffix | ditto for units suffix. use, e.g. "Kg" so values will show as 88Kg instead of 88 in legend. underscore ("_") are replaced by spaces, to allow a space between the value and the suffix. |
hide group legends | Setting to true prevents displaying of the group legends under the chart. Any non-empty value means "yes". To say "no", simply do not supply this parameter at all, or leave the value blank. |
Examples
- Apples: 1,000,000 Tonne (17.2%)
- Bananas: 2,000,000 Tonne (34.3%)
- Apricots: 1,440,000 Tonne (24.7%)
- Pears: 640,000 Tonne (11.0%)
- Pineapples: 750,000 Tonne (12.9%)
- Apples: 1,000,000 Tonne (17.2%)
- Bananas: 2,000,000 Tonne (34.3%)
- Apricots: 1,440,000 Tonne (24.7%)
- Pears: 640,000 Tonne (11.0%)
- Pineapples: 750,000 Tonne (12.9%)
- 1: 1 Units (0.2%)
- 7: 7 Units (1.5%)
- 8: 8 Units (1.7%)
- 9: 9 Units (1.9%)
- 10: 10 Units (2.1%)
- 11: 11 Units (2.3%)
- 12: 12 Units (2.5%)
- 13: 13 Units (2.7%)
- 14: 14 Units (2.9%)
- 15: 15 Units (3.2%)
- 16: 16 Units (3.4%)
- 17: 17 Units (3.6%)
- 18: 18 Units (3.8%)
- 19: 19 Units (4.0%)
- 20: 20 Units (4.2%)
- 21: 21 Units (4.4%)
- 22: 22 Units (4.6%)
- 23: 23 Units (4.8%)
- 24: 24 Units (5.0%)
- 25: 25 Units (5.3%)
- 26: 26 Units (5.5%)
- 27: 27 Units (5.7%)
- 28: 28 Units (5.9%)
- 29: 29 Units (6.1%)
- 30: 30 Units (6.3%)
- 31: 31 Units (6.5%)
- 1: 1 Units (0.2%)
- 7: 7 Units (1.5%)
- 8: 8 Units (1.7%)
- 9: 9 Units (1.9%)
- 10: 10 Units (2.1%)
- 11: 11 Units (2.3%)
- 12: 12 Units (2.5%)
- 13: 13 Units (2.7%)
- 14: 14 Units (2.9%)
- 15: 15 Units (3.2%)
- 16: 16 Units (3.4%)
- 17: 17 Units (3.6%)
- 18: 18 Units (3.8%)
- 19: 19 Units (4.0%)
- 20: 20 Units (4.2%)
- 21: 21 Units (4.4%)
- 22: 22 Units (4.6%)
- 23: 23 Units (4.8%)
- 24: 24 Units (5.0%)
- 25: 25 Units (5.3%)
- 26: 26 Units (5.5%)
- 27: 27 Units (5.7%)
- 28: 28 Units (5.9%)
- 29: 29 Units (6.1%)
- 30: 30 Units (6.3%)
- 31: 31 Units (6.5%)
- ↑ Cite error: Invalid
<ref>
tag; no text was provided for refs namedpris-supplied