Setter Name | Beispiel | Beschreibung |
---|
setColCalculationMethod(String val) | GRAPHOMATETREE_1.setColorCalculationMethod("hierarchy"); | Sets the method after which the rectangles of the tree are colored. Allowed parameter values are: hierarchy, areaIdentity, colorIdentity, absoluteDeviation, percentDeviation.
|
setColorSchema(String val) | GRAPHOMATETREE_1.setColorScheme("Set1, 4"); | Allows you to set a new ColorBrewer color scheme and the number of classes. Both entries must be separated by a comma and passed as a string. |
setDepth(int level) | GRAPHOMATETREE_1.setDepth(2); | Restricts the hierarchy depth shown in the tree to the value level. |
setExtendedNumberFormat(String val) | GRAPHOMATETREE_1.setExtendedNumberFormat("-||.|,|1|1|"); | Sets the number format for the extended mode. The format string can be read in the manual. |
setExtendedNumberFormatPercentage(String val) | GRAPHOMATETREE_1.setExtendedNumberFormatPercentage("-||.|,|1|1|%25"); | Sets the number format for percentage values in Extended mode. The format string can be read in the manual. |
setLabelFormatMode(String val) | GRAPHOMATETREE_1.setLabelFormatMode("extended"); | Sets the label formatting mode. Possible parameter values are "basic" and "extended". |
setLimitDepth(boolean val) | GRAPHOMATETREE_1.setLimitDepth(false); | Sets whether the limitation of the hierarchy depth is activated. |
setLocale(String val) | GRAPHOMATETREE_1.setLocale("de"); | Sets a new locale value. Allowed values for the locale are: de, en, fr and auto. If auto is selected, the locale is taken from the query for the formatting of the texts. |
setNegativeDeviationIsGood(boolean val) | GRAPHOMATETREE_1.setNegativeDeviationIsGood(true); | Sets whether negative deviations are interpreted as positive or negative. |
setNumberFormat(String val) | GRAPHOMATETREE_1.setNumberFormat("0,0.0"); | Sets the number format for Basic mode. The format string corresponds to the format of numeral.js, see manual. |
setNumberFormatPercentage(String val) | GRAPHOMATETREE_1.setNumberFormatPercentage("0 %"); | Sets the number format for percentage values in Basic mode. The format string corresponds to the format of numeral.js, see manual. |
setTooltipVisible(boolean val) | GRAPHOMATETREE_1.setTooltipVisible(true); | Sets whether tooltips are displayed in the tree. |
setUseFormattedData(boolean val) | GRAPHOMATETREE_1.setUseFormattedData(true); | Sets whether the pre-formatted data from Designer is used for the table. |
setTreeType(String val) | GRAPHOMATETREE_1.setTreeType("circle"); | Sets the selected type of visualization. The type must be one of the following values:circle, horizontal, vertical |
setFontSize(float val) | GRAPHOMATETREE_1.setFontSize(14); | Sets the font size. |
setTextColor(String val) | GRAPHOMATETREE_1.setTextColor("#c0ffee"); | Sets the font color: |
setNodeFillColor(String val) | GRAPHOMATETREE_1.setNodeFillColor("#c0ffee"), | Sets the fill color of the nodes of the tree. |
setNodeStrokeColor(String val) | GRAPHOMATETREE_1.setNodeStrokeColor("#c0ffee"); | Sets the color in which the outline of the nodes of the tree is drawn. |
setNodeStrokeThickness(float val) | GRAPHOMATETREE_1.setNodeStrokeThickness(3); | Sets the border thickness. |
setLinkStrokeColor(String val) | GRAPHOMATETREE_1.setLineStrokeColor("#0ff1ce"); | Sets the color of the links between the nodes. |
setLinkStrokeThickness(float val) | GRAPHOMATETREE_1.setLineStrokeThickness(1.2); | Sets the thickness of the links. |
setShowValue(boolean val) | GRAPHOMATETREE_1.setShowValue(false); | Sets whether the value of a node is displayed next to the label. |
setFontFamily(String val) | GRAPHOMATETREE_1.setFontFamily("Wingdings"); | Sets the font. |
setLinkLayout(String val) | GRAPHOMATETREE_1.setLinkLayout("elbow"); | Sets the layout of the links. One of the following values is possible: swung, straight, elbow, cross |
setRootNodeDescription(String val) | GRAPHOMATETREE_1.setRootNodeDescription("Welt"); | Sets the label of the root node. |
setInfinityColor(String val) | GRAPHOMATETREE_1.setInfinityColor("#0ff1ce"); | Sets the color given to nodes whose value is NaN or Infinity (for example, by division by 0). |
setNullColor(String val) | GRAPHOMATETREE_1.setNullColor("#0ff1ce"); | Sets the color assigned to nodes whose value is null (for example, because there is no value in the DataSource). |
setAscendingSortOrder(boolean val) | GRAPHOMATETREE_1.setAscendingSortOrder(true); | Sets whether nodes are sorted or not. |
setAreaScale(String val) | GRAPHOMATETREE_1.setAreaScale("linear"); | Sets which method is used to scale the areas. Possible values include: linear, log |
setMinNodeRadius(float val) | GRAPHOMATETREE_1.setMinNodeRadius("3"); | Sets the minimum radius of a node. |
setMaxNodeRadius(float val) | GRAPHOMATETREE_1.setMaxNodeRadius("30"); | Sets the maximum radius of a node. |
setDescriptionDelimiter(String val) | GRAPHOMATETREE_1.setDescriptionDelimiter("~"); | Sets which separator is used to represent label and value on a node. |