Kevin Ryde
and 1 contributors

NAME

App::Chart::Gtk2::SeriesModel -- TreeModel for App::Chart::Series

SYNOPSIS

 use App::Chart::Gtk2::SeriesModel;
 my $model = App::Chart::Gtk2::SeriesModel->new (series => $series);

OBJECT HIERARCHY

App::Chart::Gtk2::SeriesModel is a subclass of Glib::Object,

    Glib::Object
      App::Chart::Gtk2::SeriesModel

The following interfaces are implemented

    Gtk2::TreeModel
    Gtk2::Buildable (inherited)

DESCRIPTION

A App::Chart::Gtk2::SeriesModel object presents the data from a App::Chart::Series::OHLCVI in Gtk2::TreeModel form suitable for App::Chart::Gtk2::RawDialog (which is currently this is its sole use).

FUNCTIONS

App::Chart::Gtk2::SeriesModel->new (key => value, ...)

Create and return a App::Chart::Gtk2::SeriesModel object. Optional key/value pairs can be given to set initial properties as per Glib::Object->new.

CONSTANTS

The following constants give the column numbers in the model,

    App::Chart::Gtk2::SeriesModel::COL_DATE
    App::Chart::Gtk2::SeriesModel::COL_OPEN
    App::Chart::Gtk2::SeriesModel::COL_HIGH
    App::Chart::Gtk2::SeriesModel::COL_LOW
    App::Chart::Gtk2::SeriesModel::COL_CLOSE
    App::Chart::Gtk2::SeriesModel::COL_VOLUME
    App::Chart::Gtk2::SeriesModel::COL_OPENINT

PROPERTIES

series (App::Chart::Series::OHLCVI)

The series to present data from. Currently this has to be an OHLCVI.

SEE ALSO

App::Chart::Gtk2::RawDialog