Class DateScaleUtils
(Defined in: jpgraph_utils.inc.php : 69)
 
 DateScaleUtils 
 doDaily() 
 doMonthly() 
 doWeekly() 
 doYearly() 
 GetAutoTicks() 
 GetTicks() 
 GetTicksFromMinMax() 
 UseWeekFormat() 
 

Class usage and Overview

 


Class Methods

 

DateScaleUtils ::
doDaily($aType, $aMinor)

ArgumentDefaultDescription
$aType  No description available
$aMinor false No description available

Description:
No description available.

 

DateScaleUtils ::
doMonthly($aType, $aMinor)
// The assumption is that the weeks start on Monday. If the first day// is later in the week then the first week tick has to be on the following// week.

ArgumentDefaultDescription
$aType  No description available
$aMinor false No description available

Description:
No description available.

 

DateScaleUtils ::
doWeekly($aType, $aMinor)

ArgumentDefaultDescription
$aType  No description available
$aMinor false No description available

Description:
No description available.

 

DateScaleUtils ::
doYearly($aType, $aMinor)

ArgumentDefaultDescription
$aType  No description available
$aMinor false No description available

Description:
No description available.

 

DateScaleUtils ::
GetAutoTicks($aMin, $aMax, $aMaxTicks, $aMinor)

ArgumentDefaultDescription
$aMin  No description available
$aMax  No description available
$aMaxTicks 10 No description available
$aMinor false No description available

Description:
No description available.

 

DateScaleUtils ::
GetTicks($aData, $aType, $aMinor, $aEndPoints)
// For the case where all dates are within the same month// we want to make sure we have at least two ticks on the scale// since the scale want work properly otherwise

ArgumentDefaultDescription
$aData  No description available
$aType 1 No description available
$aMinor false No description available
$aEndPoints false No description available

Description:
No description available.

 

DateScaleUtils ::
GetTicksFromMinMax($aMin, $aMax, $aType, $aMinor, $aEndPoints)
// Decision table for suitable scales// First value: Main decision point// Second value: Array of formatting depending on divisor for wanted max number of ticks. ,..

ArgumentDefaultDescription
$aMin  No description available
$aMax  No description available
$aType  No description available
$aMinor false No description available
$aEndPoints false No description available

Description:
No description available.

 

DateScaleUtils ::
UseWeekFormat($aFlg)
//=============================================================================// CLASS DateScaleUtils// Description: Help to create a manual date scale//=============================================================================

ArgumentDefaultDescription
$aFlg  No description available

Description:
No description available.