A zone is a part of the graphic. It has an external size and an internal size. The internal size may be split in several sub zones.
________________ | ____________ | | | | | | | Int. zone | | | |____________| | |________________|
A zone can also be considered like a « drawable » object and as such it implements the display(...) method. It will call the display methods for the axis, draw the border if needed and draw the title.
Creates a new zone with the given internal size. $left, $right, $top, $bottom is the free space to keep around the internal zone.
Add $zone as a subzone of the current zone and place it at position ($zx,$zy). $zx and $zy are positive integers.
Returns the absolute coordinate of the given point. ($x, $y) is the coordinate in the zone $z. ($ax, $ay) are the coordinate of the same point but in the root zone.
Returns the bottom left coordinate of the zone identified by ($zx, $zy). This function will only give good results once all zones have been created and linked together.
Update the size of the zone according to the size of the childs.
Return the subzone indicated by the coordinate.
Put an axis on the indicated side.
Get the axis of the indicated side.
Put a title on the indicated side.
Get the title of the indicated side.
Those 3 methods are used to change the font for the title.
Use $scale as the default scale for this zone.
Add a border of the given width around the zone. It will not sharp the zone but extend/decrease the space around it.
Change the color of the border.
Returns true if the point is within the zone, false otherwise. If $extended is true, the border of the zone is considered as part of the zone.
Display the zone with its axis, its borders and its titles.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '«'. Assuming CP1252
To install Finance::GeniusTrader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::GeniusTrader
CPAN shell
perl -MCPAN -e shell install Finance::GeniusTrader
For more information on module installation, please visit the detailed CPAN module installation guide.