API Docs for:
Show:

Renderer Class

Module: charts

The Renderer class is a base class for chart components that use the styles attribute.

Item Index

Properties

Attributes

Methods

_getDefaultStyles

() protected

Gets the default value for the styles attribute.

Returns:

Object

_mergeStyles

(
  • a
  • b
)
protected

Merges to object literals so that only specified properties are overwritten.

Parameters:

  • a Object

    Hash of new styles

  • b Object

    Hash of original styles

Returns:

Object

_setStyles

(
  • newStyles
)
protected

Method used by styles setter.

Parameters:

  • newStyles Object

    Hash of properties to update.

Returns:

Object

Properties

_styles

Object private

Storage for styles attribute.

Attributes

graphic

Graphic

The graphic in which drawings will be rendered.

styles

Object

Style properties for class