Class: AppSeriesDimensionManipulator

AppSeriesDirective~ AppSeriesDimensionManipulator


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
controls; must be an attribute of the DOM element

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 value

Parameters:
Name Type Description
seriesValue

the seriesValue, if undefined, resets value to
unmanipulated default value

highlight

whether the series associated with the series value is
currently highlighted

Source: