Setter Name | Example | Description |
---|
setBadColor(String) | GRAPHOMATETILE_1 .setBadColor("#FF0000"); | Sets the hexadecimal color value for negative deviations. |
setBorderColor(String) | GRAPHOMATETILE_1.setBorderColor("#666666"); | Sets the color of the component border and the slot dividers to the passed value. |
setBorderThickness(integer) | GRAPHOMATETILE_1.setBorderThickness(2); | Sets the thickness of the component border to the passed value. |
setComparisonGroup(String) | GRAPHOMATETILE_1.setComparisonGroup ("A"); | Registers the tile in the Comparison Group with the passed id. Components within the same Comparison Group are scaled identically. |
setDataColor1(string value) | GRAPHOMATETILE_1.setDataColor1 ("#ff0000"); | Sets the color of the first data series to the passed value. |
setDataColor2(string value) | GRAPHOMATETILE_1.setDataColor2("#008b23"); | Sets the color of the second data series to the passed value. |
setExtendedNumberFormat (String) | GRAPHOMATETILE_1.setExtendedNumberFormat(“-||.|,|1|2| tEUR“); | Sets the format string for the Extended Number Format to the passed value (see appendix of the manual for the tiles for the correct syntax). |
setExtendedNumberFormatPercentage (String) | GRAPHOMATETILE_1.setExtendedNumberFormatPercent(“-||.|,|1|2|%”); | Sets the format string for the Extended Number Format for percentages (see appendix of the manual for the tiles for the correct syntax). |
setFlipDuration(integer) | GRAPHOMATETILE_1.setFlipDuration(250); | Sets the duration of the flip animation. |
setFlipTrigger(String) | GRAPHOMATETILE_1.setFlipTrigger("Click"); | Sets the trigger for the flip effect. The parameter can be either "None", "Click", "Double Click" or "Hover". |
setGoodColor(String) | GRAPHOMATETILE_1.setGoodColor ("#00ff00"); | Sets the color for positive deviations to the passed value. |
setGridSize(integer) | GRAPHOMATETILE_1.setGridSize(100); | Sets the grid size to the passed value. |
setLabelFormatMode (String) | GRAPHOMATETILE_1.setLabelFormatMode("basic"); | Governs whether value labels are formatted using numeral.js or the Extended Number Format. Valid values are basic for numeral.js or extended for the Extended Number Format. |
setLayout (String) | GRAPHOMATETILE_1.setLayout("Layout122"); | Sets the layout of a given tile to the passed format. The following values are valid: Layout100, Layout110, Layout111, Layout112, Layout120, Layout121, Layout122,Layout200, Layout211, Layout212, Layout220, Layout221, Layout222, Layout133, Layout123, Layout333 The individual numbers represent the numbers of cells per row. Layout111 represents a three-row layout with a single cell each. Layout122 would be a layout with a single headline cell and two cells in rows 2 and 3. |
setLocale(string value) | GRAPHOMATETILE_1.setLocale("de"); | Sets the locale setting to the passed value. Valid values are de (German), fr (French), en (English). |
setModuleProperty (integer targetModule, string value targetProperty, string newValue) | GRAPHOMATETILE_1.setModuleProperty(1, "title", "Title set by script"); | This script command can be used to change the properties of a given viewmodule. Depending on the viewmodule, the available properties can vary. As described above, the available commands can be read (and copied/pasted) from the scripting help popup. The parameter targetModule describes the layout slot the module is placed in (in a three-row layout, this would be 1, 2, and 3). targetProperty is the name of the property to be set. The third parameter should contain the new value of the property. |
setNumberFormat (string value) | GRAPHOMATETILE_1.setExtendedNumberFormat(“0,0.00a“); | Sets the format string for numeral.js formatting to the passed value (see appendix of the manual of the tiles for syntax) |
setNumberFormatPercentage (string value) | Sets the format string for numeral.js formatting for percentages to the passed value. | GRAPHOMATETILE_1.setNumberFormatPercent(“0,0.00%“); |
setSelection(string value selectionName, string value selectionString) | GRAPHOMATETILE_1.setSelection("dataSingleCell4", '{"Keyfigures": "0D_NWI_IQTY", "0D_NWI_CHAN": "4"}'); | Sets the passed data property to the passed selection. SelectionString needs to be passed as valid JSON string. This string describes either a single row, column, or single cell in the initial view. The strings to be used for selectionName deviate slightly from those visible in the Standard Property Sheet: for a single ResultCell, this is dataSingleCell, rows or columns need to be addressed as dataCellList, each followed by the index number. The scripting help popup (see Modules tab in the manual) already contains the valid parameters for a given module. The order of the setSelection commands in the popup corresponds to the order in the Additional Property Sheet. |
setSnapToGrid (boolean value) | GRAPHOMATETILE_1.setSnapToGrid (true); | If true is passed, the tile determines its own width/height according to the specified grid size. |
setTextColor1(string value) | GRAPHOMATETILE_1.setTextColor1 ("#ff0000"); | Sets the headline color to the passed value. |
setTextColor2(string color) | GRAPHOMATETILE_1.setTextColor2 ("#666666"); | Sets the Category Label color to the passed value. |
setVisibleSide(string) | GRAPHOMATETILE_1.setVisibleSide("Back"); | Sets the visible side to the passed value. Valid values are "Front" and "Back". |
toggleFlip() | GRAPHOMATETILE_1.toggleFlip(); | Triggers the flip effect once. |