This widget displays the scale of an axis (formatted text values) for a graph or parameter corresponding to the associated parameter information.
See Attributes Common to Param Widgets.
See also the PARAM_TEXT specific attributes, since this widget displays text formatted from parameter information.
Name | Value Type | Default Value | Description | Comment | V. | Exp. |
---|---|---|---|---|---|---|
color |
current text color |
Color of the displayed text. |
|
1.3 |
No | |
orientation |
vertical |
Orientation of the ruler. |
|
1.3 |
No | |
text_h_align |
center |
Horizontal alignment of the text. |
This alignment is relative to a regularly spaced grid. Used only for horizontal ruler. |
1.3 |
No | |
text_v_align |
center |
Vertical alignment of the text. |
This alignment is relative to a regularly spaced grid. Used only for a vertical ruler. |
1.3 |
No |
Basic example:
<?xml version="1.0" encoding="utf-8" ?> <SKIN language_version="1.0" background_color="#000000" v_margin="10" h_margin="10"> <RULER orientation="horizontal" text_h_align="center" h_margin="14" height="20" width="300" value_suffix="true" curve_id="dsp.output_curve3.x_info" color="#888888" value_format=".0" content="{value}" x_positions_count="10"/> </SKIN>