Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Scripting Documentation of graphomate bullet graphs for SAP Lumira Designer

Rev 2.2 as of June 2019

PDF

Introduction

The graphomate bullet graphs extension supports the Designer scripting language. This enables the user to dynamically interact with the add-on during runtime. Script commands include manipulation of the graphomate bullet graphs layout or setting of data. This document features a list of all currently available script commands. Please do not hesitate to contact us if any feature is missing. For this, you can use our online form.

Events

The following events are available. User-made scripts can be deposited on the Standard Properties Sheet under the group Events.

Event NameDescription
On Element Clicked

Is triggered when the user clicks on an element of the chart at runtime. 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:

  • getSelectedMember() 


Functions

The following functions are available. They can be addressed in the scripting editor of Designer. We differentiate between getter and setter functions as they get information from the extension or set its properties.


Getter NameExampleReturn typeExample Return ValueDescription
getAxisColor()

GRAPHOMATEBULLETGRAPHS_1
.getAxisColor();

String"#000000"Returns the color of the axis ticks and axis labels.
getAxisFontSize()

GRAPHOMATEBULLETGRAPHS_1
.getAxisFontSize();

Float12Returns the font size of the axis labels.
getBadColor()

GRAPHOMATEBULLETGRAPHS_1
getBadColor();

String"#ff0000"Returns the color used for negative deviations.
getBulletHeight()GRAPHOMATEBULLETGRAPHS_1
.getBulletHeight();
Float40Returns the height of the drawing area of a single bullet element.
getCalculateQualitativeRanges()GRAPHOMATEBULLETGRAPHS_1
.getCalculateQualitativeRanges();
booleantrueReturns whether the Qualitative Ranges are calculated or not.
getCategoryLabelColor()

GRAPHOMATEBULLETGRAPHS_1
.getCategoryLabelColor();

String"#000000"Returns the color of the category labels.
getCategoryLabelFontSize()

GRAPHOMATEBULLETGRAPHS_1
.getCategoryLabelFontSize();

Float12Returns the category label font size.
getCategoryLabelPadding()

GRAPHOMATEBULLETGRAPHS_1
.getCategoryLabelPadding();

Float10Returns the space between the category labels and the bullet elements.
getCenterCategoryLabels()GRAPHOMATEBULLETGRAPHS_1
.centerCategoryLabels();
booleanfalseReturns whether category labels are centered or not.
getChartFooter()

GRAPHOMATEBULLETGRAPHS_1
.getChartFooter();

String"Footer Text"Returns the text of the chart footer.
getChartFooterFontSize()

GRAPHOMATEBULLETGRAPHS_1
.getChartFooterFontSize();

Float12Returns the font size of the chart footer.
getChartTitle()GRAPHOMATEBULLETGRAPHS_1
.getChartTitle();
String"Title"Returns the title of the Bullet Graphs component.
getChartTitleFontSize()

GRAPHOMATEBULLETGRAPHS_1
.getChartTitleFontSize();

Float12Returns the font size of the chart title
getChartSubtitle()GRAPHOMATEBULLETGRAPHS_1
.getChartSubtitle();
String"Subtitle"Returns the subtitle of the Bullet Graphs component.
getChartSubtitleFontSize()GRAPHOMATEBULLETGRAPHS_1
.getChartSubtitleFontSize();
Float10Returns the font size of the chart's subtitle
getComparativeMarkerColor1()

GRAPHOMATEBULLETGRAPHS_1
.getComparativeMarkerColor1();

String"#000000"Returns the color of Comparative Marker 1.
getComparativeMarkerColor2()

GRAPHOMATEBULLETGRAPHS_1
.getComparativeMarkerColor2();

String"#333333"Returns the color of Comparative Marker 2.
getComparativeMarkerWidth()

GRAPHOMATEBULLETGRAPHS_1
.getComparativeMarkerWidth();

