App::Chart::Gtk2::IntradayImage -- intraday image display widget
my $image = App::Chart::Gtk2::IntradayImage->new; $image->set (symbol => 'BHP.AX', mode => '1d');
App::Chart::Gtk2::IntradayImage is a subclass of Gtk2::DrawingArea.
App::Chart::Gtk2::IntradayImage
Gtk2::DrawingArea
Gtk2::Widget Gtk2::DrawingArea App::Chart::Gtk2::IntradayImage
App::Chart::Gtk2::IntradayImage displays an intraday graph image (a PNG, JPEG, GIF etc) from the database for the given symbol and mode. The display updates when a new image download is notified through the App::Chart::Glib::Ex::DirBroadcast mechanism. The database can have a partial image during downloading, in that case as much as available is displayed, with the effect being to progressively draw more as it downloads. If there's no image at all then either an error message (from the database) or simply "No data" is shown.
App::Chart::Glib::Ex::DirBroadcast
This widget is just the image part. See App::Chart::Gtk2::IntradayDialog for the full interactive display.
symbol
The stock or commodity symbol to display.
mode
The display mode, such as "1d" for a 1-day intraday image.
App::Chart::Gtk2::IntradayDialog, Gtk2::Widget
To install App::Chart, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Chart
CPAN shell
perl -MCPAN -e shell install App::Chart
For more information on module installation, please visit the detailed CPAN module installation guide.