Setter Name | Example | Description |
---|
setData(String val) | GRAPHOMATESLOPEGRAPH_1.setData({"(MEASURES_DIMENSION)": "0D_NWI_NSAL", "0D_NWI_RCOD": "80503"}); | Sets the selection string, which specifies the data visualized by the slopegraphs. Please refer to the Design Studio documentation for more information. |
setShowCategoryLabels(boolean val) | GRAPHOMATESLOPEGRAPH_1.setShowCategoryLabels(true); | Sets whether or not category labels should be visible. |
setFontSize(float val) | GRAPHOMATESLOPEGRAPH_1.setFontSize(12); | Sets the font size. |
setTextColor(String val) | GRAPHOMATESLOPEGRAPH_1.setTextColor("#eee"); | Sets the font color. |
setFocusTextColor(String val) | GRAPHOMATESLOPEGRAPH_1.setFocusTextColor("#ff0000); | Sets the focus font color which is used during runtime if a user hovers over a text. |
setFontFamily(String val) | GRAPHOMATESLOPEGRAPH_1.setFontFamily("Wingdings"); | Sets the font color. |
setOnlyLeadingDescription(boolean val) | GRAPHOMATESLOPEGRAPH_1.setOnlyLeadingDescription(false); | Sets whether or not only leading slope labels should be shown. |
setNumberFormat(String val) | GRAPHOMATESLOPEGRAPH_1.setNumberFormat("0.0a"); | Sets the number format. |
setSlopeColor(String val) | GRAPHOMATESLOPEGRAPH_1.setSlopeColor("#00ff00"); | Sets the slope color. |
setFocusSlopeColor(String val) | GRAPHOMATESLOPEGRAPH_1.setFocusSlopeColor("#0000ff"); | Sets the focus slope color which is used during runtime if a user hovers over a slope. |
setPositiveSlopeColor(String val) | GRAPHOMATESLOPEGRAPH_1.setPositiveSlopeColor("#123456"); | Sets the color for ascending slopes (which is only shown if Show Trend in Slopes is active). |
setNegativeSlopeColor(String val) | GRAPHOMATESLOPEGRAPH_1.setNegativeSlopeColor("#654321"); | Sets the color for descending slopes (which is only shown if Show Trend in Slopes is active). |
setNegativeIsGood(boolean val) | GRAPHOMATESLOPEGRAPH_1.setNegativeIsGood(true); | Sets whether or not ascending slopes are interpreted as negative and therefor be colored differently (and vice versa). |
setShowTrendInSlopes(boolean val) | GRAPHOMATESLOPEGRAPH_1.setShowTrendInSlopes(false); | Sets whether or not trends should be shown (using the specified trend color, see above). |
setSlopeThickness(float val) | GRAPHOMATESLOPEGRAPH_1.setSlopeThickness(2); | Sets the slope thickness. |
setUseRanks(boolean val) | GRAPHOMATESLOPEGRAPH_1.setUseRanks(true); | Sets whether or not slopes should be scaled using their rank instead of their value. |
setRankDotRadius(float val) | GRAPHOMATESLOPEGRAPH_1.setRankDotRadius(5); | Sets the Rank Dot Radius (only relevant if Use Ranks is active). |
setAscendingOrder(boolean val) | GRAPHOMATESLOPEGRAPH_1.setAscendingOrder(false); | Sets whether or not the slopes are shown in ascending order. |