Float3Returns the width of the comparative markers.
getComparison1()GRAPHOMATEBULLETGRAPHS_1
.getComparison1();
String'{"Keyfigures": "0D_NWI_IQTY", "0D_NWI_CHAN": "4"}'Returns the selection string of Comparative Measure 1.
getComparison2()GRAPHOMATEBULLETGRAPHS_1
.getComparison2();
String'{"Keyfigures": "0D_NWI_IQTY", "0D_NWI_CHAN": "5"}'Returns the selection string of Comparative Measure 2.
getComparisonGroup()GRAPHOMATEBULLETGRAPHS_1
.getComparisonGroup();
String"A"Returns the comparison group the bullet graph component is currently registered in. A return value of "" means that the component is currently not part of any comparison group.
getDatatypes(String seriesType)GRAPHOMATEBULLETGRAPHS_1
.getDatatypes(“performance1”);
String"AC,AC,AC,AC"

Returns the datatypes for the passed series type. Allowed values for seriestype are:

performance1, performance2, comparative1, comparative2 ,quality1, quality2, quality3

getDisplayCategoryLabels()GRAPHOMATEBULLETGRAPHS_1
.getDisplayCategoryLabels();
booleantrueReturns whether category labels are shown.
getDisplayPerformanceValue()

GRAPHOMATEBULLETGRAPHS_1
.getDisplayPerformanceValue();

booleanfalseReturns whether the actual values of Performance Measure 1 are displayed in the bar.
getDisplayTooltips()

GRAPHOMATEBULLETGRAPHS_1
.getDisplayTooltips();

booleanfalseReturns whether tooltips are enabled.
getDisplayValueAxis()GRAPHOMATEBULLETGRAPHS_1
.getDisplayValueAxis();
String"Once"Returns whether the value axis is displayed. Possible return values are Always, Once or Never.
getDeviationFromComparison1()GRAPHOMATEBULLETGRAPHS_1
.getDeviationFromComparison1();
booleanfalseReturns whether deviations of Comparative Measure 1 from Performance Measure 1 are displayed or not.
getDisplayMicroPies()

GRAPHOMATEBULLETGRAPHS_1
.getDisplayMicroPies();

booleantrueReturns whether micro pies are shown.
getExtendedNumberFormat()

GRAPHOMATEBULLETGRAPHS_1
.getExtendedNumberFormat();

String"-||.|,|1|1|"Returns the current format string used by the Extended Number Format.
getExtendedNumberFormatPercent()

GRAPHOMATEBULLETGRAPHS_1
.getExtendedNumberFormatPercent();

String"-||.|,|1|1|%25"Returns the current format string used by the Extended Number Format for percentages.
getExtendedNumberFormatTooltip()

GRAPHOMATEBULLETGRAPHS_1
.getExtendedNumberFormatTooltip();

String"-||.|,|1|1|%25"Returns the current format string used by the Extended Number Format for tooltips.
getFontFamily()

GRAPHOMATEBULLETGRAPHS_1
.getFontFamily();

String"Arial"Returns the font family setting.
getHorizontalPadding()

GRAPHOMATEBULLETGRAPHS_1
.getHorizontalPadding();

Float10Returns the space between bullet graphs.
getGoodColor()

GRAPHOMATEBULLETGRAPHS_1
.getGoodColor();

String"#00ff00"Returns the color used for positive deviations.
getInvertDeviationColor()

GRAPHOMATEBULLETGRAPHS_1
.getInvertDeviationColor();

booleanfalseReturns whether the colors for deviations are inverted. If true, positive deviations will be displayed with the negative color.
getLabelFormatMode()

GRAPHOMATEBULLETGRAPHS_1
.getLabelFormatMode();

String"basic"Returns which label format mode is used. Returned is either "basic" or "extended".
getLabelFormatModeTooltip()

GRAPHOMATEBULLETGRAPHS_1
.getLabelFormatModeTooltip();

String"basic"Returns which label format mode is used for tooltips. Returned is either "basic" or "extended".
getLocale()

GRAPHOMATEBULLETGRAPHS_1
.getLocale();

String"en"Returns the locale setting used by numeral.js formatting. Return values are either "de", "en, "fr", or "auto".
getMicroPieColor()

GRAPHOMATEBULLETGRAPHS_1
.getMicroPieColor();

String"#999999"Returns the color used for micro pies.
getMicroPieDiameter()

GRAPHOMATEBULLETGRAPHS_1
.getMicroPieDiameter();

