Class: Shadow

Shadow

Color and parameters to draw shadows behind areas

new Shadow

Parameters:
Name Type Description
chart Tee.Chart The parent chart this shadow object belongs to.
Properties:
Name Type Description
[visible=false] Boolean Determines if contents will be filled with a backdrop shadow or not.
[blur=4] Number Amount of softness effect.
[color="DimGray"] Color The color used to draw the shadow.
[width=4] Number Amount in pixels to translate the shadow in horizontal direction.
[height=4] Number Amount in pixels to translate the shadow in vertical direction.
Source:
  • ../../src/teechart.js, line 521