diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-08-08 20:06:26 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-08-08 20:06:26 (GMT) |
commit | 2720d8e54382835b3a82f99dcd9425385fb7ba1c (patch) | |
tree | ff07e44bfdc94d1e8a96ae47cbd03211bf211e3a /tkblt/doc/graph.html | |
parent | 365988b70f6f878f73be1a8c3fe37345443d3354 (diff) | |
parent | 4773cc1128f60e83ba5721fe1ad3497b15078361 (diff) | |
download | blt-2720d8e54382835b3a82f99dcd9425385fb7ba1c.zip blt-2720d8e54382835b3a82f99dcd9425385fb7ba1c.tar.gz blt-2720d8e54382835b3a82f99dcd9425385fb7ba1c.tar.bz2 |
Merge commit '4773cc1128f60e83ba5721fe1ad3497b15078361'
Diffstat (limited to 'tkblt/doc/graph.html')
-rw-r--r-- | tkblt/doc/graph.html | 42 |
1 files changed, 25 insertions, 17 deletions
diff --git a/tkblt/doc/graph.html b/tkblt/doc/graph.html index 412c817..70f1e6f 100644 --- a/tkblt/doc/graph.html +++ b/tkblt/doc/graph.html @@ -438,23 +438,6 @@ Sets the color of the axis and tick labels. The default is black. - <B>-command</B> <I>prefix</I> - Specifies a Tcl command to be invoked when formatting the - axis tick labels. <I>Prefix</I> is a string containing the name - of a Tcl proc and any extra arguments for the procedure. - This command is invoked for each major tick on the axis. - Two additional arguments are passed to the procedure: the - pathname of the widget and the current the numeric value - of the tick. The procedure returns the formatted tick - label. If "" is returned, no label will appear next to - the tick. You can get the standard tick labels again by - setting <I>prefix</I> to "". The default is "". - - Please note that this procedure is invoked while the - graph is redrawn. You may query configuration options. - But do not them, because this can have unexpected - results. - <B>-descending</B> <I>boolean</I> Indicates whether the values along the axis are monotoni- cally increasing or decreasing. If <I>boolean</I> is true, the @@ -542,6 +525,31 @@ Specifies the font for axis tick labels. The default is *-Courier-Bold-R-Normal-*-100-*. + <B>-tickformat</B> <I>formatStr</I> + Specifies a printf-like description to format teh axis + tick labels. You can get the standard tick labels again by + setting <I>formatStr</I> to "". The default is "". + + <B>-tickformatcommand</B>, <B>-command</B> <I>prefix</I> + Specifies a Tcl command to be invoked when formatting the + axis tick labels. <I>Prefix</I> is a string containing the name + of a Tcl proc and any extra arguments for the procedure. + This command is invoked for each major tick on the axis. + Two additional arguments are passed to the procedure: the + pathname of the widget and the current the numeric value + of the tick. The procedure returns the formatted tick + label. If "" is returned, no label will appear next to + the tick. You can get the standard tick labels again by + setting <I>prefix</I> to "". The default is "". + + The numeric value for the tick might change when using the + <B>-logscale</B> and <B>-tickformat</B> options. + + Please note that this procedure is invoked while the + graph is redrawn. You may query configuration options. + But do not them, because this can have unexpected + results. + <B>-ticklength</B> <I>pixels</I> Sets the length of major and minor ticks (minor ticks are half the length of major ticks). If <I>pixels</I> is less than |