$graph->xaxis->scale->ticks->Set(20,10);
Note: When you manually specify a scale you must also specify the major/minor tick intervall.
// For a normal linear type of scale the major ticks will always be multiples// of the minor ticks. In order to avoid any rounding issues the major ticks are// defined as every "step" minor ticks and not calculated separately
Argument | Default | Description |
---|---|---|
$aFlg | true | No description available |
Return major step size in world coordinates
Example:
// Return minor step size in world coordinates
Example:
// Set Minor and Major ticks (in world coordinates)
Argument | Default | Description |
---|---|---|
$aMajStep | Distance between major tick marks | |
$aMinStep | false | Distance between minor tick marks |
Example:
//(" Minor or major step size is 0. Check that you haven't got an accidental SetTextTicks(0) in your code. If this is not the case you might have stumbled upon a bug in JpGraph. Please report this and if possible include the data that caused the problem."
Argument | Default | Description |
---|---|---|
$aMajPos | No description available | |
$aLabels | NULL | No description available |
Which tick label should we start with?
Argument | Default | Description |
---|---|---|
$aTextLabelOff | The number thaht the automatic textscale should start with. |
Example:
Manually specify tick positions for the axis
Argument | Default | Description |
---|---|---|
$aMajPos | Array of major positions | |
$aMinPos | NULL | Array of minor positions |
$aLabels | NULL | Array of major label strings |
Example: