Parabox Chart Properties (paraboxProperties)

How to:

This property defines the active group in a parabox chart.

Syntax: How to Control Parabox Properties

"paraboxProperties": {
  "activeGroup": "string"
},

where:

"activeGroup": "string"

Is a string that defines the group (specified by its label) that is active. The active group defines coloring for the lines that come through it. The default value is undefined.

Example: Setting the Active Group in a Parabox

The following request makes Grp3 the active group:

GRAPH FILE WF_RETAIL_LITE
SUM COGS_US AS 'Cost'
GROSS_PROFIT_US AS 'Profit'
REVENUE_US DISCOUNT_US MSRP_US
AVE.COGS_US AS 'Ave. Cost'
AVE.GROSS_PROFIT_US AS 'Ave. Profit'
MAX.REVENUE_US 
MIN.DISCOUNT_US 
MDN.MSRP_US AS 'MDN MSRP'
BY PRODUCT_CATEGORY
ON TABLE PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH PARABOX
ON GRAPH SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
*GRAPH_JS
"legend": {"visible": true},
"groupLabels": ["Grp1", "Grp2", "Grp3", "Grp4"],
"paraboxProperties": {"activeGroup": "Grp3"}   
*END
ENDSTYLE
END

On the output, Grp3 is a different color from the other groups:

WebFOCUS

Feedback