Child class

Class

Abstract types

inner

backgroundEvent  Object

Event with a sounding object.

Property

Name Type Optional Description

node

external:SVG

 

SVG node which contains the background nodes.

inner

event  external:Event

Object passed on events.

Properties

Name Type Optional Description

elementX

number

 

X coordinate.

elementY

number

 

Y coordinate.

inner

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.

inner

options  Object

Options for the constructor.

Parameters

Name Type Optional Description

svgNode

external:SVG

Yes

SVG Node.

x

integer

Yes

X.

Defaults to 0.

y

integer

Yes

Y.

Defaults to 0.

width

integer

Yes

Width.

Defaults to 100.

height

integer

Yes

Height.

Defaults to 100.

style

Object

Yes

SVG-Style for this Area. Default: overflow=hidden.

visible

boolean

Yes

Visibility.

Defaults to true.

events

module:meteoJS/thermodynamicDiagram/plotArea~eventsOptions

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.