This function will draw an area between two threshold. Using areas can help you to highlight specific values. It is possible to tune the rendering by playing with the $Format array. To learn more about this please read the Format array guide.

By default, the area will be drawn using the 1st Y Axis (0) as reference. If you chart contains multiple Y Axis, please use the AxisID parameter of the format array.

Calling this function

drawThresholdArea($Value1,$Value2,$Format="");

Where :

Value1 is the value of the 1st threshold.

Value2 is the value of the 1st threshold.

Format is an array containing the drawing parameters of the arrow.

This function returns an array containing the Y position of the up & down boundaries of the area.

Customisation array - Tune up your area!

It is possible to customize the way your threshold will be rendered by playing with this array. Providing a detailled configuration is not mandatory, by default the line will be drawn dashed in red.

You can specify which axis you‘ll use to compute the value position in the chart area AxisID

Components used on this web site : Famfamfam icons has been made by Mark James, Rounded corners lite has been coded by Cameron Cooke and Tim Hutchison, SyntaxHighlighter has
been written by Alex Gorbatchev. pChart and this web site have been created by Jean-Damien POGOLOTTI. This documentation contains 185 pages and 56 comments. 411 users have registered.
This page has been rendered in 0,01 seconds. Wiki revision 1.37.