Applying a Shadow to Risers and Markers

How to:

The riserShadow property applies a shadow to the chart risers and markers.


Top of page

x
Syntax: How to Apply a Shadow to Risers and Markers

To specify the shadow as a boolean value, use the following property:

riserShadow: boolean 

where:

boolean

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.



Example: Applying a Shadow to Risers and Markers

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
EN

On the output, the risers have a slight shadow to the right:


WebFOCUS