GT::Graphics::DataSource::PricesColor

This datasource provides a color depending on the prices movement. Green when up, red when down, black when equal.

It uses a GT::Prices object as a basis.

GT::Prices::DataSource::PricesColor->new($prices)

Create a new prices color data source.

$pc->set_{up,down,unchanged}_color($color)

Change the color returned for the up/down/unchanged days.