Info: Open Flash Chart 2 is out. Version 1.x and these pages will
never disappear and the charts will continue working forever, but further
development on 1.x has stopped. Take a look at version 2 here
Open Flash Chart 2.
Gallery - Tool Tip
set_tool_tip( string $tip )
The tool tip string has (due to popular demand) lots of magic values to remember.
The text #val# is replaced with the actual value of whatever the mouse is over.
So in our example above the tool tip is set:
$g->set_tool_tip( 'Price: £#val#.00' );
so as the mouse is moved over various elements, the actual value is inserted
into the tooltip string, replacing the #val#. For example the value 2 becomes the tooltip Price: £2.00.
The text #key# is replaced with the key string. So
$g->set_tool_tip( '#key#: £#val#.00' );
would display 'Earnings: £2.00'.
The text <br> is a newline.
The text #x_label# is replaced with the X label string. So