<dvt:specialEffects>

specialEffects special effects


Use the specialEffects tag to set gradient properties of a subcomponent of a graph or gauge.

Relationship with other tags

The specialEffects tag may be a child of the following components:
graph:
background, legendArea, graphPlotArea, graphPieFrame, series, timeSelector
gauge:
gaugeBackground, gaugeSetBackground, gaugePlotArea, gaugeFrame, gaugeLegendArea,
lowerLabelFrame, upperLabelFrame, threshold, indicator, indicatorBase, indicatorBar, threshold

The specialEffects tag can have a child tag: gradientStopStyle

Example

The following example shows the XML for a gradient fill for a gauge background.


<dvt:gauge>
<dvt:gaugeBackground borderColor="#848284">
<dvt:specialEffects fillType="FT_GRADIENT" gradientDirection="GD_RADIAL">
<dvt:gradientStopStyle stopIndex="0" gradientStopPosition="60" gradientStopColor="#FFFFCC"/>
<dvt:gradientStopStyle stopIndex="1" gradientStopPosition="90" gradientStopColor="#FFFF99"/>
</dvt:specialEffects>
</dvt:gaugeBackground>
</dvt:gauge>

Attributes

Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for the component
fillType java.lang.String no

Specifies whether a gradient or solid fill is used.

  • FT_COLOR-- Specifies a solid fill with no gradient.
  • FT_GRADIENT - Specifies a gradient fill, specialized by attributes of the gradientStopStyle tag.
gradientDirection java.lang.String no

Determines the direction of change for the gradient fill.

  • GD_RIGHT - specifies left-to-right change
  • GD_DOWN - specifies top-to-bottom change
  • GD_DIAGONAL_45
  • GD_DIAGONAL_135
  • GD_RADIAL
  • GD_RADIAL_TOP_LEFT
  • GD_RADIAL_TOP_RIGHT
  • GD_RADIAL_BOTTOM_LEFT
  • GD_RADIAL_BOTTOM_RIGHT
  • GD_RADIAL_OFF_CENTER - Only supported for gauge.
gradientNumStops int no Specifies the number of gradientStopStyles (number of colors) used.