Target zones

A target zone is a color filled polygon horizontally or vertically painted across the chart area. The goal of a target zone is to set upper and lower limits across which a sequence of data points can be plotted and compared against delimiter values. Only two dimensional charts display target zones.

Target zones are only supported by charts created with GraphApplet.

The applet below displays a line series plotted across a green target zone.



<applet code="GraphApplet.class" codebase="../../../demo/applets/classes" archive="GraphChart.jar" width=500 height=250>

<param name="borderon" value="no">
<param name="title" value="The JetChart Library,Target zones">

<!-- The number of values passed to a target zone must always be even. The first half are the values used to plot the upper border, and the second half is used to plot the lower border, always from left to right.
In this example the values 100,95,110 and 90 are used to plot the upper border, whereas the values 60,55,70 and 50 are used to plot the lower border.
If only two values are informed, a horizontal strip is painted across the chart area, starting on the left vertical axis and ending on the rightmost vertical coordinate of the horizontal axis.-->

<param name="targetzone1" value="100,95,110,90,60,55,70,50">
<param name="targetzone1_color" value="00ff00">

<param name="serie1" value="line,Line series,ff0000">
<param name="serie1_values" value="74,50,90,100">
<param name="serie1_thickness" value="2">
<param name="graphset0_autoscaleon" value="no">
<param name="graphset0_scalemaxvalue" value="150">
<param name="graphset0_scaleincrement" value="30">
<param name="graphset0_xaxisthickness" value="2">
<param name="graphset0_yaxisthickness" value="2">
<param name="graphset0_gridon" value="yes">
<param name="graphset0_gridstyle" value="1">
<param name="graphset0_gridcolor" value="999999">
<param name="graphset0_crossedgridon" value="yes">
<param name="graphset0_crossedgridstyle" value="1">
<param name="graphset0_crossedgridcolor" value="999999">
</applet>