Class LogTicks Extends Ticks
(Defined in: jpgraph_log.php : 129)
 
 LogTicks  Ticks 
 SetLabelLogType() 
 SetColor() 
 SetFormatCallback() 
 SetLabelFormat() 
 SetSide() 
 SetSize() 
 SetWeight() 
 SupressFirst() 
 SupressLast() 
 SupressMinorTickMarks() 
 SupressTickMarks() 
 SupressZeroLabel() 
 

Class usage and Overview
This class represents ticks on a logarithmic scale axis. It is responsible for drawing and positioning ticks.

 

See also related classes:
LogScale and Axis

 


Class Methods

 

LogTicks ::
SetLabelLogType($aType)
Should the log labels be dispalyed with magnitudes ot plain numbers

ArgumentDefaultDescription
$aType  Magnitude (10^x) or plain

Description:
Specify how labels for log scales should be formatted as magnitude (scientific) or plain.

$aType can be either

By default log scale uses magnitude type of labels.  

Example:

$graph->yaxis->scale->ticks->SetLabelLogType(LOGLABELS_PLAIN);