How to: |
The riserShadow property applies a shadow to the chart risers and markers.
To specify the shadow as a Boolean value, use the following property:
riserShadow: boolean
where:
Can be:
true, to enable a default shadow.
false, to disable a default shadow. This is the default value.
Note: Other chart objects, such as the chart frame and legend, can be assigned shadows. For more information, see Formatting the Chart Frame and Applying a Shadow to the Legend Area.
The following request does not enable riser shadows:
GRAPH FILE WF_RETAIL_LITE SUM COGS_US GROSS_PROFIT_US REVENUE_US DISCOUNT_US ACROSS TIME_DAYNAME WHERE TIME_DAYNAME EQ 'FRI' OR 'SAT' OR 'SUN' ON GRAPH PCHOLD FORMAT JSCHART ON GRAPH SET LOOKGRAPH VBAR END
On the output, the risers have no shadows:
The following version of the request enables the default shadow by including the riserShadow: true property:
GRAPH FILE WF_RETAIL_LITE SUM COGS_US GROSS_PROFIT_US REVENUE_US DISCOUNT_US ACROSS TIME_DAYNAME WHERE TIME_DAYNAME EQ 'FRI' OR 'SAT' OR 'SUN' ON GRAPH PCHOLD FORMAT JSCHART ON GRAPH SET LOOKGRAPH VBAR ON GRAPH SET STYLE * *GRAPH_JS riserShadow: true *END ENDSTYLE END
On the output, the risers have a slight shadow to the right:
WebFOCUS |