Blame | Letzte Änderung | Log anzeigen | RSS feed
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1"><LINK REL="Start" HREF="index.html"><LINK REL="Contents" HREF="toc.html"><LINK REL="Prev" HREF="8193Adjustingthepositionofthescalelabels.html"><LINK REL="Next" HREF="8195InvertingtheYaxis.html"><STYLE TYPE="text/css"><!--BODY { font-family: serif }H1 { font-family: sans-serif }H2 { font-family: sans-serif }H3 { font-family: sans-serif }H4 { font-family: sans-serif }H5 { font-family: sans-serif }H6 { font-family: sans-serif }SUB { font-size: smaller }SUP { font-size: smaller }PRE { font-family: monospace }A { text-decoration: none }--></STYLE></HEAD><BODY><A HREF="toc.html">Contents</A><A HREF="8193Adjustingthepositionofthescalelabels.html">Previous</A><A HREF="8195InvertingtheYaxis.html">Next</A><HR NOSHADE><H3><A NAME="8_19_4">8.19.4 Formatting the scale labels</A></H3><P> In order to have full control over the way that the labels aredisplayed it is possible to define a callback function that will beapplied to all labels. The callback function will be called with thelabel as the only argument and should return the value that will bedisplayed in the graph. This could for example be used to turn seconds(used to position data points) into hour and minutes on the scale. Forfurther reference see the two methods: <A href="../ref/Axis.html#_AXIS_SETLABELFORMATCALLBACK">Graph::SetLabelFormatCallback();</A> and <A href="../ref/Axis.html#_AXIS_SETLABELFORMAT">Graph::SetLabelFormat();</A></P><HR NOSHADE><A HREF="toc.html">Contents</A><A HREF="8193Adjustingthepositionofthescalelabels.html">Previous</A><A HREF="8195InvertingtheYaxis.html">Next</A></BODY></HTML>