addTargetBand(measure, colors, values, options)
addConfidenceIntervalTarget(measure, colors, values, options)
addPercentageTarget(measure, colors, values, options)
addPercentileTarget(measure, colors, values, options)
addQuantileTarget(measure, colors, values, options)
addStandardDeviationTarget(measure, colors, values, options)
addTargetBand(measure, colors, values, options)
addTargetLine(measure, colors, values, options)
setLabelAliasOfColorLegend(value, alias)
Draws a set of horizontal or vertical target bands in the plot area using the specified colors and options.
Parameter
measure Name of measure on which to draw target bands
colors Color (see valueColor) or array of colors to fill area of bands
values Array of values and/or valid aggregation methods ('max','min','avg','med') at which to draw the band lines
options Name-value pairs of options (see below, e.g., {fillAbove:0xff0000, fillBelow:0x00ff00})
Options
fillAbove Color (see valueColor) to fill the region above the upper band line
fillBelow Color (see valueColor) to fill the region below the lower band line
label String
to label the target band(s). The following codes can be inserted:
{0}: Target value
{1}: Target formula
{2}: Field name
lineColor Color (see valueColor) to apply to all target band lines
lineStyle The line style (a Line Styles constant) to apply to all target band lines
labelFont The font description (e.g., 'Lucida Sans Unicode-BOLD-14') to apply to all band labels
labelColor The color (see valueColor) to apply to all band labels
Example (One Target Band)
var options = {fillAbove:[225,225,225],fillBelow:[225,225,225],label:['{1}','{1}'],lineColor:'red',lineStyle:Chart.THICK_LINE,labelFont:'Lucida Sans Unicode-BOLD-11',labelColor:'black'}
addTargetBand('Sum(Product.Total)',0xDDAAAA,['min','avg'],options)

Example (Multiple Target Bands)
var options = {fillAbove:[225,225,225],fillBelow:[225,225,225],label:['{1}: {0,number,$#,##0}','{1}: {0,number,$#,##0}','{1}: {0,number,$#,##0}'],lineColor:'red',lineStyle:Chart.THICK_LINE,labelFont:'Lucida Sans Unicode-BOLD-11',labelColor:'black'}
addTargetBand('Sum(Product.Total)',[0xDDAAAA,0xAAAADD],['min','avg','max'],options)

See Also
Adding a Target Band, in Report Design, for more information about target lines.
Adding a Target Band, in Dashboard Design, for more information about target lines.
| << addStandardDeviationTarget(measure, colors, values, options) | © 1996-2013 InetSoft Technology Corporation (v11.5) | addTargetLine(measure, colors, values, options) >> |