Getter Name | Example | Return type | Example Return Value | Description |
---|
getBarWidthFactor() | GRAPHOMATESPARKLINES_1.getBarWidthFactor(); | float | 0.5 | Returns the current setting for the bar width factor. |
getDisplayCategoryLabels() | GRAPHOMATESPARKLINES_1.getDisplayCategoryLabels(); | boolean | true | Returns if Category Labels are displayed or not. In case of true, they are shown, otherwise not. |
getDisplayLeadingValues() | GRAPHOMATESPARKLINES_1.getDisplayLeadingValue(); | boolean | true
| Returns if leading values are displayed or not. |
getDisplayOverallRange() | GRAPHOMATESPARKLINES_1.getDisplayOverallRange(); | boolean | false | Returns whether Overall Range and Relative Range are displayed or not. |
getDisplayTrailingValues() | GRAPHOMATESPARKLINES_1.getDisplayTrailingValues(); | boolean | true | Returns if trailing values are displayed or not. |
getDisplayType() | GRAPHOMATESPARKLINES_1.getDisplayType(); | String | line | Returns either "line" or "bar" for the current display type. |
getEnableRuler() | GRAPHOMATESPARKLINES_1.getEnableRuler(); | boolean | true | Returns whether the vertical helpline is currently activated or not. |
getEnableZoom() | GRAPHOMATESPARKLINES_1.getEnableZoom(); | boolean | true | Returns whether the runtime zoom function is enabled or not. |
getEnableZoomAnimation() | GRAPHOMATESPARKLINES_1.getEnableZoomAnimation(); | boolean | true | Returns whether the appearing of the zoom popup is animated or not. |
getHighlightMinMax() | GRAPHOMATESPARKLINES_1.getHighlightMinMax(); | boolean | true | Returns if maximum/minimum highlighting is turned on or off. |
getIsDataInRows() | GRAPHOMATESPARKLINES_1.getIsDataInRows(); | boolean | true | Returns the current orientation of data interpretation. |
getSelectedMember(dimension dimensionKey) | GRAPHOMATESPARKLINES_1.getSelectedMember().text; | Member | | After the user clicked on a sparkline, this function returns the member of the specified dimension dimensionKey. The member provides different properties such as text, internalKey and externalKey. |
getSelectedMemberKey(string value dimensionKey) | GRAPHOMATESPARKLINES_1.getSelectedMemberKey("0D_NWI_RCOD"); | String | 10274 | After the user clicked on a sparkline, this function returns the Key of the member of the selected dimension dimensionKey. |
getSelectedMemberText(string value dimensionKey) | GRAPHOMATESPARKLINESGRAPHOMATESPARKLINES_1.getSelectedMemberText("0D_NWI_RCOD"); | String | | After the user clicked on a sparkline, this function returns the text of the member of the selected dimension dimensionKey. The return value is similar to the function getSelectedMemberKey(). |
getSelection() | GRAPHOMATESPARKLINES_1.getSelection(); | String | {} | Returns the selection currently in use. If “{}“ is returned that means that the complete resultset is used to generate sparklines. |
getTitle() | GRAPHOMATESPARKLINES_1.getTitle(); | String | | Returns the current title of the sparkline component. |
getZoomDuration() | GRAPHOMATESPARKLINES_1.getZoomDuration(); | float | 2000 | Returns the current duration of the zoom animation in ms. |