new AppSeriesDimensionManipulator(headElement, property)
Manipulates a dimension (width, height...) of a SVG DOM node based on the
series value it receives. Note, that the dimension will be assigned from
the series value "as-is" without any scaling etc., so you have to figure
out how to apply some SVG transform, scaling or SVG's viewbox attribute.
Parameters:
Name | Type | Description |
---|---|---|
headElement |
the DOM element the manipulator has to control |
|
property |
the property of the DOM element that this manipulator |
- Source:
Extends
Methods
-
retrieveDefaults()
-
Retrieve the default element's dimension.
- Source:
-
setFromSeriesValue(seriesValue, highlight)
-
Sets the dimension of the manipulated DOM element based on the y value of
the series valueParameters:
Name Type Description seriesValue
the seriesValue, if undefined, resets value to
unmanipulated default valuehighlight
whether the series associated with the series value is
currently highlighted- Source: