Content deleted Content added
m →Command Reference: section caps |
m Fixed links to #Text Input |
||
Line 330:
;bar : defines the bar id. Other commands (notably [[#PlotData|PlotData]]) will expect this id for reference. This will also be the label to be shown along the axis, unless attribute ''text'' is present. The bar id should not contain any spaces: use underscores instead, these will be converted to spaces, as with article titles.
;text (O) : When specified this specifies the text to be presented along the axis, instead of the bar id. See also rules for [[#Text
;link (O) : Specify a web link (see '''Note 1''') (URL). The label along the axis will be shown as a blue clickable link.
Line 364:
;* rgb (red,green,blue): specify 3 numbers between 0 (minimal) and 1 (maximal)
;* gray (value): specify a number between 0 (black) and 1 (white)
;legend (O) : Specifies the text that should be displayed in the legend for this color. If this attribute is omitted no entry will appear in the legend at all. See [[#Text
<small>Example:</small>
Line 633:
==== Text attributes ====
;text : Defines a text that should be plotted on or near a bar. The anchor position can be defined either explicitly with attribute "<code>at</code>", or implicitly with attributes "<code>from</code>" and "<code>till</code>".
:In the latter case the text will be positioned in the middle of the defined bar segment. See also [[#Text
:The text may include embedded links (see '''Notes 1 & 2''') for use in clickable maps.
;textcolor (O) : Defines the color of the text. The color id specified should be defined first with command [[#Colors|Colors]]. When not specified color black will be assumed.
Line 724:
=== TextData ===
Used to define a text block that can be positioned anywhere on the chart.
;text : The actual text. See also [[#Text
;pos : Defines the top-left corner of the text block in absolute or relative [[#Measurements|measurements]]. Define as ''pos:(x,y)''.
;link (O) : Specify a web link (see '''Note 1''') (URL) for use in clickable maps. The label along the axis will be shown as a blue clickable link.
|