Name
valueregion —
a region of values in a chart
Description
![[Warning]](images/warning.png) |
Warning |
| This component is of Beta quality and is subject to change. |
Represents a region of values in the chart
Details
Properties (7)
-
axis
-
<attribute name="axis" type="string" />
public var axis : String;
the associated axis to the Region can be"x" or "y"
-
data1
-
<attribute name="data1" type="string" value="" />
public var data1 : String;
Minimum value for the Value region
-
data2
-
<attribute name="data2" type="string" value="" />
public var data2 : String;
Maximum value for the Value region
-
label
-
<attribute name="label" type="string" value="" />
public var label : String;
label of the value region, it is shown next to the region
-
regionEnabled
-
<attribute name="regionEnabled" value="true" />
public var regionEnabled;
enable the rendering of the value region in the chart
-
tip
-
<attribute name="tip" type="string" value="" />
Tip label that appear when the mouse is over the value region
-
tipEnabled
-
<attribute name="tipEnabled" type="boolean" value="true" />
public var tipEnabled : boolean;
enable the value region's tooltip
Methods (7)
-
clear()
-
private function clear();
-
hidetooltip()
-
<method name="hidetooltip" />
private function hidetooltip();
-
render()
-
private function render();
-
renderValueRegion()
-
<method name="renderValueRegion" />
private function renderValueRegion();
-
searchStrokeStyle()
-
<method name="searchStrokeStyle" />
private function searchStrokeStyle();
-
setStyleAttributes()
-
<method name="setStyleAttributes" />
private function setStyleAttributes();
-
showtooltip()
-
<method name="showtooltip" />
private function showtooltip();
shows the data tooltip and applied style
LZX Synopsis
<class name="
lz.valueregion" extends="
lz.drawview
">
<attribute name="
axis
" type="
string" />
<attribute name="
data1
" type="
string" value="
" />
<attribute name="
data2
" type="
string" value="
" />
<attribute name="
label
" type="
string" value="
" />
<attribute name="
tip
" type="
string" value="
" />
<attribute name="
tipEnabled
" type="
boolean" value="
true" />
<method name="
clear
" />
</class>
JavaScript Synopsis
public
lz.valueregion extends
lz.drawview
{
public var
axis
:
String;
public var
data1
:
String;
public var
data2
:
String;
public var
label
:
String;
prototype private function
clear
();
prototype private function
render
();
}