Setter Name | Beispiel | Beschreibung |
---|
scalingHelperMode(string value) | activate the Scaling Helper | Sets the Scaling Helper. Valid values are none, line, area. |
setAxisLabels(String) | GRAPHOMATECHART_1.setAxisLabels("Net Sales,Returns"); | Sets the axes labels of the chart. Expects value as comma-separated string. The first value is interpreted as left axis label, the second as right axis label. |
setAxisThickness(Integer) | GRAPHOMATECHART_1.setAxisThickness(3); | Sets the axes thickness. |
setBarWidth(Float) | GRAPHOMATECHART_1.setBarWidth(3); | Sets the width of the bars as a float value. Values less than or equal to 1 are interpreted as percentages. |
setBaseChartVisible(Boolean) | GRAPHOMATECHART_1.setBaseChartVisible(true); | Sets whether the base chart is visible. |
setCalculationPath(String) | GRAPHOMATECHART_1.setCalculationPath("+,+,+,-,-,=, ,s+,+,=,-,-"); | Sets the Waterfall Calculation Path. Expects value as comma-separated string. |
setCalculateDeviationsFromNull (Booleanl) | GRAPHOMATECHART_1.setCalculateDeviationsFromNull(true); | This function sets whether NULL values are used to calculate deviations. |
setCategoryAxisVisible(Boolean) | GRAPHOMATECHART_1.setCategoryAxisVisible(true); | Sets whether the base chart is visible. |
setCategoryCount(Integer) | GRAPHOMATECHART_1.setCategoryCount(12); | Sets a limit on the number of displayed category. A value of 0 removes the restriction. |
setCategoryLabelRotation(int rotation) | GRAPHOMATECHART_1.setCategoryLabelRotation(45); | Rotates the category labels according to the passed angle. Rotation takes place counter-clockwise. |
setCategoryWidth(Integer) | GRAPHOMATECHART_1.setCategoryWidth(3); | This function sets the width of the categories. But it is only interpreted when fixedCategoryWidth is set. |
setChartType(String) | GRAPHOMATECHART_1.setChartType("line"); | Sets the chart type. The following string values are allowed: bar, line, offsetbar, waterfall, pin, stackedbar. |
setComparisonGroup(String id) | GRAPHOMATECHART_1.setComparisonGroup("A"); | Sets the Comparison Group of the chart as a string. Charts with the same Comparison Group are equal scaled and aligned. More details can be set using the following parameters: getSynchronizePadding(), setSynchronizePadding(), getSynchronizeScaling(), setSynchronizeScaling(), getSynchronizeAxesPosition(), setSynchronizeAxesPosition() |
setDatatypeAt(Integer series, Integer index, String datatype) | GRAPHOMATECHART_1.setDatatypeAt(1, 1, "AC"); | This function sets the passed datatype for a single element of the passed data series. |
setDatatypeForSeries(Integer series, Integer count, String datatype) | GRAPHOMATECHART_1.setDatatypeForSeries(1, 5, "AC"); | This function sets the passed datatype for the data series with the passed index. The number of datatype entries generated is governed by the parameter count. The function call GRAPHOMATECHART_1.setDatatypeForSeries(1, 5, "AC"); is equivalent to GRAPHOMATECHART_1.setDatatypeForSeries(1, "AC,AC,AC,AC,AC"); |
setDatatypes (Integer seriesIndex, String) | Beispiel: Datenarten der ersten fünf Elemente der ersten Datenserie auf „PP“ setzen GRAPHOMATECHART_1.setDatatypes(1, "PP,PP,PP,PP,PP"); | This function sets the Data Types of the selected Data Series seriesIndex. Expects value as comma-separated string. |
setDeviationBadColor(String) | GRAPHOMATECHART_1.setDeviationBadColor("#ff3300"); | This function sets the color used for „bad“ deviations. Expects a string value in the format #ff3300. |
setDeviationGoodColor(String) | GRAPHOMATECHART_1.setDeviationGoodColor("#2e2e2e"); | This function sets the color used for „good“ deviations. Expects a string value in the format #2e2e2e |
setDeviationLabels(String labels, Boolean visibleOnly) | GRAPHOMATECHART_1.setDeviationLabels("Abs. Dev. FC,Perc. Dev. BUD", true); | Sets the labels for every deviation series. If the second value is true only visibile deviations are considered. |
setDeviationVisibility (String) | GRAPHOMATECHART_1.setDeviationVisibility("0,1"); | Sets a list of indexes of visible deviation charts. Expects value as comma-separated string. |
setElementsOffset(Float) | GRAPHOMATECHART_1.setElementsOffset(5); | This function sets the offset between the elements of a category. Values less than or equal to 1 are interpreted as percentages. |
setEndingLineOverlap(Integer) | GRAPHOMATECHART_1.setEndingLineOverlap(5) | Sets how far the Ending Lines protrude over the bars. |
setEndingLineThickness(Integer) | GRAPHOMATECHART_1.setEndingLineThickness(3); | Sets the thickness of the Ending Lines. |
setEndingLineVisible(Boolean) | GRAPHOMATECHART_1.setEndingLineVisible(true); | Sets whether to display Ending Lines above the bars. |
setExtendedNumberFormat(String) | GRAPHOMATECHART_1.setExtendedNumberFormat("-||.|,|1|1|"); | Sets the number format for the Extended Mode. The format string can be found in the manual. |
setExtendedNumberFormatPercentage(String) | GRAPHOMATECHART_1.setExtendedNumberFormatPercentage("-||.|,|1|1|%25"); | Sets the number format for the percentages in the Extended Mode. The format string can be found in the manual. |
setFixedCategoryWidth(Boolean) | GRAPHOMATECHART_1.setFixedCategoryWidth(true); | This functions sets whether the Category Width should be fixed. If it is not fixed, the width is determined automatically. |
setHighlightEndIndex(Integer) | GRAPHOMATECHART_1.setHighlightEndIndex(4); | Sets the category index value of the end value of the Highlight. Analogous to setHightlightStartIndex(). |
setHighlightEndSeries(Integer) | GRAPHOMATECHART_1.setHighlightEndSeries(3); | Sets the series index value of the end series of the Highlight. Analogous to setHightlightStartSeries(). |
setHighlightMode(String) | GRAPHOMATECHART_1.setHighlightMode("single"); | This function can be used to change the highlight mode. Valid values are none, single or auto. |
setHighlightStartIndex(Integer) | GRAPHOMATECHART_1.setHighlightStartIndex(0); | Sets the category index value of the start value of the Highlight Analogous to setHightlightEndIndex(). |
setHighlightStartSeries(Integer) | GRAPHOMATECHART_1.setHighlightStartSeries(1); | Sets the series index value of the start series of the Highlight. Analogous to setHightlightEndSeries(). |
setLabelFormatMode(String) | GRAPHOMATECHART_1.setLabelFormatMode("extended"); | Sets a string value for the used label format mode. Available values are basic and extended. |
setLabelPositioningMode(String) | GRAPHOMATECHART_1.setLabelPositioningMode("auto"); | This function sets the label positioning mode. Valid arguments are none (no labels are displayed), fix (labels are displayed at the exact position; overlapping might occur) and auto (no overlapping, but labels may be moved or hidden). |
setLockData(Boolean) | GRAPHOMATECHART_1.setLockData(true); | Sets whether the component ignores data updates. |
setManualCategoryLabels(String labels) | GRAPHOMATECHART_1.setManualCategoryLabels('[["2001","2001","2001","2001"],["Q1","Q2","Q3","Q4"]]') | Sets the manual category labels. Expects value as two dimensional JSON array string. Examples: [["Q1","Q2","Q3","Q4"],["2017","2017","2017","2017"]] or [["Q1","Q2","Q3","Q4","Q1","Q2","Q3","Q4"],["North","North","North","North","South","South","South","South"],["2017","2017","2017","2017","2017","2017","2017","2017"]] |
setManualScaleMaximum(Integer max) | die manuelle Skalierung auf 1.000.000 begrenzen GRAPHOMATECHART_1.setManualScaleMaximum(1000000); | Sets the maximum of the scaling of the Base Chart to the integer value max. It is necessary to set the scale mode to Manual for the integer to become effective. (see also setScaleModeManual() and Scaling in the features description) |
setManualScaleMaximumFloat(Float max) | GRAPHOMATECHART_1.setManualScaleMaximumFloat(1000000); | Sets the maximum of the scaling in the Base Chart to the float value max. It is necessary to set the scale mode to Manual. (see also setScaleModeManual() and Scaling in the features description). This function is an alternative function to setManualScaleMaximum(), in case only float values are available. |
setManualScaleMinimum(Integer min) | die manuelle Skalierung bei 1.000.000 beginnen GRAPHOMATECHART_1.setManualScaleMinimum(1000000); | Sets the minimum of the scaling of the Base Chart to the integer value min. It is necessary to set the scale mode to Manual for the integer to become effective. (see also setScaleModeManual() and Scaling in the features description) |
setManualScaleMinimumFloat(Float min | GRAPHOMATECHART_1.setManualScaleMinimumFloat(1000000); | Sets the minimum of the scaling in the Base Chart to float value min. It is necessary to set the scale mode to Manual. (see also setScaleModeManual and Scaling in the features description) This function is an alternative function to setManualScaleMinimum(), in case only float values are available. |
setManualScalePercentMax(Float) | GRAPHOMATECHART_1.setManualScalePercentageMax(80); | Sets the manual percentage scaling maximum as a float value. |
setManualScalePercentMin(Float) | GRAPHOMATECHART_1.setManualScalePercentageMin(-80); | Sets the manual percentage scaling minimum as a float value. |
setMulitHighlights(String) | GRAPHOMATECHART_1.setMultiHighlights("[{"startElement":1,"endElement":2,"startSeries":1,"endSeries":1}, {"startElement":3,"endElement":4,"startSeries":1,"endSeries":1}, {"startElement":5,"endElement":6,"startSeries":1,"endSeries":1}] "); | Sets the list of multi highlights (highlighted values above the chart). Expects a JSON-string which contains an array consisting of an object for each multi highlight. The following elements are part of an object (the order of these elements must be maintained): {"startElement":1,"endElement":2,"startSeries":1,"endSeries":1}. |
setNegativeDeviationIsGood(Boolean) | GRAPHOMATECHART_1.setNegativeDeviationIsGood(true); | Sets whether negative deviations are interpreted as positive or negative. |
setNegativeOutlierThreshold(Float) | GRAPHOMATECHART_1.setNegativeOutlierThreshold(-80); | Sets the negative outlier threshold. |
setNumberFormat(String) | GRAPHOMATECHART_1.setNumberFormat("0,0.0"); | Sets the number format for the Basic Mode. The format string corresponds to the format numeral.js (see http://www.numeraljs.com). |
setNumberFormatPercentage(String) | GRAPHOMATECHART_1.setNumberFormatPercentage("0 %"); | Sets the number format for the percentages in the Basic Mode. The format string corresponds to the format numeral.js (see http://www.numeraljs.com). |
setPositiveOutlierThreshold(Float) | GRAPHOMATECHART_1.setPositiveOutlierThreshold(80); | Sets the positive outlier threshold. |
setProperty(String, String) | GRAPHOMATECHART_1.setProperty("suppressZeroLabels", "true"); | Sets an arbitrary property.
The technical name of the property is required, in order to set the property. You can get the technical name in the lower left corner in the status bar of Lumira Designer / Design Studio, after selecting the according property in the property sheet. The new value of the property must be a string representation of the value, e.g. "Name", "2", "true", "#334455", "3.5" etc. |
setScaleModeAutomatic() | GRAPHOMATECHART_1.setScaleModeAutomatic(); | Sets the scale mode of the Base Chart to Automatic. |
setScaleModeManual() | GRAPHOMATECHART_1.setScaleModeManual(); | Sets the scale mode of the Base Chart to Manual. |
setScalingHelperValue(Integer) | GRAPHOMATECHART_1.setScalingHelperValue(500); | Sets the position of the Scaling Helper. Expects the position value as integer value. |
setScalingHelperValueFloat(Float) | GRAPHOMATECHART_1.setScalingHelperValueFloat(500); | Sets the position of the Scaling Helper. Expects the position value as float value. |
setSeparatorLength(Integer) | GRAPHOMATECHART_1.setSeparatorLength(5); | Sets the length of the Separators in pixels. |
setSeparatorMode(String) | GRAPHOMATECHART_1.setSeparatorMode("datatypes"); | Sets the Separator Mode. Valid values are: none, categorylabels, datatypes, manually. |
setSeparatorPositions(String) | GRAPHOMATECHART_1.setSeparatorPositions("100,200,300"); | Sets a list of separator positions of the chart. Expects value as comma-separared string. |
setSeparatorSourceRowIndex(Integer) | GRAPHOMATECHART_1.setSeparatorSourceRowIndex(3); | Sets the index of the row/series, from which the Separators can be derived. This function is dependent on the Separator Mode (setSeperatorMode ()). |
setSeparatorThickness(Integer) | GRAPHOMATECHART_1.setSeparatorThickness(3); | Sets the thickness of the Separators in pixels. |
setSeries(Integer seriesIndex, String) | die Datenbeschreibung der ersten Datenserie auf den übergebenen Wert setzen GRAPHOMATECHART_1.setSeries(1, '{"Keyfigures":"0D_NWI_NSAL"}'); | Set the data description of the selected Data Series seriesIndex. Expects value as JSON string. This string either describes a row or a column in the Initial View. The string can be read out after data for a Data Series has been selected on the Property Sheet with the graphomate charts extension. |
setSeriesLabels(String) | GRAPHOMATECHART_1.setSeriesLabels("Series1,Series2"); | Sets the series labels of the charts. Expects value as comma-separated string. |
setShowAxisLabelsLeft(Boolean) | GRAPHOMATECHART_1.setShowAxisLabelsLeft(true); | Sets whether the Axis Labels are displayed on the left.. |
setShowAxisLabelsRight(Boolean) | GRAPHOMATECHART_1.setShowAxisLabelsRight(true); | Sets whether the Axis Labels are displayed on the right. |
setShowCategoryLabels(Boolean) | GRAPHOMATECHART_1.setShowCategoryLabels(true); | Sets wether the Category Labels are displayed. |
setShowDatatypesInAxis(Boolean) | GRAPHOMATECHART_1.setShowDatatypesInAxis(true); | Sets whether the Data Types are displayed in the Axis. |
setShowTitle(Boolean) | GRAPHOMATECHART_1.setShowTitle(true); | Sets whether the title is displayed. |
setSpaceFactorBaseChart(Float) | GRAPHOMATECHART_1.setSpaceFactorBaseChart(0.8); | Sets the proportional Space Factor of the Base Chart (relative to the other Space Factors). |
setSpaceFactorDeviationChart(Float) | GRAPHOMATECHART_1.setSpaceFactorDeviationChart(0.2); | Sets the proportional Space Factor of the Base Chart (relative to the other Space Factors). |
setStackedBarLabelPosition(String) | GRAPHOMATECHART_1.setStackedBarLabelPosition("middle"); | Sets the position of the labels in the stacked bar chart. Valid values are middle and right. |
setStackedBarNegativeValues(Boolean) | GRAPHOMATECHART_1.setStackedBarNegativeValues(true); | Sets the proportional Space Factor of the Base Chart (relative to the other Space Factors). |
setStackedBarSumsVisible(Boolean) | GRAPHOMATECHART_1.setStackedBarSumsVisible(true); | Sets whether the sums in the stacked bars are displayed. |
setStructureMode(Boolean) | GRAPHOMATECHART_1.setStructureMode(true); | This function can be used to toggle the structure mode on or off. |
setSuppressRepeatingCategoryLabels(String) | GRAPHOMATECHART_1.setSuppressZeroLabels("true,false,false,true"); | Sets the configuration of the property Suppress Repeating Category Labels. Expects a comma separated string with one statement for each row of the Category Labels whether repeating category labels should be suppressed. |
setSuppressZeroLabels(Boolean) | GRAPHOMATECHART_1.setSuppressZeroLabels(true); | This function sets whether Zero Labels are displayed. |
setSynchronizeAxesPosition(Boolean) | GRAPHOMATECHART_1.setSynchronizeAxesPosition(true); | This function sets whether the axes position of the chart are synchronized with the Comparison Group. |
setSynchronizePadding(Boolean) | GRAPHOMATECHART_1.setSynchronizePadding(true); | This function sets whether the padding of the chart is synchronized with the Comparison Group. |
setSynchronizeScaling(Boolean) | GRAPHOMATECHART_1.setSynchronizeScaling(true); | This function sets whether the scaling oft he chart is synchronized with the Comparison Group. |
setThresholdLinesConfig(String) | GRAPHOMATECHART_1.setThresholdLinesConfig('[{"visible":true,"label":"Top", "base":100,"lineSize":1,"color":"#333333","lineStyle":"solid"}]') | This function replaces the current threshold lines config with the given JSON. For an example of the configuration JSON, please copy an example from the standard property sheet. |
setTitle(String) | den Titel auf den übergebenen String setzen GRAPHOMATECHART_1.setTitle("Sales in Mio. EUR|2013 ACT and BUD|North West"); | Sets the title of the chart. Expects value as a string. Line breaks (\n) are interpreted as such. |
setUseOutlierThreshold(Boolean) | GRAPHOMATECHART_1.setUseOUtlierThresholdsetUseOutlierThreshold(true); | This function sets whether the outlier threshold is used. |
setUserHighlightColor(String) | GRAPHOMATECHART_1.setUserHighlightColor("#ff0000,#00ff00,#0000ff"); | Sets a list of disposited colors for the User Highlights. Expects a comma separated string-value. The colors of the list are switched at each click (during runtime) until the desired color is set. |
setUserHighlightList(String) | GRAPHOMATECHART_1.setUserHighlightList("[[1,3],[2,3][1,5]]"); | Sets a list of disposited colors for the User Highlights. Expects a comma separated string-value. The colors of the list are switched at each click (during runtime) until the desired color is set. |
setValueAxisVisible(Boolean) | GRAPHOMATECHART_1.setValueAxisVisible(true); | This function can be used to turn the visibility of the value axis on or off. |
setVisibleSeries(String) | nur die Datenserien mit den Indices 1 und 2 anzeigen GRAPHOMATECHART_1.setVisibleSeries("1,2"); | Sets the listing of indices of visible series in the chart. Expects value as comma-separated string. |
showStructureMode (Boolean) | GRAPHOMATECHART_1.showStructureMode(true); | Sets the orientation of the chart. If the value is TRUE, the chart will be shown in structure mode, otherwise in time mode. |