| 1 |
lars |
1 |
<style type="text/css">
|
|
|
2 |
<!--
|
|
|
3 |
A:link {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: none; color: #0000ff}
|
|
|
4 |
A:visited {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: none; color: #0000ff}
|
|
|
5 |
A:hover {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: underline; color: #FF0000}
|
|
|
6 |
th {font-family: helvetica, arial; color : blue; font-size:85%; background : lightgrey; border-right:black solid 1pt; border-bottom:black solid 1pt;}
|
|
|
7 |
//-->
|
|
|
8 |
</style><hr><a name="_C_LOGTICKS"><div style="background-color:yellow;font-family:courier new;"></a>CLASS <b>LogTicks</b> EXTENDS <a href="Ticks.html#_C_TICKS" style="font-face:arial;font-weight:bold;">Ticks</a></div>
|
|
|
9 |
<i>(Defined in: jpgraph_log.php : 121)</i><table border=1><tr><td> <a href="LogTicks.html" style="font-family:arial;font-weight:bold;color:darkblue;">LogTicks</a> </td><td> <a href="Ticks.html" style="font-family:arial;font-weight:bold;color:darkblue;">Ticks</a> </td></tr><tr><td valign=top> <a href="LogTicks.html#_LOGTICKS_SETLABELLOGTYPE">SetLabelLogType()</a> <br>
|
|
|
10 |
</td><td valign=top> <a href="Ticks.html#_TICKS_SET">Set()</a> <br>
|
|
|
11 |
<a href="Ticks.html#_TICKS_SETCOLOR">SetColor()</a> <br>
|
|
|
12 |
<a href="Ticks.html#_TICKS_SETFORMATCALLBACK">SetFormatCallback()</a> <br>
|
|
|
13 |
<a href="Ticks.html#_TICKS_SETLABELFORMAT">SetLabelFormat()</a> <br>
|
|
|
14 |
<a href="Ticks.html#_TICKS_SETSIDE">SetSide()</a> <br>
|
|
|
15 |
<a href="Ticks.html#_TICKS_SETSIZE">SetSize()</a> <br>
|
|
|
16 |
<a href="Ticks.html#_TICKS_SETWEIGHT">SetWeight()</a> <br>
|
|
|
17 |
<a href="Ticks.html#_TICKS_SUPRESSFIRST">SupressFirst()</a> <br>
|
|
|
18 |
<a href="Ticks.html#_TICKS_SUPRESSLAST">SupressLast()</a> <br>
|
|
|
19 |
<a href="Ticks.html#_TICKS_SUPRESSMINORTICKMARKS">SupressMinorTickMarks()</a> <br>
|
|
|
20 |
<a href="Ticks.html#_TICKS_SUPRESSTICKMARKS">SupressTickMarks()</a> <br>
|
|
|
21 |
<a href="Ticks.html#_TICKS_SUPRESSZEROLABEL">SupressZeroLabel()</a> <br>
|
|
|
22 |
</td></tr></table> <p><div style="font-weight:bold;font-family:arial;font-size:100%;">Class usage and Overview</div>This class represents ticks on a logarithmic scale axis. It is responsible for drawing and positioning ticks. <p>
|
|
|
23 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">See also related classes:</div><a href="LogScale.html">LogScale</a> and <a href="Axis.html">Axis</a> <p> <hr><span style="font-family:arial;font-size:120%;font-weight:bold;">Class Methods</span><hr><p>
|
|
|
24 |
<p> <p> <span style='font-size:110%;'><a name="_LOGTICKS_SETLABELLOGTYPE"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
25 |
function SetLabelLogType($aType)</font>
|
|
|
26 |
</b></div></a></span>
|
|
|
27 |
|
|
|
28 |
<span style='font-family:arial;font-size:90%;'><i>Should the log labels be dispalyed with magnitudes ot plain numbers</i></span><p>
|
|
|
29 |
|
|
|
30 |
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
|
|
31 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
32 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
33 |
$aType</font>
|
|
|
34 |
|
|
|
35 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'> </td><td>Magnitude (10^x) or plain</td></tr>
|
|
|
36 |
</table>
|
|
|
37 |
|
|
|
38 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>Specify how labels for log scales should be formatted as magnitude (scientific) or plain.
|
|
|
39 |
<p>
|
|
|
40 |
$aType can be either
|
|
|
41 |
<ul>
|
|
|
42 |
<li> LOGLABELS_PLAIN, will show labels as for example 10000
|
|
|
43 |
<li> LOGLABELS_MAGNITUDE, will show labels as 10^4
|
|
|
44 |
</ul>
|
|
|
45 |
|
|
|
46 |
By default log scale uses magnitude type of labels.
|
|
|
47 |
<br>
|
|
|
48 |
|
|
|
49 |
<div style="font-weight:bold;font-family:arial;font-size:85%;"><p>Example</div><span style="font-family:courier;font-size:85%;"><font color="#000000">
|
|
|
50 |
$graph->yaxis->scale->ticks->SetLabelLogType(LOGLABELS_PLAIN);</font>
|
|
|
51 |
</span><br>
|
|
|
52 |
<p> <hr> <p>
|