How to: |
The shadow property applies a shadow to the legend area.
To enable or disable a default shadow on the legend area, use the following:
"legend": { "shadow": boolean}
where:
Can be:
The following request generates a default shadow around the legend area:
GRAPH FILE WF_RETAIL_LITE
SUM DISCOUNT_US GROSS_PROFIT_US REVENUE_US MSRP_US
BY PRODUCT_CATEGORY
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
*GRAPH_JS
"legend": {
"shadow": true,
"backgroundcolor": "tan",
"lineStyle": {"color": "blue"}
},
"series": [
{"series": 0, "color": "lightgreen"},
{"series": 1, "color": "coral"},
{"series": 2, "color": "lightblue"},
{"series": 3, "color": "burlywood"}
]
*END
ENDSTYLE
END
The output is:
WebFOCUS | |
Feedback |