This modules provides several helper functions that can be used in all modules.
It provides functions for managing labels on axes that can be imported with use GT::Graphics::Tools qw(:axis) :
Create the ticks for a time axis for the given $prices using the indicated $timeframe. If $put_label then labels we'll be put for each tick. If $period the label will be the name of the period, otherwise it will be the date of the first subperiod (usually a day).
Create the ticks between $min and $max for a numeric axis. If $many then many ticks (~20) will be created otherwise only a few (~5) will be created. If $label then the ticks will be labelled.
Return the range resulting of the union of the two given ranges.
It provides functions to manage colors. They can be imported with use GT::Graphics::Tools qw(:color) :
get_color({$colorname|$color_code})
Return a color. You can ask it by its name ("blue", "light blue", ..) or by its RGB code "[125,164,198]".