meteoJS/thermodynamicDiagram/plotArea
Source: thermodynamicDiagram/
Child class
Abstract types
Class
PlotArea
Abstract types
backgroundEvent Object
Event with a sounding object.
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
node |
|
SVG node which contains the background nodes. |
event external:Event
Object passed on events.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
elementX |
number |
|
X coordinate. |
|
elementY |
number |
|
Y coordinate. |
eventsOptions Object
Events options. On event a
module:meteoJS/thermodynamicDiagram/plotArea~event
is passed to the listener.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
click |
function() |
Yes |
Click listener. |
|
dblclick |
function() |
Yes |
Dblclick listener. |
|
mousedown |
function() |
Yes |
Mousedown listener. |
|
mouseup |
function() |
Yes |
Mouseup listener. |
|
mouseover |
function() |
Yes |
Mouseover listener. |
|
mouseout |
function() |
Yes |
Mouseout listener. |
|
mousemove |
function() |
Yes |
Mousemove listener. |
|
touchstart |
function() |
Yes |
Touchstart listener. |
|
touchmove |
function() |
Yes |
Touchmove listener. |
|
touchleave |
function() |
Yes |
Touchleave listener. |
|
touchend |
function() |
Yes |
Touchend listener. |
|
touchcancel |
function() |
Yes |
Touchcancel listener. |
options Object
Options for the constructor.
Parameters
| Name | Type | Optional | Description |
|---|---|---|---|
|
svgNode |
Yes |
SVG Node. |
|
|
x |
integer |
Yes |
X. Defaults to |
|
y |
integer |
Yes |
Y. Defaults to |
|
width |
integer |
Yes |
Width. Defaults to |
|
height |
integer |
Yes |
Height. Defaults to |
|
style |
Object |
Yes |
SVG-Style for this Area. Default: overflow=hidden. |
|
visible |
boolean |
Yes |
Visibility. Defaults to |
|
events |
Yes |
Events. |
Property
| Name | Type | Optional | Description |
|---|---|---|---|
|
coordinateSystem |
module:meteoJS/thermodynamicDiagram/coordinateSystem.CoordinateSystem |
Yes |
Coordinate system. |
Events
click module:meteoJS/thermodynamicDiagram/plotArea~event
dblclick module:meteoJS/thermodynamicDiagram/plotArea~event
mousedown module:meteoJS/thermodynamicDiagram/plotArea~event
mousemove module:meteoJS/thermodynamicDiagram/plotArea~event
mouseout module:meteoJS/thermodynamicDiagram/plotArea~event
mouseover module:meteoJS/thermodynamicDiagram/plotArea~event
mouseup module:meteoJS/thermodynamicDiagram/plotArea~event
touchcancel module:meteoJS/thermodynamicDiagram/plotArea~event
touchend module:meteoJS/thermodynamicDiagram/plotArea~event
touchleave module:meteoJS/thermodynamicDiagram/plotArea~event
touchmove module:meteoJS/thermodynamicDiagram/plotArea~event
touchstart module:meteoJS/thermodynamicDiagram/plotArea~event
postbuild:background module:meteoJS/thermodynamicDiagram/plotArea~backgroundEvent
Fired after creating the background.
prebuild:background module:meteoJS/thermodynamicDiagram/plotArea~backgroundEvent
Fired before creating the background.