You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Parameters

The add-on adds the Pivot table macro. You can add this macro onto your Confluence page and further paste any table into the macro body. You can also insert the macros that generate the table data and get a pivot table with aggregated values. The following parameters are available to you:

ParameterParameter NameDefaultDescription
tfc-widthWidth Width of the chart in pixels.
tfc-heightHeight Height of the chart in pixels.
columnRow labels / Dates column Name of the column containing data labels or dates.
datepatternDate format Format of dates used in the table.
aggregationValues column Name of the column containing data values.
idIDAssigned automaticallyID of the chart.
typeType Type of the chart to generate.
separatorDecimal Separator Decimal separator used in data values.
hideHide the source tableDisabledOption to hide the source table with data.
hidecontrolsHide controlsDIsabledOption to hide the controls used to manage parameters of the Table Chart macro.

Pivot tables in Confluence

You can expand the section below and see the source table that is used for generation of a pivot table with aggregated values.

AgentTickets per HourAverage Time per Ticket (min)Calls per HourAverage Time per Call (min)Money ($)
Remy Deomampo6.93.02.26.12 875.00
Rahul Dickstein8.01.64.44.85 270.00
Radu Donahue3.67.03.75.24 886.00
Preston Doorey2.26.94.87.55 237.00
Remy Deomampo4.45.72.44.63 140.00
Rahul Dickstein4.52.32.64.35 249.00
Radu Donahue7.53.21.15.32 572.00
Preston Doorey6.76.14.762 944.00
Phill Doyle8.15.92.16.33 767.00
Remy Deomampo2.75.34.66.23 206.00
Rahul Dickstein4.33.24.07.23 625.00
Radu Donahue5.61.74.97.61 399.00
Preston Doorey5.83.53.84.35 121.00
Remy Deomampo8.74.92.07.34 170.00
Rahul Dickstein8.81.42.94.22 032.00
Radu Donahue2.94.43.653 418.00
Preston Doorey2.65.01.34.91 364.00
Phill Doyle6.33.32.06.83 554.00
Remy Deomampo5.72.44.83.94 005.00
Remy Deomampo3.63.13.43.34 672.00
Rahul Dickstein4.91.11.87.14 711.00
Radu Donahue2.95.81.65.44 908.00
Preston Doorey5.71.24.65.55 162.00
Phill Doyle2.74.13.05.44 227.00
Philip Druckman5.82.64.24.32 701.00

You can use the dedicated panel to change the calculated column and select the appropriate operation type from the following ones:

  • Count - counts the number of values pertaining to one label in the source table.
  • Max - determines the maximal value per each label.
  • Min - determines the minimal value per each label.
  • Average - calculates the average values per each label.
  • Sum - calculates the sum of values per each label.

Feel free to work with the sample Pivot table for getting aggregated data values. You can always save any modifications made in the macro's parameters by clicking Save settings in the page view mode.

Table chart examples

Sample Chart #1

Use Hint

Try to alternate the view of the chart by switching among the following chart types:

  • Pie
  • Donut
  • 3D Donut
  • Column
  • Bar

You can also select a new column with data values of the following ones:

  • Answered Tickets
  • Call per Hour
  • Ticket Response (min)
  • Tickets per Hour
AgentDateTickets per HourTicket Response (min)Calls per HourAnswered TIckets
Remy Dempo25.06.20157.33.23.389
Rahul Dickstein26.06.20158.53.11.895
Radu Donahue27.06.20155.03.74.565
Preston Doorey28.06.20152.25.82.728
Phill Doyle29.06.20153.95.22.937

Sample Chart #2

Use Hint

Try to alternate the view of the chart by switching among the following chart types:

  • Line
  • Area

For the Row Labels and Values Column use only table columns containing numbers.

DateIncomeSpendingsBalance
8/1/20154366.504332.4334.07
8/2/20153369.004251.00-882.00
8/3/20154685.005212.57-527.57
8/4/20153284.252912.14372.11
8/5/20152892.754260.00-1367.25
8/6/20152833.383034.29-200.91
8/7/20153827.634318.00-490.38
8/8/20153936.385706.71-1770.34
8/9/20154804.383199.571604.80
8/10/20154325.384151.86173.52
8/11/20154884.133800.711083.41
8/12/20154265.383469.86795.52
8/13/20154737.253301.141436.11
8/14/20153201.754026.86-825.11
8/15/20154498.884910.00-411.13
8/16/20154823.883562.861261.02
8/17/20153833.634584.57-750.95
8/18/20152753.252933.71-180.46
8/19/20153685.254079.57-394.32
8/20/20154313.504852.71-539.21
8/21/20152726.255172.00-2445.75
8/22/20154849.254364.57484.68
8/23/20153778.505115.14-1336.64
8/24/20153225.503665.71-440.21
8/25/20154719.133601.571117.55
8/26/20153815.253517.00298.25
8/27/20154983.883913.861070.02
8/28/20154219.005315.14-1096.14
8/29/20153282.005555.86-2273.86
8/30/20153746.133921.57-175.45
8/31/20154939.504909.2930.21

Sample Chart #3

Use Hint

Try to alternate the view of the chart by switching among the following chart types:

  • Time Line
  • Time Area

Alternate the Values Column among the following table columns:

  • Income
  • Spendings
  • Balance
DateIncomeSpendingsBalance
8/1/20154366.504332.4334.07
8/2/20153369.004251.00-882.00
8/3/20154685.005212.57-527.57
8/4/20153284.252912.14372.11
8/5/20152892.754260.00-1367.25
8/6/20152833.383034.29-200.91
8/7/20153827.634318.00-490.38
8/8/20153936.385706.71-1770.34
8/9/20154804.383199.571604.80
8/10/20154325.384151.86173.52
8/11/20154884.133800.711083.41
8/12/20154265.383469.86795.52
8/13/20154737.253301.141436.11
8/14/20153201.754026.86-825.11
8/15/20154498.884910.00-411.13
8/16/20154823.883562.861261.02
8/17/20153833.634584.57-750.95
8/18/20152753.252933.71-180.46
8/19/20153685.254079.57-394.32
8/20/20154313.504852.71-539.21
8/21/20152726.255172.00-2445.75
8/22/20154849.254364.57484.68
8/23/20153778.505115.14-1336.64
8/24/20153225.503665.71-440.21
8/25/20154719.133601.571117.55
8/26/20153815.253517.00298.25
8/27/20154983.883913.861070.02
8/28/20154219.005315.14-1096.14
8/29/20153282.005555.86-2273.86
8/30/20153746.133921.57-175.45
8/31/20154939.504909.2930.21
  • No labels