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 WFLITE SUM DISCOUNT_US GROSS_PROFIT_US REVENUE_US MSRP_US BY PRODUCT_CATEGORY ON GRAPH HOLD FORMAT JSCHART ON GRAPH SET LOOKGRAPH VBAR ON GRAPH SET STYLE * INCLUDE=ENDEFLT,$ *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:
Information Builders |