Kevin Ryde
and 1 contributors

NAME

App::Chart::Gtk2::IntradayImage -- intraday image display widget

SYNOPSIS

 my $image = App::Chart::Gtk2::IntradayImage->new;
 $image->set (symbol => 'BHP.AX',
              mode   => '1d');

WIDGET HIERARCHY

App::Chart::Gtk2::IntradayImage is a subclass of Gtk2::DrawingArea.

    Gtk2::Widget
      Gtk2::DrawingArea
        App::Chart::Gtk2::IntradayImage

DESCRIPTION

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.

This widget is just the image part. See App::Chart::Gtk2::IntradayDialog for the full interactive display.

PROPERTIES

symbol (string)

The stock or commodity symbol to display.

mode (string)

The display mode, such as "1d" for a 1-day intraday image.

SEE ALSO

App::Chart::Gtk2::IntradayDialog, Gtk2::Widget