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.
2.0
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.
2.0
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.
2.0
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.
2.0
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. This must be done before calling add.
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.
2.0
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.
2.0
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.
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.
2.0
JavaScript name:
Renderer