Float25Returns the diameter of micro pies.
getNormalizeToTarget()GRAPHOMATEBULLETGRAPHS_1
.getNormalizeToTarget();
String"None"Returns if the data in a bullet graph component are normalized to a target value. Return value are either None, Performance Measure 1, Performance Measure 2, Comparative Measure 1 or Comparative Measure 2.
 getNumeraljsFormatString()GRAPHOMATEBULLETGRAPHS_1
.getNumeraljsFormatString();
String"0.0a"Returns the current numeral.js format string.
 getNumberFormatTooltip()GRAPHOMATEBULLETGRAPHS_1
.getNumberFormatTooltip();
String"0.0a"Returns the current numeral.js format string used for tooltips.
getPercentageQuality1()GRAPHOMATEBULLETGRAPHS_1
.getPercentageQuality1();
Float0.75Returns the current percentage which is used to calculate Qualitative Range 1.
getPercentageQuality3()GRAPHOMATEBULLETGRAPHS_1
.getPercentageQuality3();
Float1.25Returns the current percentage which is used to calculate Qualitative Range 3.
getPerformance1()GRAPHOMATEBULLETGRAPHS_1
.getPerformance1();
String'{"Keyfigures": "0D_NWI_IQTY", "0D_NWI_CHAN": "6"}'Returns the selection string of Performance Measure 1.
getPerformance2()GRAPHOMATEBULLETGRAPHS_1
.getPerformance2();
String'{"Keyfigures": "0D_NWI_IQTY", "0D_NWI_CHAN": "1"}'Returns the selection string of Performance Measure 2.
getPerformanceBarColor1()

GRAPHOMATEBULLETGRAPHS_1
.getPerformanceBarColor1();

String"#000000"Returns the color of Performance Bar 1.
getPerformanceBarColor2()

GRAPHOMATEBULLETGRAPHS_1
.getPerformanceBarColor2();

String"#333333"Returns the color of Performance Bar 2.
getPerformanceBarHeight()GRAPHOMATEBULLETGRAPHS_1
.getPerformanceBarHeight();
Float25Returns the current height of the performance bars.
getQualitativeBarHeight()GRAPHOMATEBULLETGRAPHS_1
.getQualitativeBarHeight();
Float35Returns the current height of the qualitative ranges.
getQualitativeRangeColor1()

GRAPHOMATEBULLETGRAPHS_1
.getQualitativeRangeColor1();

String"#999999"Returns the color of Qualitative Range 1.
getQualitativeRangeColor2()

GRAPHOMATEBULLETGRAPHS_1
.getQualitativeRangeColor2();

String"#bbbbbb"Returns the color of Qualitative Range 2.
getQualitativeRangeColor3()

GRAPHOMATEBULLETGRAPHS_1
.getQualitativeRangeColor3();

String"#eeeeee"Returns the color of Qualitative Range 3.
getQualitativeRangesFromZero()

GRAPHOMATEBULLETGRAPHS_1
.getQualitativeRangesFromZero();

booleanfalseReturns whether qualitative ranges will be drawn from zero or from the lefthand side of the graph.
getQuality1()GRAPHOMATEBULLETGRAPHS_1
.getQuality1();
String'{"Keyfigures": "0D_NWI_IQTY", "0D_NWI_CHAN": "2"}'Returns the selection string of Qualitative Range 1.
getQuality2()GRAPHOMATEBULLETGRAPHS_1
.getQuality2();
String'{"Keyfigures": "0D_NWI_IQTY", "0D_NWI_CHAN": "3"}'Returns the selection string of Qualitative Range 2.
String getQuality3()GRAPHOMATEBULLETGRAPHS_1
.getQuality3();

'{"Keyfigures": "0D_NWI_IQTY", "0D_NWI_CHAN": "4"}'Returns the selection string of Qualitative Range 3.
getReverseQualitativeRanges()GRAPHOMATEBULLETGRAPHS_1
.getReverseQualitativeRanges();
Booleanfalse

Returns the drawing direction of the Qualitative Ranges.

