How to: |
This property defines the active group in a parabox chart.
paraboxProperties: {
activeGroup: 'agroup'
},
where:
Is a string that defines the group (specified by its label) that is active. The active group defines coloring for the lines that comes through it. The default value is undefined.
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 *
*GRAPH_JS
legend: {visible: true},
groupLabels: ['Grp1','Grp2','Grp3','Grp4'],
paraboxProperties:
{activeGroup: 'Grp3'}
*END
INCLUDE=ENIADefault_combine.sty,$
ENDSTYLE
END
On the output, Grp3 is a different color from the other groups:
WebFOCUS |