...
class | pdfExportLandscape |
---|
Skript-Dokumentation der graphomate charts für SAP BusinessObjects Design Studio
Introduction
The graphomate charts extension supports the scripting language of Design Studio. Therefore, it is possible to determine properties of the extension at run-time. New data can be set, titles can be adapted and scales be changed. Furthermore, it is possible to use drilldown functionalities of the extension and thus create interactive dashboards.
This document provides a list of available functions, events and examples. We are steadily working on expanding the range of functions. If you miss certain functions, please give us a note. Therefore you can use our online form under http://www.graphomate.com/en/feedback.
Events
The following events are available. User-made scripts can be deposited on the Property Sheet under the point Events.
...
Is triggered if the user clicks on an element on the chart at run-time. In order to allow a drilldown, it is necessary to react on the user input at this point.
The return values of the following functions are updated at the moment of the event:
getSelectedMemberKey(), getSelectedMemberText(), getClickedElementIndex(), getClickedSeriesIndex()
...
Is triggered when the chart receives updated data. This is happening, for example, when the dimension of a Data Source or if a filter has been changed.
This would be the appropriate point to change Data Types or the Waterfall Calculation Path.
Functions
The following functions are available in the graphomate charts extension. They can be addressed in the scripting editor of Design Studio.
Guideline to umlauts, special characters and blank spaces
In general umlauts, special characters and blank spaces Umlauts are percent encoded for technical reasons in the Advanced Property Sheet (see: http://en.wikipedia.org/wiki/Percent-encoding).
Example:
Nestlé - Development of sales in % compared to the previous year
becomes:
Nestl%C3%A9%20 %20Development%20of%20sales%20in%20%25%20compared%20to%20the%20previous%20year
This makes it necessary to percent encode string values even while transferring them from the scripting language or Standard PropertySheet. (On the Internet there are many free tools for en-/decoding, for example: http://www.url-encode-decode.com/.)
...
getAxisLabels()
...
GRAPHOMATECHART_1.getAxisLabels();
...
String
...
Budget, Actual
...
Returns axis labels as a comma-separated string value.
...
getAxisThickness()
...
GRAPHOMATECHART_1.getAxisThickness();
...
Integer
...
3.0
...
Returns the axis thickness as an integer value.
...
getBarWidth()
...
GRAPHOMATECHART_1.getBarWidth();
...
Float
...
5.0
...
Returns the width of the bars as a float value.
...
getBaseChartVisible()
...
GRAPHOMATECHART_1.getBaseChartVisible();
...
Boolean
...
true
...
Returns whether the base chart is visible.
...
getCalculationPath()
...
GRAPHOMATECHART_1.getCalculationPath();
...
String
...
+,+,+,-,-,=, ,s+,+,=,-,-
...
Div | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Scripting Documentation for graphomate charts for SAP Lumira DesignerRev. 2021.2 as of May 2021
IntroductionThe graphomate charts extension supports the scripting language of Designer. Therefore, it is possible to determine properties of the extension at run-time. New data can be set, titles can be adapted and scales be changed. Furthermore, it is possible to use drilldown functionalities of the extension and thus create interactive dashboards. EventsThe following events are available. User-made scripts can be deposited on the Standard Properties Sheet under the point Events.
FunctionsThe following functions are available in the graphomate charts extension. They can be addressed in the scripting editor of Designer. Guideline to umlauts, special characters and blank spacesIn general umlauts, special characters and blank spaces Umlauts are percent encoded for technical reasons in the Additional Properties Sheet (see: http://en.wikipedia.org/wiki/Percent-encoding). Example: This makes it necessary to percent encode string values even while transferring them from the scripting language or Standard Properties Sheet. (On the Internet there are many free tools for en-/decoding, for example: http://www.url-encode-decode.com/.)
refresh(string value) If the chart should unexpectedly not refresh, this command should help: It is absolutely necessary to pass the value of refreshValue() as parameter val! refreshValue() scalingHelperMode(string value) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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); | Diese Funktion setzt die Beschriftungen aller Abweichungsserien. Wenn der zweite Wert auf true gesetzt wird, werden nur die sichtbaren/eingeblendeten Abweichungsserien berücksichtigt. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setDeviationVisibility (String) | GRAPHOMATECHART_1.setDeviationVisibility("0,1"); | Setzt die Auflistung der Indices sichtbarer Abweichungscharts. Erwartet value als kommaseparierten String. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setElementsOffset(Float) | GRAPHOMATECHART_1.setElementsOffset(5); | Diese Funktion setzt das Offset zwischen den Elementen einer Kategorie. Werte kleiner oder gleich 1 werden als Prozent interpretiert. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setEndingLineOverlap(Integer) | GRAPHOMATECHART_1.setEndingLineOverlap(5) | Setzt, wie weit die Ending Lines über die Balken überstehen. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setEndingLineThickness(Integer) | GRAPHOMATECHART_1.setEndingLineThickness(3); | Setzt, wie dick die Ending Lines sind. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setExtendedNumberFormatPercentage(String) | GRAPHOMATECHART_1.setExtendedNumberFormatPercentage("-||.|,|1|1|%25"); | Setzt das Nummernformat für die Prozentwerte im Extended -Modus. Der Formatstring kann im Handbuch nachgelesen werden. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setFixedCategoryWidth(Boolean) | GRAPHOMATECHART_1.setFixedCategoryWidth(true); | Diese Funktion setzt, ob die Kategoriebreite fix sein soll. Ist dieser Wert nicht gesetzt, wird die Breite automatisch ermittelt. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setHighlightEndIndex(Integer) | GRAPHOMATECHART_1.setHighlightEndIndex(4); | Setzt den Kategorienindex value des Endwertes der Hervorhebung. Analog zu setHightlightStartIndex(). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setHighlightEndSeries(Integer) | GRAPHOMATECHART_1.setHighlightEndSeries(3); | Setzt den Serienindex value der Endserie der Hervorhebung. Analog zu setHightlightStartSeries(). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setHighlightMode(String) | GRAPHOMATECHART_1.setHighlightMode("single"); | Mit dieser Funktion kann der Highlight Mode geändert werden. Gültige Übergabewerte sind none, single und multi. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setHighlightStartIndex(Integer) | GRAPHOMATECHART_1.setHighlightStartIndex(0); | Setzt den Kategorienindex value des Startwertes der Hervorhebung. Analog zu setHightlightEndIndex(). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setHighlightStartSeries(Integer) | GRAPHOMATECHART_1.setHighlightStartSeries(1); | Setzt den Serienindex value der Startserie der Hervorhebung. Analog zu setHightlightEndSeries(). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setLabelFormatMode(String) | GRAPHOMATECHART_1.setLabelFormatMode("extended"); | Setzt als String, welcher Modus für die Label-Formatierung verwendet wird. Hierbei stehen basic und extended zur Verfügung. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setLabelPositioningMode(String) | GRAPHOMATECHART_1.setLabelPositioningMode("auto"); | Diese Funktion setzt den Label Positioning Mode. Gültige Übergabewerte sind none (Labels werden ausgeblendet), fix (Labels werden direkt am dazugehörigen Element positioniert, können sich aber ggf. überschneiden) und auto (Labels überschneiden sich nicht, werden aber ggf. verschoben bzw. ausgeblendet). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setLockData(Boolean) | GRAPHOMATECHART_1.setLockData(true); | Setzt, ob die Komponente Daten-Updates ignorieren soll. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setManualScaleMaximum(Integer max) | die manuelle Skalierung auf 1.000.000 begrenzen | Setzt das Maximum der Skalierung des Base Charts auf den Integer-Wert max. Damit der Wert zum Tragen kommt, ist es erforderlich, dass der Skalierungsmodus auf Manual gesetzt ist | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setManualScaleMaximumFloat(Float max) | GRAPHOMATECHART_1.setManualScaleMaximumFloat(1000000); | Setzt das Maximum der Skalierung des Base Charts auf den Float-Wert max. Damit der Wert zum Tragen kommt, ist es erforderlich, dass der Skalierungsmodus auf Manual gesetzt ist (siehe auch setScaleModeManual() und den Punkt Scaling der Eigenschaftenbeschreibung). Diese Funktion ist eine Alternative zu setManualScaleMaximum(), falls nur Float-Werte zur Verfügung stehen. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setManualScaleMinimum(Integer min) | die manuelle Skalierung bei 1.000.000 beginnen | Setzt das Minimum der Skalierung des Base Charts auf den Integer-Wert min. Damit der Wert zum Tragen kommt, ist es erforderlich, dass der Skalierungsmodus auf Manual gesetzt ist (siehe auch setScaleModeManual() und den Punkt Scaling der Eigenschaftenbeschreibung). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setManualScaleMinimumFloat(Float min | GRAPHOMATECHART_1.setManualScaleMinimumFloat(1000000); | Setzt das Minimum der Skalierung des Base Charts auf den Float-Wert min. Damit der Wert zum Tragen kommt, ist es erforderlich, dass der Skalierungsmodus auf Manual gesetzt ist (siehe auch setScaleModeManual() und den Punkt Scaling der Eigenschaftsbeschreibung). Diese Funktion ist eine Alternative zu setManualScaleMinimum(), falls nur Float-Werte zur Verfügung stehen. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setManualScalePercentMax(Float) | GRAPHOMATECHART_1.setManualScalePercentageMax(80); | Setzt das manuelle prozentuale Skalierungsmaximum als Float-Wert. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setManualScalePercentMin(Float) | GRAPHOMATECHART_1.setManualScalePercentageMin(-80); | Setzt das manuelle prozentuale Skalierungsminimum als Float-Wert. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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}] "); | Die MultiHighlights werden als JSON-String gesetzt, welcher ein Array enthält, in welchem für jedes Multihighlight ein Objekt enthalten ist. Das Objekt ist nach dem Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setNegativeDeviationIsGood(Boolean) | GRAPHOMATECHART_1.setNegativeDeviationIsGood(true); | Setzt, ob die negativen Abweichungen als positiv, oder als negativ interpretiert werden sollen. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setNegativeOutlierThreshold(Float) | GRAPHOMATECHART_1.setNegativeOutlierThreshold(-80); | Setzt die negative Ausreißergrenze. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setNumberFormat(String) | GRAPHOMATECHART_1.setNumberFormat("0,0.0"); | Setzt das Nummernformat für den Basic-Modus. Der Formatstring entspricht dem Format von numeral.js, einzusehen unter http://www.numeraljs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setNumberFormatPercentage(String) | GRAPHOMATECHART_1.setNumberFormatPercentage("0 %"); | Setzt das Nummernformat für die Prozentwerte im Basic-Modus. Der Formatstring entspricht dem Format von numeral.js, einzusehen unter http://www.numeraljs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setPositiveOutlierThreshold(Float) | GRAPHOMATECHART_1.setPositiveOutlierThreshold(80); | Setzt die positive Ausreißergrenze. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setScaleModeAutomatic() | GRAPHOMATECHART_1.setScaleModeAutomatic(); | Setzt den Skalierungsmodus des Base Charts auf Automatic. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setScaleModeManual() | GRAPHOMATECHART_1.setScaleModeManual(); | Setzt den Skalierungsmodus des Base Charts auf Manual. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setScalingHelperValue(Integer) | GRAPHOMATECHART_1.setScalingHelperValue(500); | Setzt die Position des Skalierungshelfers. Erwartet die Position value als Integer-Wert. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setScalingHelperValueFloat(Float) | GRAPHOMATECHART_1.setScalingHelperValueFloat(500); | Setzt die Position des Skalierungshelfers. Erwartet die Position value als Float-Wert. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setSeparatorLength(Integer) | GRAPHOMATECHART_1.setSeparatorLength(5); | Setzt die Länge der Trennzeichen (Separators) in Pixeln. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setSeparatorMode(String) | GRAPHOMATECHART_1.setSeparatorMode("datatypes"); | Setzt den Separator Mode. Gültige Werte sind: none, categorylabels, datatypes, manually. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setSeparatorPositions(String) | GRAPHOMATECHART_1.setSeparatorPositions("100,200,300"); | Setzt die Trennzeichenpositionen des Charts. Erwartet value als kommaseparierten String. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setSeparatorSourceRowIndex(Integer) | GRAPHOMATECHART_1.setSeparatorSourceRowIndex(3); | Setzt den Index der Zeile/Serie, aus der sich die Trennzeichen (Separators) ableiten. Abhängig vom Separator-Mode (setSeperatorMode()). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setSeparatorThickness(Integer) | GRAPHOMATECHART_1.setSeparatorThickness(3); | Setzt die Dicke der Trennzeichen (Separators) in Pixeln. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setSeries(Integer seriesIndex, String) | die Datenbeschreibung der ersten Datenserie auf den übergebenen Wert setzen | Setzt die Datenbeschreibung der spezifizierten Datenserie seriesIndex. Erwartet value als JSON- String. Dieser String beschreibt entweder eine Zeile oder eine Spalte in der Initial View. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setSeriesLabels(String) | GRAPHOMATECHART_1.setSeriesLabels("Series1,Series2"); | Setzt die Serienlabels des Charts. Erwartet value als kommaseparierten String. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setShowAxisLabelsLeft(Boolean) | GRAPHOMATECHART_1.setShowAxisLabelsLeft(true); | Setzt, ob die Achsenbeschriftungen auf der linken Seite angezeigt werden sollen. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setShowAxisLabelsRight(Boolean) | GRAPHOMATECHART_1.setShowAxisLabelsRight(true); | Setzt, ob die Achsenbeschriftungen auf der rechten Seite angezeigt werden sollen. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setShowCategoryLabels(Boolean) | GRAPHOMATECHART_1.setShowCategoryLabels(true); | Setzt, ob die Kategoriebeschriftungen (Category Labels) angezeigt werden sollen. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setShowDatatypesInAxis(Boolean) | GRAPHOMATECHART_1.setShowDatatypesInAxis(true); | Setzt, ob die Datenarten (Data Types) in der Achse angezeigt werden sollen. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setShowTitle(Boolean) | GRAPHOMATECHART_1.setShowTitle(true); | Setzt, ob der Titel angezeigt werden soll. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setSpaceFactorBaseChart(Float) | GRAPHOMATECHART_1.setSpaceFactorBaseChart(0.8); | Setzt den Platz-Faktor, welchen das Base Chart anteilig (im Verhältnis zu den anderen Platz-Faktoren) einnimmt. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setSpaceFactorDeviationChart(Float) | GRAPHOMATECHART_1.setSpaceFactorDeviationChart(0.2); | Setzt den Platz-Faktor, welchen ein Abweichungschart anteilig (im Verhältnis zu den anderen Platz-Faktoren) einnimmt. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setStackedBarLabelPosition(String) | GRAPHOMATECHART_1.setStackedBarLabelPosition("middle"); | Setzt die Position der Labels im Stapel. Gültige Werte sind middle und right. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setStackedBarNegativeValues(Boolean) | GRAPHOMATECHART_1.setStackedBarNegativeValues(true); | Setzt, ob negative Stapel erlaubt sein sollen. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setStackedBarSumsVisible(Boolean) | GRAPHOMATECHART_1.setStackedBarSumsVisible(true); | Setzt, ob die Summen auf den Stapelbalken angezeigt werden sollen. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setStructureMode(Boolean) | GRAPHOMATECHART_1.setStructureMode(true); | Mit dieser Funktion kann ein Diagramm in den Structure Mode (true) bzw. den Time Mode (false) gesetzt werden. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setSuppressRepeatingCategoryLabels(String) | GRAPHOMATECHART_1.setSuppressZeroLabels("true,false,false,true"); | Diese Funktion setzt die Einstellung für die Eigenschaft Suppress Repeating Category Labels. Es wird pro benötigter Zeile eine Angabe benötigt, die besagt, ob wiederholende Kategoriebeschriftungen ausgeblendet werden sollen. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setSuppressZeroLabels(Boolean) | GRAPHOMATECHART_1.setSuppressZeroLabels(true); | Diese Funktion setzt, ob Null-Labels angezeigt werden sollen. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setSynchronizeAxesPosition(Boolean) | GRAPHOMATECHART_1.setSynchronizeAxesPosition(true); | Diese Funktion setzt, ob die Achsenpositionen des Charts mit der Comparison Group abgeglichen werden sollen. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setSynchronizePadding(Boolean) | GRAPHOMATECHART_1.setSynchronizePadding(true); | Diese Funktion setzt, ob die Ränder des Charts mit der Comparison Group abgeglichen werden sollen. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setSynchronizeScaling(Boolean) | GRAPHOMATECHART_1.setSynchronizeScaling(true); | Diese Funktion setzt, ob die Skalierung des Charts mit der Comparison Group abgeglichen werden soll. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setTitle(String) | den Titel auf den übergebenen String setzen | Setzt den Titel des Charts. Erwartet value als String. Zeilenumbrüche (\n) werden auch als solche interpretiert. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setUseOutlierThreshold(Boolean) | GRAPHOMATECHART_1.setUseOUtlierThreshold(true); | Diese Funktion setzt, ob die Ausreißergrenze verwendet werden soll. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setUserHighlightColor(String) | GRAPHOMATECHART_1.setUserHighlightColor("#ff0000,#00ff00,#0000ff"); | Setzt eine Liste der hinterlegten User Highlight-Farben. Erwartet einen kommaseparierten String. Die gesetzten Farben werden dabei in der angegebenen Reihenfolge bei den User Highlights (zur Laufzeit hervorgehobene Werte) durchgeschaltet, bis die Wunschfarbe eingestellt ist. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setUserHighlightList(String) | GRAPHOMATECHART_1.setUserHighlightList("[[1,3],[2,3][1,5]]"); | Setzt ein oder mehrere User Highlights (zur Laufzeit hervorgehobene Werte). Erwartet einen JSON-String bestehend aus einem oder mehreren Arrays mit jeweils zwei Zahlen. Dabei gibt die erste Zahl die Datenreihe an, während die zweite Zahl die Position des Wertes in der Datenreihe darstellt. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setValueAxisVisible(Boolean) | GRAPHOMATECHART_1.setValueAxisVisible(true); | Diese Funktion schaltet die Anzeige der Value Axis an bzw. aus. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setVisibleSeries(String) | nur die Datenserien mit den Indices 1 und 2 anzeigen | Setzt die Auflistung der Indices sichtbarer Serien des Charts. Erwartet value als kommaseparierten String. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
showStructureMode (Boolean) | GRAPHOMATECHART_1.showStructureMode(true); | Setzt die Ausrichtung des Charts. Wenn der Wert value TRUE ist, wird das Chart im Strukturmodus angezeigt, sonst im Zeitmodus. |
the proportional Space Factor of the deviation chart (relative to the other Space Factors). | ||||
getStackedBarLabelPosition() | GRAPHOMATECHART_1.getStackedBarLabelPosition(); | String | middle | Returns the position of the labels in the stacked bar chart. |
getStackedBarNegativeValues() | GRAPHOMATECHART_1.getStackedBarNegativeValues(); | Boolean | true | This function returns whether negative values are allowed in stacked bar charts. |
getStackedBarSumsVisible() | GRAPHOMATECHART_1.getStackedBarSumsVisible(); | Boolean | true | This function returns wehter sums are displayed in the stacked bars. |
getStructureMode() | GRAPHOMATECHART_1.setStructureMode(); | Boolean | true | This function returns whether a chart is currently in structure mode (identical to showStructureMode()). |
getSuppressRepeatingCategoryLabels() | GRAPHOMATECHART_1.getSuppressRepeatingCategoryLabels(); | String | true,true,false,false,true | Returns the configuration of the property Suppress Repeating Category Labels. Returns a comma separated string value. |
getSuppressZeroLabels() | GRAPHOMATECHART_1.getSuppressZeroLabels(); | Boolean | true | Returns whether Zero Labels are displayed. |
getSynchronizeAxesPosition() | GRAPHOMATECHART_1.getSynchronizeAxesPosition(); | Boolean | true | This function returns a boolean value whether the axes positions are synchronized with the Comparison Group. |
getSynchronizePadding() | GRAPHOMATECHART_1.getSynchronizePadding(); | Boolean | false | This function returns a boolean value whether the padding of the chart is synchronized with the Comparison Group. |
getSynchronizeScaling() | GRAPHOMATECHART_1.getSynchronizeScaling(); | Boolean | true | The function returns a boolean value whether the scaling of the chart is synchronized with the Comparison Group. |
getTitle() | GRAPHOMATECHART_1.getTitle(); | String | Sales in Mio. EUR| 2013 ACT and BUD| North West | Returns the title of the chart as a string value. A line break is represented with a pipe (|). |
getUseOutlierThreshold() | GRAPHOMATECHART_1.getUseOutlierThreshold(); | Boolean | true | Returns whether the Outlier Threshold is used. |
getUserHighlightColor() | GRAPHOMATECHART_1.getUserHighlightColor(); | String | #ff0000,#00ff00,#0000ff | Returns a list of deposited colors for the User Hightlights as comma separated string-value. The colors are switched at each click (during runtime) until the desired color is set. |
getUserHighlightList() | GRAPHOMATECHART_1.getUserHighlightList(); | String | [[1,3],[2,3][1,5]] | Returns a list of the current user highlights (highlighted values at runtime). Returns a JSON-string, which passes the positions of each highlight with two numbers; the first number indicates the data series, while the second number represents the position of the value in the data series. |
getValueAxisVisible() | GRAPHOMATECHART_1.getValueAxisVisible(); | Boolean | true | Returns whether the value axis is visible or not. |
getVisibleElementLabels() | GRAPHOMATECHART_1.getVisibleElementLabels() | String | 1,3,5 | Retrieves the visible element labels as a comma separated list of indices. |
getVisibleSeries() | GRAPHOMATECHART_1.getVisibleSeries(); | String | 0,1,4 | Returns a list of indexes of visible series as comma-separated string. |
refresh(string value)
Redraws the chart. This is a workaround in case the chart has not been refreshed after data has changed at run-time by the impact of the scripting language on the Data Source. This could happen, for example, when filters have been changed, dimensions have been added or removed.
If the chart should unexpectedly not refresh, this command should help:
Code Block | ||
---|---|---|
| ||
GRAPHOMATECHART_1.refresh(GRAPHOMATECHART_1.refreshValue()); |
It is absolutely necessary to pass the value of refreshValue() as parameter val!
refreshValue()
Help function for refresh(). It has no further use.
scalingHelperMode(string value)
Sets the Scaling Helper. Valid values are none, line, area.
Example: activate the Scaling Helper
Code Block | ||
---|---|---|
| ||
GRAPHOMATECHART_1.scalingHelperMode("line"); |
Setter Name | Beispiel | Beschreibung |
---|---|---|
addRuleset(String name) | GRAPHOMATECHART_1.addRuleset("Ruleset2"); | Adds a ruleset to the list of rulesets. Does not create duplicates. |
removeRuleset(String name) | GRAPHOMATECHART_1.removeRuleset("Ruleset2"); | Removes a ruleset from the list of rulesets used by the chart. Does nothing, if the ruleset is not present. |
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: |
setContextMenuCustomEventName(Integer index, String name) | GRAPHOMATECHART_1.setContextMenuCustomEventName(1, "Script 1"); | Sets the name of a specified custom event (Index-1 based) in the Context Menu. |
setContextMenuCustomEventVisibility(Integer index, Boolean visibility) | GRAPHOMATECHART_1.setContextMenuCustomEventVisibility(1, false); | Sets the visibility of a specified custom event (index-1 based) in the Context Menu. |
setContextMenuOptionVisibility(Integer index, Boolean visibility) | GRAPHOMATECHART_1.setContextMenuOptionVisibility(1, false); | Sets the visibility of a specified option in the Context Menu. Use the following indices to access the options: 1 for Sorting, 2 for Filters, 3 for Context Sensitive Filters, 4 for Filter and Hide, 5 for Clear Filters, 6 for Drilldown, 7 for Drillup, 8 for Zero Display, 9 for Member Display, 10 for Position of Totals, 11 for Total Display. |
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. |
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. Empty string for no visible deviation chart. |
setDisplaySmallMultiples(String) | GRAPHOMATECHART_1.setDisplaySmallMultiples("row"); | Display of "Small Multiples" along the first row or column dimension. Valid values: "none", "row" or "column". |
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"]] |
setManualScaleMaximum(Integer max) | die manuelle Skalierung auf 1.000.000 begrenzen | 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 | 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. |
setMultiHighlights(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 new value of the property must be a string representation of the value, e.g. "Name", "2", "true", "#334455", "3.5" etc. |
setRulesets(String newRulesetList); | GRAPHOMATECHART_1.setRulesets("Ruleset1,Ruleset2"); | Sets the rulesets of the chart. Requires the server url to be set and valid. |
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 | 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. |
setShowTooltips(Boolean) | GRAPHOMATECHART_1.setShowTooltips(true); | Sets whether the tooltips in runtime mode are displayed. |
setSmallMultiplesMinWidth(Integer) | GRAPHOMATECHART_1.setSmallMultiplesMinWidth(300); | Sets the minimum width in px for each "Small Multiples" instance |
setSmallMultiplesMinHeight(Integer) | GRAPHOMATECHART_1.setSmallMultiplesMinHeight(300); | Sets the minimum height in px for each "Small Multiples" instance |
setSmallMultiplesNCount(String) | GRAPHOMATECHART_1.setSmallMultiplesNCount("3"); | Calculates top N sorted "Small Multiples" for the members of the Small Multiples dimension and combines the remaining members into a Rest Member, if possible. Sums members are excluded from the calculation and are placed at the end. Possible values: "None", "1", "2", "3", "4", etc... For the option "None" no rest member is calculated and no sorting takes place. |
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":"Mean","type":"Average","base":1,"lineSize":1,"color":"#0000FF","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. In the example shown here, the mean value for the series 1 with the label "Mean" is displayed. |
setTitle(String) | den Titel auf den übergebenen String setzen | Sets the title of the chart. Expects value as a string. Line breaks (\n) are interpreted as such. |
setUseOutlierThreshold(Boolean) | GRAPHOMATECHART_1.setUseOutlierThreshold(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. |
setVisibleElementLabels(String) | GRAPHOMATECHART_1.setVisibleElementLabels("[1,2,4]"); | Sets the visible element labels. Expected is a comma separated list of series indices, e.g. 1,2,3,4,5,6,7,8,9 |
setVisibleSeries(String) | nur die Datenserien mit den Indices 1 und 2 anzeigen | 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. |
Examples
Dynamically filter a Data Source using a dropdown box
In order to allow a user to dynamically filter on a dimension of a Data Source, we first have to fill a dropdown box with all valid value.
We first retrieve on the canvas event On Startup of the selected Data Source a list of all members of the dimension 0D_NWI_ACOD with the command getMemberList autocomplete proposes all parameters of getMemberList.
Using setItem puts the list in the dropdown box.
Code Block | ||
---|---|---|
| ||
DROPDOWN_1.setItems (DS_1.getMemberList("0D_NWI_ACOD",
MemberPresentation.EXTERNAL_KEY, MemberDisplay.TEXT, 20); |
On application start the dropdown box will be filled with the members of the dimension 0D_NWI_ACOD.
If a user selects an element of the list, we can adapt the filter of the Data Source with the following script, which is set on the event On Element Clicked of the dropdown box:
Code Block | ||
---|---|---|
| ||
DS_1.setFilterExt("0D_NWI_ACOD", DROPDOWN_1.getSelectedValue()); |
Deleting filter of data source
The following command allows you to delete a filter of a Data Source:
Code Block | ||
---|---|---|
| ||
DS_1.setFilterExt("0D_NWI_ACOD", DROPDOWN_1.getSelectedValue()); |
Die Filter einer Data Source entfernen
Sollen die Filter einer Data Source wieder entfernt werden, kann dies mit folgendem Aufruf getan werden:DS_1.clearAllFilters(); |
Per Drilldown auf einem graphomate Chart eine Data Source filtern
Soll ein Drilldown mit den graphomate charts realisiert werden, muss vorher eine Bedingung erfüllt sein:Es muss die Property categoryLabels befüllt sein! Die Kategorienbeschriftungen müssen dabei nicht sichtbar sein, können dies aber natürlich. Das ist notwendig, weil das Chart nur über diese Property Informationen über Dimensionen und Members erhalten kann.
Wenn diese Vorbedingung erfüllt ist, kann auf dem Event On Element Clicked des graphomate Charts mit folgendem Skript der Schlüssel (Key) des selektierten Dimensionsmember erhalten werden:
var key =
Filter a Data Source via drilldown with graphomate charts |
Setting a filter on a data source by drilldown
Before it is possible to make a drilldown with the graphomate charts, the following condition must be fulfilled: The property categoryLabels must be filled with data! The Category Labels therefore do not have to be visible, but can be visible. This is necessary, because the chart receives its information about dimension and members only from this property.
If this condition is fulfilled, it is possible to receive the Key of the selected dimension member with the following script, which is set on the event On Element Clicked of graphomate charts:
Code Block | ||
---|---|---|
| ||
var key = GRAPHOMATECHART_1.getSelectedMemberKey("0D_NWI_RCOD"); |
Als Parameter muss der Schlüssel (Key) der gewünschten Dimension übergeben werden.Dieser so erlangte Memberkey kann nun - analog wie bei dem Beispiel der Dropdown-Box - als Filter auf eine Data Source gesetzt werden:
The Key of the selected dimension must be passed as a parameter.
This retrieved Memberkey can be set as a filter on a Data Source – similar to the example with the dropdown box:
Code Block | ||
---|---|---|
| ||
DS_1.setFilter("0D_NWI_RCOD", key); |
or – in a combined command:
Code Block | ||
---|---|---|
| ||
DS_1.setFilter("0D_NWI_RCOD", GRAPHOMATECHART_1.getSelectedMemberKey("0D_NWI_RCOD")); |
Titel nach Drilldown setzen
Um auch den Titel des Charts an den Drilldown anzupassen – zum Beispiel um die selektierte Region anzuzeigen - kann parallel zum Memberkey auch der Membertext ausgelesen werden.var region =
Set title after drilldown
In order to adapt the title to the drilldown – for example, to show the selected area, it is possible to read out the Membertext in the same way as Memberkey.
Code Block | ||
---|---|---|
| ||
var region = GRAPHOMATECHART_1.getSelectedMemberText("0D_NWI_RCOD"); |
Dieser Text kann dann natürlich beliebig weiter verwendet werden oder wie hier in den Titel hinein geschrieben werden:This text can be arbitrarily used – here it is written in the title of the chart.
Code Block | ||
---|---|---|
| ||
GRAPHOMATECHART_1.setTitle("Selected region: " + region); |
Zooming-Funktion
Um eine Zoom-Funktionalität für ein Chart umzusetzen, muss der Skalierungsmodus des Charts auf Manual stehen. Dies kann entweder voreingestellt oder über die Skriptfunktion realisiert werden:GRAPHOMATECHART_1.setScaleModeManual();
Danach wird das onElementClicked-Event des entsprechenden Charts mit folgendem Skript versehen:
var value =
Realize a zoom function
In order to implement a zoom functionality on a chart, the scaling mode must be set to Manual. This can be either preset or realized via scripting:
Code Block | ||
---|---|---|
| ||
GRAPHOMATECHART_1.setScaleModeManual(); |
After that the following script must be attached to the onElementClicked event:
Code Block | ||
---|---|---|
| ||
var value = GRAPHOMATECHART_1.getClickedPositionValue(); |
GRAPHOMATECHART_1.setManualScaleMinimumFloat(value); |
Zunächst wird dabei der relative Wert der Klickposition ermittelt. In der zweiten Zeile wird dieser Wert dann als Minimum für die manuelle Skalierung eingesetzt und somit ein Zoom erreichtAt first the relative value of the clicked position is determined. In the second line, this value is then used as the manual scale minimum and by doing that a zooming function is established.