getReverseQuantity()GRAPHOMATEBULLETGRAPHS_1
.setReverseQuantity();
BooleanfalseReturns the current drawing direction of the value axis.
getUseIndividualScales()GRAPHOMATEBULLETGRAPHS_1
.setUseIndividualScales();
BooleanfalseReturns if every bullet graph is scaled individually, or if all are scaled identically.
getVerticalAlign()GRAPHOMATEBULLETGRAPHS_1
.getVerticalAlign();
BooleanfalseReturns whether the bulletgraphs are aligned vertically (true) or horizontally (false)
getSelectedMember(String dimensionKey)GRAPHOMATEBULLETGRAPHS_1
.getSelectedMember("0D_NWI_RCOD").text;
Member"West"After the user clicked on an element in the bullet graph, this function returns the member of the specified dimension dimensionKey. The member provides different properties such as text, internalKey and externalKey.
getSelectedMemberKey(String dimensionKey)GRAPHOMATEBULLETGRAPHS_1
.getSelectedMemberKey("0D_NWI_RCOD");
String"10273"After the user clicked on an element in the bullet graph, this function returns the key of the member of the dimension dimensionKey.
getSelectedMemberText(String dimensionKey)GRAPHOMATEBULLETGRAPHS_1
.getSelectedMemberText("0D_NWI_RCOD");
String"West"

After the user clicked on an element in the bullet graph, this function returns the text of the member of the selected dimension dimensionKey.

getShowChartFooter()GRAPHOMATEBULLETGRAPHS_1
.getShowChartFooter();
booleanfalseReturns whether the chart footer is displayed.
getShowChartSubtitle()

GRAPHOMATEBULLETGRAPHS_1
.getShowChartSubtitle();

booleantrueReturns whether the chart subtitle is displayed.
getShowChartTitle()

GRAPHOMATEBULLETGRAPHS_1
.getShowChartTitle();

booleanfalseReturns whether the chart title is displayed.
getSubtitleFontSize()

GRAPHOMATEBULLETGRAPHS_1
.getSubtitleFontSize();

Float10Returns the font size for the second line of the category labels.
getSuppressRepeatingCategoryLabels()

GRAPHOMATEBULLETGRAPHS_1
.getsuppressRepeatingCategoryLabels();

booleantrueReturns whether repeating elements of the category labels are supressed.
getTrailingCategoryLabels()

GRAPHOMATEBULLETGRAPHS_1
.getTrailingCategoryLabels();

booleantrueReturns whether category labels are displayed in front of/above the bulletgraphs or after/below.
getUseFormattedData()

GRAPHOMATEBULLETGRAPHS_1
.getUseFormattedData();

booleantrueReturns whether the preformatted data from the data source is displayed, or if formatting is handled by the component.
Setter NameExampleDescription
setAxisColor(String)

GRAPHOMATEBULLETGRAPHS_1
.setAxisColor("#000000");

Sets the color of the axis and the axis labels to the passed value.
setAxisFontSize(float)

GRAPHOMATEBULLETGRAPHS_1
.setAxisFontSize(12);

Sets the fontsize of the axis labels.
setBadColor(String)

GRAPHOMATEBULLETGRAPHS_1
.setBadColor("#ff0000");

Sets the color used for negative deviations to the passed value.
setBulletHeight(float)

GRAPHOMATEBULLETGRAPHS_1
.setBulletHeight(40);

Sets the height of the drawing area for a single bullet graph element.
setCalculateQualitativeRanges(boolean value)GRAPHOMATEBULLETGRAPHS_1
.setCalculateQualitativeRanges(true);
If this option is true, Qualitative Ranges 1 and 3 will be calculated from Qualitative Range 2. If set to false, Qualitative Ranges 1 and 3 will have to be assigned to a Data Series to be displayed.
setCategoryLabelColor(String)

GRAPHOMATEBULLETGRAPHS_1
.setCategoryLabelColor("#000000");

Sets the color of the category labels to the passed value.
setCategoryLabelFontSize(float)

GRAPHOMATEBULLETGRAPHS_1
.setCategoryLabelFontSize(12);

Sets the category label fontsize to the passed value.
setCategoryLabelPadding(float)

GRAPHOMATEBULLETGRAPHS_1
.setCategoryLabelPadding(10);

Sets the padding between category labels and bullet graph elements to the passed value.
setCenterCategoryLabels(boolean)

GRAPHOMATEBULLETGRAPHS_1
.setCenterCategoryLabels(false);

Toggles the centering of category labels.
setChartFooter(boolean)

