Isoline Class
Constructor
Item Index
Methods
_draw
()
protected
redraw
()
chainable
Attributes
dataCellHeight
Number
Default: 1
Fires event dataCellHeightChange
Fires when the value for the configuration attribute dataCellHeight
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
dataCellSize
Number
Setting dataCellSize will set dataCellHeight and dataCellWidth to the same value. It is just here as a convenience for setting a square cell size.
Fires event dataCellSizeChange
Fires when the value for the configuration attribute dataCellSize
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
dataCellWidth
Number
Default: 1
Fires event dataCellWidthChange
Fires when the value for the configuration attribute dataCellWidth
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
dataFn
Function
This function defines a two-dimensional scalar field and the threshold at which the isoline is drawn. This function will be passed x and y as arguments. This function should return either true or false.
Fires event dataFnChange
Fires when the value for the configuration attribute dataFn
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
dataMaxX
Number
The maximum X value to process. If set to null, the data will be processed up the the edge of this shape.
Default: null
Fires event dataMaxXChange
Fires when the value for the configuration attribute dataMaxX
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
dataMaxY
Number
The maximum Y value to process. If set to null, the data will be processed up the the edge of this shape.
Default: null
Fires event dataMaxYChange
Fires when the value for the configuration attribute dataMaxY
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
dataMinX
Number
The minimum X value to process. If set to null, the data will be processed up the the edge of this shape.
Default: null
Fires event dataMinXChange
Fires when the value for the configuration attribute dataMinX
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
dataMinY
Number
The minimum Y value to process. If set to null, the data will be processed up the the edge of this shape.
Default: null
Fires event dataMinYChange
Fires when the value for the configuration attribute dataMinY
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added: