The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Chart::Gtk2::IntradayDialog -- intraday graph dialog widget

SYNOPSIS

 use App::Chart::Gtk2::IntradayDialog;
 App::Chart::Gtk2::IntradayDialog->popup;              # initially empty
 App::Chart::Gtk2::IntradayDialog->popup ('BHP.AX');   # or given symbol

WIDGET HIERARCHY

App::Chart::Gtk2::IntradayDialog is a subclass of Gtk2::Dialog.

    Gtk2::Widget
      Gtk2::Container
        Gtk2::Bin
          Gtk2::Window
            Gtk2::Dialog
              App::Chart::Gtk2::IntradayDialog

DESCRIPTION

A App::Chart::Gtk2::IntradayDialog displays intraday graphs in the form of downloaded graphics images. The various data sources setup available modes such as 1-day or 5-day and the IntradayDialog downloads and shows them.

Some data sources don't offer historical data as figures, but only as graphics images. For them "intraday" is pressed into service to show daily data too.

FUNCTIONS

App::Chart::Gtk2::IntradayDialog->popup ()
App::Chart::Gtk2::IntradayDialog->popup ($symbol)

Present an intraday dialog for $symbol. $symbol is a string, or empty, undef or omitted to get a dialog showing nothing initially.

If a dialog already exists showing $symbol then it's raised rather than creating a new one.

$dialog->goto_entry()

Go to the symbol entered in the text entry box by setting it as the symbol property. This is used by the return key in that entry box and the "Enter" button beside it.

$dialog->refresh()

Download a new image for the current symbol and mode. This is the "Refresh" button in the action area.

PROPERTIES

symbol

The stock symbol (a string) to display.

mode

The display mode (a string), such as '1 Day'.

SEE ALSO

App::Chart::Gtk2::IntradayImage

HOME PAGE

http://user42.tuxfamily.org/chart/index.html

LICENCE

Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Kevin Ryde

Chart is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

Chart is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Chart; see the file COPYING. Failing that, see http://www.gnu.org/licenses/.