Difference between revisions of "Tabulation setTableDiagramStyle"
Line 1: | Line 1: | ||
− | + | [[Category:Style_setting_functions]] | |
+ | {{HelpFiles}} | ||
− | + | ===Tabulation_setTableDiagramStyle===) | |
− | + | Put the function description here | |
− | + | Example: Return value property of question. | |
− | + | ||
− | + | ===Syntax=== | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | Tabulation_setTableDiagramStyle(styleType, tableDiagramStyle, argTableDiagramStyle); | |
− | |||
− | + | ===Arguments=== | |
− | |||
− | + | styleType: is the CELL type that will be affected by the call. It's the value of the Table diagram constants. Or we can also use the name of Table Diagram constants | |
− | + | tableDiagramStyle: is the kind of style. It's the value of the Table Diagram style constants. Or we can also use the name of Table Diagram style constants | |
− | + | argTableDiagramStyle: is argument for the given tableDiagramStyle | |
− | | style="border: 1px solid | + | {| class="tableintopic" style="border-collapse: collapse; border: 1px solid rgb(1, 1, 1)" border="1" cellpadding="2" width="958" |
− | | style="border: 1px solid #010101" width=" | + | |- align="left" valign="top" |
− | + | | style="border: 1px solid #010101" bgcolor="#F59D56" width="227" | | |
+ | tableDiagramStyle | ||
− | | style="border: 1px solid #010101" | + | | style="border: 1px solid #010101" bgcolor="#F59D56" width="73" | |
− | + | Type | |
− | |||
− | + | | style="border: 1px solid #010101" bgcolor="#F59D56" width="433" | | |
− | | style="border: 1px solid #010101" | + | Description |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | style="border: 1px solid #010101" width=" | + | | colspan="1" style="border: 1px solid #010101" width="227" | TABLE_DIAGRAM_STYLE_FILL<br/> |
− | | style="border: 1px solid #010101" width=" | + | | style="border: 1px solid #010101" width="73" | array<br/> |
− | | style="border: 1px solid #010101" width="433" | | + | | style="border: 1px solid #010101" width="433" | Is the array of function [http://wiki.catglobe.com/index.php/DiagramFillStyle_getDefault DiagramFillStyle_getDefault]<br/> |
− | |||
|- | |- | ||
− | | | + | | colspan="1" style="border: 1px solid #010101" width="227" | TABLE_DIAGRAM_STYLE_DECIMAL<br/> |
− | + | | style="border: 1px solid #010101" width="174" | number<br/> | |
− | | style="border: 1px solid #010101" width=" | + | | With min 0<br/> |
− | | | ||
|- | |- | ||
− | | | + | | colspan="1" style="border: 1px solid #010101" width="227" | TABLE_DIAGRAM_STYLE_FONT<br/> |
− | + | | style="border: 1px solid #010101" width="174" | array<br/> | |
− | | style="border: 1px solid #010101" width=" | + | | Is the array of function [http://wiki.catglobe.com/index.php/DiagramFontStyle_getDefault DiagramFontStyle_getDefault]<br/> |
− | | | ||
|- | |- | ||
− | | | + | | colspan="1" style="border: 1px solid #010101" width="227" | TABLE_DIAGRAM_STYLE_VALIGN<br/> |
− | + | | style="border: 1px solid #010101" width="174" | string<br/> | |
− | | style="border: 1px solid #010101" width=" | + | | takes string values of these Center, Left, Right<br/> |
− | | | ||
|- | |- | ||
− | | | + | | colspan="1" style="border: 1px solid #010101" width="227" | TABLE_DIAGRAM_STYLE_HALIGN<br/> |
− | + | | style="border: 1px solid #010101" width="174" | string<br/> | |
− | | style="border: 1px solid #010101" width=" | + | | takes string values of these Center, Left, Right<br/> |
− | | | ||
|- | |- | ||
− | | style="border: 1px solid #010101" width=" | + | | colspan="1" style="border: 1px solid #010101" width="227" | TABLE_DIAGRAM_STYLE_NUMBER_FORMATTER<br/> |
− | | style="border: 1px solid #010101" width=" | + | | style="border: 1px solid #010101" width="174" | string<br/> |
− | | | + | | takes a string.format string, default is "{0:"+decimalplaces+"}"<br/> |
− | |||
|- | |- | ||
− | | | + | | colspan="1" style="border: 1px solid #010101" width="227" | TABLE_DIAGRAM_STYLE_PERCENT_FORMATTER<br/> |
− | + | | style="border: 1px solid #010101" width="174" | string<br/> | |
− | | style="border: 1px solid #010101" width=" | + | | takes a string.format string, default is "{0:"+decimalplaces+"}%"<br/> |
− | | | ||
− | |||
|- | |- | ||
− | | | + | | colspan="1" style="border: 1px solid #010101" width="227" | TABLE_DIAGRAM_STYLE_SIGNIFICANCE_FORMATTER<br/> |
− | + | | style="border: 1px solid #010101" width="174" | string<br/> | |
− | | style="border: 1px solid #010101" width=" | + | | takes a string.format string, default is "{0:[+];[-];,} {1}"<br/>where 0 is int that is positive, negative or zero depending on significance and 1 is the Z value<br/> |
− | | | ||
− | |||
|- | |- | ||
− | | | + | | colspan="1" style="border: 1px solid #010101" width="227" | TABLE_DIAGRAM_STYLE_BORDER_STYLE<br/> |
− | + | | style="border: 1px solid #010101" width="174" | object<br/> | |
− | | style="border: 1px solid #010101" width=" | + | | takes a [http://wiki.catglobe.com/index.php/TabulationBorder_class Border object]<br/> |
− | | | ||
− | |||
|} | |} | ||
+ | |||
+ | ===Return type=== | ||
+ | |||
+ | Empty | ||
+ | |||
+ | ===Examples=== | ||
+ | <source lang="javascript"> | ||
+ | Put your cgs codes and results here | ||
+ | </source> | ||
+ | __NOTOC__ |
Revision as of 09:13, 7 December 2015
===Tabulation_setTableDiagramStyle===)
Put the function description here Example: Return value property of question.
Syntax
Tabulation_setTableDiagramStyle(styleType, tableDiagramStyle, argTableDiagramStyle);
Arguments
styleType: is the CELL type that will be affected by the call. It's the value of the Table diagram constants. Or we can also use the name of Table Diagram constants tableDiagramStyle: is the kind of style. It's the value of the Table Diagram style constants. Or we can also use the name of Table Diagram style constants
argTableDiagramStyle: is argument for the given tableDiagramStyle
tableDiagramStyle |
Type |
Description |
TABLE_DIAGRAM_STYLE_FILL |
array |
Is the array of function DiagramFillStyle_getDefault |
TABLE_DIAGRAM_STYLE_DECIMAL |
number |
With min 0 |
TABLE_DIAGRAM_STYLE_FONT |
array |
Is the array of function DiagramFontStyle_getDefault |
TABLE_DIAGRAM_STYLE_VALIGN |
string |
takes string values of these Center, Left, Right |
TABLE_DIAGRAM_STYLE_HALIGN |
string |
takes string values of these Center, Left, Right |
TABLE_DIAGRAM_STYLE_NUMBER_FORMATTER |
string |
takes a string.format string, default is "{0:"+decimalplaces+"}" |
TABLE_DIAGRAM_STYLE_PERCENT_FORMATTER |
string |
takes a string.format string, default is "{0:"+decimalplaces+"}%" |
TABLE_DIAGRAM_STYLE_SIGNIFICANCE_FORMATTER |
string |
takes a string.format string, default is "{0:[+];[-];,} {1}" where 0 is int that is positive, negative or zero depending on significance and 1 is the Z value |
TABLE_DIAGRAM_STYLE_BORDER_STYLE |
object |
takes a Border object |
Return type
Empty
Examples
Put your cgs codes and results here