/plugins/ChartDisplay/chart_jpgraph.phpChartDisplay plugin for StockManiac.
This plugin draws charts in position context using a graphical ploting library. The graphs contain additional information on top of the plain vanilla stock quotes. Ie. it can plot transaction data (buy/sell) and highlight the average purchase quote of the current position.
This file contains the interface to the JPGraph library (see http://www.aditus.nu/jpgraph/). It will serve a PNG image directly to browser.
require_once
(_MAGIC_PATH.PATH_EXTERNAL."/jpgraph/jpgraph_line.php")
(line 41)
require_once
(_MAGIC_PATH.PATH_EXTERNAL."/jpgraph/jpgraph_plotline.php")
(line 42)
require_once
(_MAGIC_PATH.PATH_EXTERNAL."/jpgraph/jpgraph.php")
(line 40)
require_once
(_MAGIC_PATH.PATH_EXTERNAL."/jpgraph/jpgraph_log.php")
(line 43)
require_once
(_MAGIC_PATH.PATH_EXTERNAL."/jpgraph/jpgraph_bar.php")
(line 44)
require_once
('../../config/path.inc.php')
(line 28)
requirements
require_once
('sql.inc.php')
(line 30)
require_once
('lib.inc.php')
(line 29)
CACHE_DIR = PATH_CACHE.'/'
(line 37)
EXCHANGE_CLOSE = 22
(line 56)
Hour when the exchange closes in the evening. Used to scale X for intraday plots.
EXCHANGE_OPEN = 6
(line 50)
Hour when the exchange opens in the morning. Used to scale X for intraday plots.
READ_CACHE = true
(line 36)
USE_CACHE = true
(line 35)
enable JPGraph Cache System
Documentation generated on Sun, 22 Aug 2010 11:20:12 +0200 by phpDocumentor 1.4.3