GRAPHOMATEBULLETGRAPHS_1
.setChartFooter("Region Nord");

Sets the text of the chart footer to the passed value.
setChartFooterFontSize(float)

GRAPHOMATEBULLETGRAPHS_1
.setChartFooterFontSize(12);

Sets the fontsize of the chart footer.
setChartTitle(String value)GRAPHOMATEBULLETGRAPHS_1
.setChartTitle("Sales in Mio. EUR|2013 ACT and BUD");

Sets the title of the component.

setChartTitleFontSize(float)

GRAPHOMATEBULLETGRAPHS_1
.setChartTitleFontSize(12);

Sets the fontsize of the component title.
setChartSubtitle(String value)GRAPHOMATEBULLETGRAPHS_1
.setChartSubtitle("Region Nord");
Sets the subtitle of the component; works analogous to setChartTitle().
setChartSubtitleFontSize(float)

GRAPHOMATEBULLETGRAPHS_1
.setChartSubtitleFontSize(12);

Sets the fontsize of the the component subtitle.
setComparativeMarkerColor1(String)

GRAPHOMATEBULLETGRAPHS_1
.setComparativeMarkerColor1("#000000");

Sets the color for Comparative Marker 1.

setComparativeMarkerColor2(String)

GRAPHOMATEBULLETGRAPHS_1
.setComparativeMarkerColor2("#333333");

Sets the color for Comparative Marker 2.
setComparativeMarkerWidth(float)

GRAPHOMATEBULLETGRAPHS_1
.setComparativeMarkerWidth(3);

Sets the width of comparative markers.
setComparison1(String value)GRAPHOMATEBULLETGRAPHS_1
.setComparision1('{"Keyfigures":"0D_NWI_NSAL"}');
Sets the Data Series of Comparative Measure 1. Expects a JSON string which describes either a column or a line of the Data Source.
setComparison2(String value)GRAPHOMATEBULLETGRAPHS_1
.setComparision2('{"Keyfigures":"0D_NWI_NSAL"}');
Sets the Data Series of Comparative Measure 2. Expects a JSON string which describes either a column or a line of the Data Source.
setComparisonGroup(String comparisonGroup)GRAPHOMATEBULLETGRAPHS_1
.setComparisonGroup('A');
Registers the bullet graph component in the Comparison Group with the passed id. A value of "" removes the component from any Comparison Group it is currently registered in.
setDatatypes(String seriestype, String value)GRAPHOMATEBULLETGRAPHS_1
.getDisplayCategoryLabels();

Sets the datatypes of the passed series type to the passed value. The input for seriestype has to be one of the following:

performance1, performance2, comparative1, comparative2, quality1, quality2, quality3

value is a JSON string which descripes to datatypes to be set. The following format has to be used: ‘[“AC“,“PP“,“BU“]‘

setDisplayCategoryLabels(boolean value)GRAPHOMATEBULLETGRAPHS_1
.setDisplayCategoryLabels(true);
Shows or hides the Category Labels.
setDisplayMicroPies(boolean)

GRAPHOMATEBULLETGRAPHS_1
.setDisplayMicroPies(true);

Shows or hides the Micro Pies.
setDisplayPerformanceValue(boolean)

GRAPHOMATEBULLETGRAPHS_1
.setDisplayPerformanceValue(true);

Shows or hides the value of Performance Measure 1 in the bar.
setDisplayTooltips(boolean)

GRAPHOMATEBULLETGRAPHS_1
.setDisplayTooltips(true);

Sets whether tooltips are shown during runtime.
setDisplayValueAxis(String value)GRAPHOMATEBULLETGRAPHS_1
.setDisplayValueAxis("Never");
Shows or hides the Value Axis. Valid values are Always (each bullet graph get its own axis), Once (only one axis is drawn, all bullet graphs are scaled identically) or Never (no axis is displayed).
void setDeviationFromComparison1(boolean val)GRAPHOMATEBULLETGRAPHS_1
.setDeviationFromComparison1(true);
This function can be used to toggle the display of the deviation bar between Performance Measure 1 and Comparative Measure 1 on or off.
setExtendedNumberFormat(String)

GRAPHOMATEBULLETGRAPHS_1
.setExtendedNumberFormat("-||.|,|1|1|");

