Add the element to the renderer canvas.
Add the element to the renderer canvas.
The element can be added to a g
(group) element.
2.0
Apply numeric attributes to the SVG/VML element by animation.
Apply numeric attributes to the SVG/VML element by animation. See Element.attr() for more information on setting attributes.
2.0
Apply attributes to the SVG/VML elements.
Apply attributes to the SVG/VML elements. These attributes for the most parts correspond to SVG, but some are specific to Highcharts, like zIndex
and rotation
.
In order to set the rotation center for rotation
, set x and y to 0 and use translateX
and translateY
attributes to position the element instead.
Attributes frequently used in Highcharts are fill
, stroke
, stroke-width
.
A set of attributes to apply.
2.0
Apply some CSS properties to the element
Apply some CSS properties to the element
The object literal of CSS properties to apply. Properties should be camelCased, not hyphenated.
2.0
Destroy the element and free up memory
Destroy the element and free up memory
2.0
Get the bounding box of the element
Get the bounding box of the element
2.0
Apply an event handler to the element
Apply an event handler to the element
The event type to attach, for example 'click', 'mouseover', 'touch'.
The event handler function.
2.0
Bring the element to the front.
Bring the element to the front. Alternatively, a zIndex attribute can be given.
2.0
JavaScript name:
Element