Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2
<HTML>
3
<HEAD>
4
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
5
<LINK REL="Start" HREF="index.html">
6
<LINK REL="Contents" HREF="toc.html">
7
<LINK REL="Prev" HREF="8193Adjustingthepositionofthescalelabels.html">
8
<LINK REL="Next" HREF="8195InvertingtheYaxis.html">
9
<STYLE TYPE="text/css"><!--
10
BODY { font-family: serif }
11
H1 { font-family: sans-serif }
12
H2 { font-family: sans-serif }
13
H3 { font-family: sans-serif }
14
H4 { font-family: sans-serif }
15
H5 { font-family: sans-serif }
16
H6 { font-family: sans-serif }
17
SUB { font-size: smaller }
18
SUP { font-size: smaller }
19
PRE { font-family: monospace }
20
A { text-decoration: none }
21
--></STYLE>
22
</HEAD>
23
<BODY>
24
<A HREF="toc.html">Contents</A>
25
<A HREF="8193Adjustingthepositionofthescalelabels.html">Previous</A>
26
<A HREF="8195InvertingtheYaxis.html">Next</A>
27
<HR NOSHADE>
28
<H3><A NAME="8_19_4">8.19.4 Formatting the scale labels</A></H3>
29
<P> In order to have full control over the way that the labels are
30
 displayed it is possible to define a callback function that will be
31
 applied to all labels. The callback function will be called with the
32
 label as the only argument and should return the value that will be
33
 displayed in the graph. This could for example be used to turn seconds
34
 (used to position data points) into hour and minutes on the scale. For
35
 further reference see the two methods: <A href="../ref/Axis.html#_AXIS_SETLABELFORMATCALLBACK">
36
 Graph::SetLabelFormatCallback();</A> and <A href="../ref/Axis.html#_AXIS_SETLABELFORMAT">
37
 Graph::SetLabelFormat();</A></P>
38
<HR NOSHADE>
39
<A HREF="toc.html">Contents</A>
40
<A HREF="8193Adjustingthepositionofthescalelabels.html">Previous</A>
41
<A HREF="8195InvertingtheYaxis.html">Next</A>
42
</BODY>
43
</HTML>