Trait

com.highstock.api

Renderer

Related Doc: package api

Permalink

trait Renderer extends Object

Annotations
@RawJSType() @native()
Note

JavaScript name: Renderer

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Renderer
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def arc(centerX: Double = ???, centerY: Double = ???, outerRadius: Double = ???, innerRadius: Double = ???, start: Double = ???, end: Double = ???): CleanJsObject[Element]

    Permalink

    Draw an arc on the renderer canvas.

    Draw an arc on the renderer canvas.

    centerX

    The x position of the arc's center in the SVG element.

    centerY

    The y position of the arc's center in the SVG element.

    outerRadius

    The outer radius of the arc.

    innerRadius

    The inner radius of the arc.

    start

    The starting angle of the arc in radians, where 0 is to the right and -Math.PI/2 is up.

    end

    The ending angle of the arc in radians, where 0 is to the right and -Math.PI/2 is up.

    Example:
    1. Drawing an arc

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def button(str: String = ???, x: Double = ???, y: Double = ???, callback: Function = ???, normalState: Object = ???, hoverState: Object = ???, pressedState: Object = ???, disabledState: Object = ???, shape: String = ???): CleanJsObject[Element]

    Permalink

    Creates a button in the given location.

    Creates a button in the given location.

    str

    The text or HTML to draw

  7. def circle(centerX: Double = ???, centerY: Double = ???, radius: Double = ???): CleanJsObject[Element]

    Permalink

    Draw circle on the renderer canvas.

    Draw circle on the renderer canvas.

    centerX

    The x position of the circle's center in the SVG element.

    centerY

    The y position of the circle's center in the SVG element.

    radius

    The radius of the circle.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def definition(def: Object = ???): CleanJsObject[Element]

    Permalink

    Styled mode only.

    Styled mode only. A 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.

    def

    A serialized form of an SVG definition, including children.

    Since

    5.0.0

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def g(name: String = ???): CleanJsObject[Element]

    Permalink

    Add an SVG/VML group.

    Add an SVG/VML group.

    name

    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.

  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. def image(source: String = ???, x: Double = ???, y: Double = ???, width: Double = ???, height: Double = ???): CleanJsObject[Element]

    Permalink

    Add an image from an external resource.

    Add an image from an external resource.

    source

    The URL of the image.

    x

    The x position of the image's upper left corner.

    y

    The y position of the image's upper left corner.

    width

    The width of the image.

    height

    The height of the image.

  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  20. def label(str: String = ???, x: Double = ???, y: Double = ???, shape: String = ???, anchorX: Double = ???, anchorY: Double = ???, useHTML: Boolean = ???, baseline: Boolean = ???, className: String = ???): CleanJsObject[Element]

    Permalink

    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' }).

    str

    The text or HTML to draw

  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def path(path: Array[Any] = ???): CleanJsObject[Element]

    Permalink

    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).

    path

    An SVG path split up in array form.

  25. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  26. def rect(x: Double = ???, y: Double = ???, width: Double = ???, height: Double = ???, cornerRadius: Double = ???): CleanJsObject[Element]

    Permalink

    Add a rectangle.

    Add a rectangle.

    x

    The x position of the rectangle's upper left corner.

    y

    The y position of the rectangle's upper left corner.

    width

    The width of the rectangle.

    height

    The height of the rectangle.

    cornerRadius

    The corner radius of all the rectangle's corners.

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def text(str: String = ???, x: Double = ???, y: Double = ???): CleanJsObject[Element]

    Permalink

    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' }).

    str

    The text or HTML to draw

    x

    The x position of the text's lower left corner.

    y

    The y position of the text's lower left corner.

  29. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped