Draw an arc on the renderer canvas.
Draw an arc on the renderer canvas.
The x position of the arc's center in the SVG element.
The y position of the arc's center in the SVG element.
The outer radius of the arc.
The inner radius of the arc.
The starting angle of the arc in radians, where 0 is to the right and -Math.PI/2 is up.
The ending angle of the arc in radians, where 0 is to the right and -Math.PI/2 is up.
Creates a button in the given location.
Creates a button in the given location.
The text or HTML to draw
Draw circle on the renderer canvas.
Draw circle on the renderer canvas.
The x position of the circle's center in the SVG element.
The y position of the circle's center in the SVG element.
The radius of the circle.
Styled mode only.
Styled mode only.
hook for adding general definitions to the SVG's defs
tag. Definitions can be referenced from the CSS by its id
.
Read more in Gradients, shadows and patterns.
The definitions can also be added as configuration options, see defs.
A serialized form of an SVG definition, including children.
Add an SVG/VML group.
Add an SVG/VML group.
The name of the group. This will be used in the class name, which will be "highcharts-"+ name
.
Other Element objects are added to the group by using the group as the first parameter in .add() for the wrappers.
Add an image from an external resource.
Add an image from an external resource.
The URL of the image.
The x position of the image's upper left corner.
The y position of the image's upper left corner.
The width of the image.
The height of the image.
Draw a label, which is an extended text
element with support for border and background.
Draw a label, which is an extended text
element with support for border and background.
Highcharts creates a g
element with a text
and a path
or rect
inside, to make it behave somewhat like a HTML div
. Border and background are set through stroke
,
stroke-width
and fill
attributes using the attr method. To update the
text after render, run Element.attr({ text: 'New text' })
.
The text or HTML to draw
Add a path based on SVG's path commands.
Add a path based on SVG's path commands. In SVG capable browsers all path commands are supported, but in VML only a subset is supported: absolute moveTo (M), absolute lineTo (L), absolute curveTo (C) and close (Z).
An SVG path split up in array form.
Add a rectangle.
Add a rectangle.
The x position of the rectangle's upper left corner.
The y position of the rectangle's upper left corner.
The width of the rectangle.
The height of the rectangle.
The corner radius of all the rectangle's corners.
Draw text.
Draw text. The text can contain a subset of HTML, like spans and anchors and some basic text styling of these.
For more advanced features like border and background, use label instead.
To update the text after render, run Element.attr({ text: 'New text' })
.
The text or HTML to draw
The x position of the text's lower left corner.
The y position of the text's lower left corner.