Tabulation render

From Catglobe Wiki
Revision as of 09:10, 25 March 2015 by Hoanghonhungocy (talk | contribs) (Created page with "<span style="font-size:larger">'''Tabulation_render'''</span> This function will return array html of all chart created on current tabulation script <span style="font-size:l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Tabulation_render

This function will return array html of all chart created on current tabulation script

Syntax

Tabulation_render()

Arguments

none

Return type

Array

Examples

setReportStyleSheetId(121);
createFrequenceDiagram("q1");
createFrequenceDiagram("q3");
array t=Tabulation_render();

//Return

{<table border="1" cellpadding="0" cellspacing="0" style="empty-cells:show;border:1px Solid #8DB3E2;">
<tr>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:11pt;font-family:Arial;color:#FFFFFF;background-color:#548DD4;" class="ColumnHeader ColumnHeaderLevel1 QuestionHeader">What is your gender?</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:11pt;font-family:Arial;color:#FFFFFF;background-color:#548DD4;" class="ColumnHeader ColumnHeaderLevel1 AbsoluteColumn AbsoluteColumnHeader">(abs)</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:11pt;font-family:Arial;color:#FFFFFF;background-color:#548DD4;" class="ColumnHeader ColumnHeaderLevel1 PercentageColumn PercentageColumnHeader">(pct)</td>
</tr>
<tr>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:11pt;font-family:Arial;color:#FFFFFF;background-color:#548DD4;" class="RowHeader RowHeaderLevel1 LastLevelRowHeader">Male</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#DBE5F1;" class="AnswerRow AbsoluteColumn AbsoluteColumnValue NumberValue">62.0</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#DBE5F1;" class="AnswerRow PercentageColumn PercentageColumnValue NumberValue">30.4%</td>
</tr>
<tr>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:11pt;font-family:Arial;color:#FFFFFF;background-color:#548DD4;" class="RowHeader RowHeaderLevel1 LastLevelRowHeader">Female</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#FFFFFF;" class="AnswerRowAlternate AbsoluteColumn AbsoluteColumnValue NumberValue">80.0</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#FFFFFF;" class="AnswerRowAlternate PercentageColumn PercentageColumnValue NumberValue">39.2%</td>
</tr>
<tr>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:11pt;font-family:Arial;color:#FFFFFF;background-color:#548DD4;" class="RowHeader RowHeaderLevel1 LastLevelRowHeader">Don't answer</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#DBE5F1;" class="AnswerRow AbsoluteColumn AbsoluteColumnValue NumberValue">62.0</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#DBE5F1;" class="AnswerRow PercentageColumn PercentageColumnValue NumberValue">30.4%</td>
</tr>
<tr>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:11pt;font-family:Arial;color:#FFFFFF;background-color:#548DD4;" class="RowHeader RowHeaderLevel1 TotalRow TotalRowHeader LastLevelRowHeader">Total</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#FFFFFF;" class="AnswerRowAlternate AbsoluteColumn AbsoluteColumnValue TotalRow TotalRowValue NumberValue">204.0</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#FFFFFF;" class="AnswerRowAlternate PercentageColumn PercentageColumnValue TotalRow TotalRowValue NumberValue">100.0%</td>
</tr>
</table>
,<table border="1" cellpadding="0" cellspacing="0" style="empty-cells:show;border:1px Solid #8DB3E2;">
<tr>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:11pt;font-family:Arial;color:#FFFFFF;background-color:#548DD4;" class="ColumnHeader ColumnHeaderLevel1 QuestionHeader">Where did you born?</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:11pt;font-family:Arial;color:#FFFFFF;background-color:#548DD4;" class="ColumnHeader ColumnHeaderLevel1 AbsoluteColumn AbsoluteColumnHeader">(abs)</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:11pt;font-family:Arial;color:#FFFFFF;background-color:#548DD4;" class="ColumnHeader ColumnHeaderLevel1 PercentageColumn PercentageColumnHeader">(pct)</td>
</tr>
<tr>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:11pt;font-family:Arial;color:#FFFFFF;background-color:#548DD4;" class="RowHeader RowHeaderLevel1 LastLevelRowHeader">Northern</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#DBE5F1;" class="AnswerRow AbsoluteColumn AbsoluteColumnValue NumberValue">204.0</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#DBE5F1;" class="AnswerRow PercentageColumn PercentageColumnValue NumberValue">100.0%</td>
</tr>
<tr>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:11pt;font-family:Arial;color:#FFFFFF;background-color:#548DD4;" class="RowHeader RowHeaderLevel1 LastLevelRowHeader">Center</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#FFFFFF;" class="AnswerRowAlternate AbsoluteColumn AbsoluteColumnValue NumberValue">0.0</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#FFFFFF;" class="AnswerRowAlternate PercentageColumn PercentageColumnValue NumberValue">0.0%</td>
</tr>
<tr>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:11pt;font-family:Arial;color:#FFFFFF;background-color:#548DD4;" class="RowHeader RowHeaderLevel1 LastLevelRowHeader">Southern</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#DBE5F1;" class="AnswerRow AbsoluteColumn AbsoluteColumnValue NumberValue">0.0</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#DBE5F1;" class="AnswerRow PercentageColumn PercentageColumnValue NumberValue">0.0%</td>
</tr>
<tr>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:11pt;font-family:Arial;color:#FFFFFF;background-color:#548DD4;" class="RowHeader RowHeaderLevel1 LastLevelRowHeader">Others</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#FFFFFF;" class="AnswerRowAlternate AbsoluteColumn AbsoluteColumnValue NumberValue">0.0</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#FFFFFF;" class="AnswerRowAlternate PercentageColumn PercentageColumnValue NumberValue">0.0%</td>
</tr>
<tr>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:11pt;font-family:Arial;color:#FFFFFF;background-color:#548DD4;" class="RowHeader RowHeaderLevel1 TotalRow TotalRowHeader LastLevelRowHeader">Total</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#DBE5F1;" class="AnswerRow AbsoluteColumn AbsoluteColumnValue TotalRow TotalRowValue NumberValue">204.0</td>
  <td style="border:1px Solid #8DB3E2;padding-bottom:1px;vertical-align:Middle;text-align:Left;padding-top:1px;padding-right:5px;padding-left:5px;font-size:9pt;font-family:Arial;color:#000000;background-color:#DBE5F1;" class="AnswerRow PercentageColumn PercentageColumnValue TotalRow TotalRowValue NumberValue">100.0%</td>
</tr>
</table>
}