Sets the format string for the Extended Number Format.
setExtendedNumberFormatPercent(String)

GRAPHOMATEBULLETGRAPHS_1
.setExtendedNumberFormatPercent("-||.|,|1|1|%25");

Sets the format string for the Extended Number Format for percentages; currently only used by normalized data.
setExtendedNumberFormatTooltip(String)

GRAPHOMATEBULLETGRAPHS_1
.setExtendedNumberFormatTooltip("-||.|,|1|1|%25");

Sets the format string for the Extended Number Format for tooltips.
setFontFamily(String)

GRAPHOMATEBULLETGRAPHS_1
.setFontFamily("Arial");

Sets the font family for the whole component.
setGoodColor(String)

GRAPHOMATEBULLETGRAPHS_1
.setGoodColor("#00ff00");

Sets the color used for positive deviations.
setHorizontalPadding(float)

GRAPHOMATEBULLETGRAPHS_1
.setHorizontalPadding(10);

Sets the padding between individual bullet graph elements.
setInvertDeviationColor(boolean)

GRAPHOMATEBULLETGRAPHS_1
.setInvertDeviationColor(false);

Sets whether the colors for positive and negative deviations are inverted. If true is passed, positive deviations will be drawn in Bad Color and vice versa.
setLabelFormatMode(String)

GRAPHOMATEBULLETGRAPHS_1
.setLabelFormatMode("basic");

Sets the label format mode. Valid values are "basic" and "extended".
setLabelFormatModeTooltip(String)

GRAPHOMATEBULLETGRAPHS_1
.setLabelFormatModeTooltip("basic");

Sets the label format mode for tooltips. Valid values are "basic" and "extended".
setLocale(String)

GRAPHOMATEBULLETGRAPHS_1
.setLocale("de");

Sets the locale string used by numeral.js/basic number format. Valid values are "de", "en", "fr" or "auto".
setMicroPieColor(String)

GRAPHOMATEBULLETGRAPHS_1
.setMicroPieColor("#777700");

Sets the color of micro pies.
setNormalizeToTarget(String val)GRAPHOMATEBULLETGRAPHS_1
.setNormalizeToTarget ("None");
With this function, all values in a bullet graph component can be normalized to a target value. Valid parameter values are None, Performance Measure 1, Performance Mesure 2, Comparative Meaure 1 or Comparative Measure 2.
setNumeraljsFormatString(String value)GRAPHOMATEBULLETGRAPHS_1
.setNumeraljsFormatString("0,0.0");
A string that describes the format of the axis labelling. A description of valid strings can be found at numeraljs.com.
setNumberFormatTooltip(String value)GRAPHOMATEBULLETGRAPHS_1
.setNumberFormatTooltip("0,0.0");
A string that describes the format of the numbers in tooltips. A description of valid strings can be found at numeraljs.com.
setPercentageQuality1(float value)GRAPHOMATEBULLETGRAPHS_1
.setPercentageQuality1(0.2);
This value is used to calculate Qualitative Range 1, if the option Calculate Qualitative Ranges is enabled.
setPercentageQuality3(float value)GRAPHOMATEBULLETGRAPHS_1
.setPercentageQuality3(1.8);
This value is used to calculate Qualitative Range 3, if the option Calculate Qualitative Ranges is enabled.
setPerformanceBarColor1(String)

GRAPHOMATEBULLETGRAPHS_1
.setPerformanceBarColor1("#222222");

Sets the color for Performance Bar 1.
setPerformanceBarColor2(String)

GRAPHOMATEBULLETGRAPHS_1
.setPerformanceBarColor2("#555555");

Sets the color for Performance Bar 2.
setPerformance1(String value)GRAPHOMATEBULLETGRAPHS_1
.setPerformance1('{"Keyfigures":"0D_NWI_NSAL"}');
Sets the Data Series of Performance Measure 1. Expects a JSON string which describes either a column or a line of the Data Source.
setPerformance2(String value)GRAPHOMATEBULLETGRAPHS_1
.setPerformance2('{"Keyfigures":"0D_NWI_NSAL"}');
Sets the Data Series of Performance Measure 2. Expects a JSON string which describes either a column or a line of the Data Source.
setPerformanceBarHeight(integer value)GRAPHOMATEBULLETGRAPHS_1
.setPerformanceBarHeight(20);
Sets the height/width of Performance Bar, according the alignment.
setQualitativeBarHeight(integer value)GRAPHOMATEBULLETGRAPHS_1
.setQualitativeBarHeight(30);
Sets the height/width of the Qualitative Bars, according the alignment.
setQualitativeRangeColor1(String)

