Image_Graph
[ class tree: Image_Graph ] [ index: Image_Graph ] [ all elements ]

Class: Image_Graph_DataPreprocessor

Source Location: /Image_Graph-0.8.0/Graph/DataPreprocessor.php

Class Overview


Data preprocessor used for preformatting a data.


Author(s):

Version:

  • Release: 0.8.0

Copyright:

  • 2003-2009 The PHP Group

Methods


Child classes:

Image_Graph_DataPreprocessor_Array
Format data as looked up in an array.
Image_Graph_DataPreprocessor_Formatted
Format data using a (s)printf pattern.
Image_Graph_DataPreprocessor_RomanNumerals
Formatting a value as a roman numerals.
Image_Graph_DataPreprocessor_Date
Formats Unix timestamp as a date using specified format.
Image_Graph_DataPreprocessor_NumberText
Formatting a number as its written in languages supported by Numbers_Words.
Image_Graph_DataPreprocessor_Function
Formatting a value using a userdefined function.

Inherited Variables

Inherited Methods


Class Details

[line 52]
Data preprocessor used for preformatting a data.

A data preprocessor is used in cases where a value from a dataset or label must be displayed in another format or way than entered. This could for example be the need to display X-values as a date instead of 1, 2, 3, .. or even worse unix-timestamps. It could also be when a Image_Graph_Marker_Value needs to display values as percentages with 1 decimal digit instead of the default formatting (fx. 12.01271 -> 12.0%).



[ Top ]


Method Detail

Image_Graph_DataPreprocessor (Constructor)   [line 58]

Image_Graph_DataPreprocessor Image_Graph_DataPreprocessor( )

Image_Graph_DataPreprocessor [Constructor].

[ Top ]


Documentation generated on Tue, 05 Oct 2010 16:00:25 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.