This element can be used to create custom curves which value can be set using links.
See Attributes Common to All Elements.
Name | Value Type | Default Value | Description | Comment | V. | Exp. |
---|---|---|---|---|---|---|
name |
Empty. |
Displayed named of the curve. |
|
1.1 |
No | |
comment |
Empty. |
description of the curve. |
|
1.1 |
No | |
persistent |
false |
Sets the persistency of the curve. |
When this property is set to 'true', the curve will be saved when closing the user interface and the value will be restored next time the user interface is opened. |
1.3 |
No | |
Events | ||||||
value_changed |
the event is triggered anytime the value of the object has changed. |
2.0 |
also, each axis has the same attributes as a PARAM element, with additional "x_" or "y_" prefix, according to the considered axis.
The following example creates a curve used to display spectrum information in dB:
<?xml version="1.0" encoding="utf-8" ?> <SKIN language_version="1.1"> <CURVE name="spectrum" x_default="20" x_max="20000" x_min="20" x_unit="Hz" y_default="0" y_max="0" y_min="-60" y_unit="dB" /> </SKIN>