# Wiki source code of Chart

Last modified by Jean Franco on 2022/06/19 21:15
Export
Office Formats
Export as PDF Export as ODT Export as RTF
Other Formats

Select the pages to export:

select all/ none

Legend:
  Created Page
  Modified Extension Page
  Clean Extension Page

Export as HTML

Show last authors

author | version | line-number | content
--- | --- | --- | ---
|  | 1 | {{box cssClass="floatinginfobox"}}
|  | 2 | {{toc start="2" /}}
|  | 3 | {{/box}}
|  | 4 |
|  | 5 | {{velocity}}
|  | 6 | $services.localization.render('help.macros.chart', ['**', '**']) [[$services.localization.render('help.more.label')>>https://extensions.xwiki.org/xwiki/bin/view/Extension/Chart+Macro]]
|  | 7 |
|  | 8 | == $services.localization.render('help.macros.chart.pie') ==
|  | 9 |
|  | 10 | === $services.localization.render('help.macros.example') 1 ===
|  | 11 | {{/velocity}}
|  | 12 |
|  | 13 | {{example}}
|  | 14 | {{chart type="pie" source="inline" params="range:B2-D5;series:columns;" title="Pie Chart" width="320" height="240"}}
|  | 15 | |=|=X|=Y|=Z
|  | 16 | |Q1|1.2|3.4|1.3
|  | 17 | |Q2|4.5|3.4|2.3
|  | 18 | |Q3|1.2|4.5|9.0
|  | 19 | |Q4|3.4|1.2|1.2
|  | 20 | {{/chart}}
|  | 21 | {{/example}}
|  | 22 |
|  | 23 | {{velocity}}
|  | 24 | === $services.localization.render('help.macros.example') 2 ===
|  | 25 | {{/velocity}}
|  | 26 |
|  | 27 | {{example}}
|  | 28 | {{chart type="pie" source="inline" params="range:B2-D5;series:columns;colors:d9534f,f0ad4e,337ab7,5cb85c;backgroundColor:FFFFFF;" title="Pie Chart"}}
|  | 29 | |=|=X|=Y|=Z
|  | 30 | |Chrome|32|56|7
|  | 31 | |Firefox|45|12|9
|  | 32 | |Safari|12|45|0
|  | 33 | |IE|6|46|2
|  | 34 | {{/chart}}
|  | 35 | {{/example}}
|  | 36 |
|  | 37 | {{velocity}}
|  | 38 | == $services.localization.render('help.macros.chart.bar') ==
|  | 39 | {{/velocity}}
|  | 40 |
|  | 41 | {{example}}
|  | 42 | {{chart type="bar" source="inline" params="range:B2-D5;series:columns;colors:C3E3F7,1D9FF5,015891,012A45;backgroundColor:FFFFFF;" title="Bar Chart"}}
|  | 43 | |=|=New Visitors|=Returning Visitors|=All Visitors
|  | 44 | |January|1.2|3.4|1.3
|  | 45 | |February|4.5|3.4|2.3
|  | 46 | |March|1.2|4.5|9.0
|  | 47 | |April|3.4|1.2|1.2
|  | 48 | {{/chart}}
|  | 49 |
|  | 50 | {{/example}}
|  | 51 |
|  | 52 | {{velocity}}
|  | 53 | == $services.localization.render('help.macros.chart.time') ==
|  | 54 | {{/velocity}}
|  | 55 |
|  | 56 | {{example}}
|  | 57 | {{chart type="xy_line_and_shape" params="range:B2-C19;dataset:timetable_xy;domain_axis_type:date;domain_axis_date_format:MMM-yyyy;date_format:yyyy-MM;time_period:month;range_axis_lower:100;range_axis_upper:190" title="Time Series Chart"}}
|  | 58 | |=|=Series1|=Series2
|  | 59 | |2001-2|181.8|129.6
|  | 60 | |2001-3|167.3|123.2
|  | 61 | |2001-4|153.8|117.2
|  | 62 | |2001-5|167.6|124.1
|  | 63 | |2001-6|158.8|122.6
|  | 64 | |2001-7|148.3|119.2
|  | 65 | |2001-8|153.9|116.5
|  | 66 | |2001-9|142.7|112.7
|  | 67 | |2001-10|123.2|101.5
|  | 68 | |2001-11|131.8|106.1
|  | 69 | |2001-12|139.6|110.3
|  | 70 | |2002-1|142.9|111.7
|  | 71 | |2002-2|138.7|111.0
|  | 72 | |2002-3|137.3|109.6
|  | 73 | |2002-4|143.9|113.2
|  | 74 | |2002-5|139.8|111.6
|  | 75 | |2002-6|137.0|108.8
|  | 76 | |2002-7|132.8|101.6
|  | 77 | {{/chart}}
|  | 78 | {{/example}}

# Applications

# Tips

Press the x+x+x+a key combo to toggle the Advanced mode and x+x+x+h to toggle the display of hidden pages.

Maila Networks
XWiki Debian 14.4.1