File/plugins/ChartDisplay/lib.inc.php

Description

Function library for ChartDisplay plugin.

Functions
format_split_mark (line 88)

callback function to add more details to a split label

  • details are looked up in global variable
  • the label identifier is the quote

  • access: public
string format_split_mark (float $x)
  • float $x
format_transaction_mark (line 64)

callback function to add more details to a transaction label

  • details are looked up in global variable
  • the label identifier is nothing but the quote (which may have its merits)

  • access: public
string format_transaction_mark (float $x)
  • float $x
init_chart_data (line 29)

Initialize chart data array

- to have the chart always show N days, no matter how many quotes are available - optional the index timestamp can be used as fill pattern, that is formatted with any given date format (that strftime() understands) - note: fill_pattern and format can't be used together. If format is given, fill_pattern is ignored. - steps is by default the number of days

  • access: public
array init_chart_data (int $date, int $steps, [string $fill_pattern = 0], [string $format = FALSE])
  • int $date
  • int $steps
  • string $fill_pattern
  • string $format

Documentation generated on Sun, 22 Aug 2010 11:20:22 +0200 by phpDocumentor 1.4.3