GRAPHOMATEBULLETGRAPHS_1
.setQualitativeRangeColor1("#999999");

Sets the color for Qualitative Range 1.
setQualitativeRangeColor2(String)

GRAPHOMATEBULLETGRAPHS_1
.setQualitativeRangeColor2("#aaaaaa");

Sets the color for Qualitative Range 2.
setQualitativeRangeColor3(String)

GRAPHOMATEBULLETGRAPHS_1
.setQualitativeRangeColor3("#eeeeee");

Sets the color for Qualitative Range 3.
setQualitativeRangesFromZero(boolean)

GRAPHOMATEBULLETGRAPHS_1
.setQualitativeRangesFromZero(false);

Sets whether qualitative ranges will be drawn from zero or from the lefthand side of the graph..
setQuality1(String value)GRAPHOMATEBULLETGRAPHS_1
.setQuality1('{"Keyfigures":"0D_NWI_NSAL"}');
Sets the Data Series of Qualitative Range 1. Expects a JSON string which describes either a column or a line of the Data Source.
setQuality2(string value)GRAPHOMATEBULLETGRAPHS_1
.setQuality2('{"Keyfigures":"0D_NWI_NSAL"}');
Sets the Data Series of Qualitative Range 2. Expects a JSON string which describes either a column or a line of the Data Source.
setQuality3(string value)GRAPHOMATEBULLETGRAPHS_1
.setQuality3('{"Keyfigures":"0D_NWI_NSAL"}');
Sets the Data Series of Qualitative Range 3. Expects a JSON string which describes either a column or a line of the Data Source.
setReverseQualitativeRanges(boolean value)GRAPHOMATEBULLETGRAPHS_1
.setReverseQualitativeRanges(true);
Specifies the drawing direction of the Qualitative Ranges.
setReverseQuantity(boolean value)GRAPHOMATEBULLETGRAPHS_1
.setReverseQuantity(true);
Reverses the scale of the bullet graphs. If true, the scaling ranges from n to 0, if false, it ranges from 0 to n.
setShowChartFooter(boolean)

GRAPHOMATEBULLETGRAPHS_1
.setShowChartFooter(true);

Shows or hides the chart footer.
setShowChartSubtitle(boolean)

GRAPHOMATEBULLETGRAPHS_1
.setShowChartSubtitle(false);

Shows or hides the chart subtitle.
setShowChartTitle(boolean)

GRAPHOMATEBULLETGRAPHS_1
.setShowChartTitle(true);

Shows or hides the chart title.
setSubtitleFontSize(float)

GRAPHOMATEBULLETGRAPHS_1
.setSubtitleFontSize(12);

Sets the fontsize of the second line of the category labels.
setSuppressRepeatingCategoryLabels(boolean)

GRAPHOMATEBULLETGRAPHS_1
.setSuppressRepeatingCategoryLabels(true);

Sets whether repeating elements in the category labels are suppressed.
setTrailingCategoryLabels(boolean)

GRAPHOMATEBULLETGRAPHS_1
.setTrailingCategoryLabels(false);

Sets whether category labels are displayed in front of/above the bulletgraphs or after/below.
setUseFormattedData(boolean)

GRAPHOMATEBULLETGRAPHS_1
.setUseFormattedData(false);

Sets whether the preformatted data from the data source is displayed of data formatted by the bullet graph component.
setUseIndividualScales(boolean value)

GRAPHOMATEBULLETGRAPHS_1
.setUseIndividualScales(false);

If this option is true, each bullet graph axis will be calculated individually. Otherwise, all bullet graphs will be scaled identically.
setVerticalAlign(boolean value)GRAPHOMATEBULLETGRAPHS_1
.setVerticalAlign(false);
Sets the alignment of the bullet graph. If true, the bars will be aligned vertically.
  • No labels