How to: |
This property defines the active group in a parabox chart.
paraboxProperties: {
activeGroup: 'string'
},
where:
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.
The following request makes Grp3 the active group:
GRAPH FILE WFLITE 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 HOLD FORMAT JSCHART ON GRAPH SET LOOKGRAPH PARABOX ON GRAPH SET STYLE * *GRAPH_JS legend: {visible: true}, groupLabels: ['Grp1','Grp2','Grp3','Grp4'], paraboxProperties: {activeGroup: 'Grp3'} *END INCLUDE=ENDEFLT,$ ENDSTYLE END
On the output, Grp3 is a different color from the other groups:
Information Builders |