Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/charting/Element.js

  • Provides:

    • dojox.charting.Element
  • Requires:

    • dojox.gfx in common
  • dojox.charting.Element

    • type
      Function
    • parameters:
      • chart: (typeof dojox.charting.Chart2D)
        The chart that this element belongs to.
    • summary
      A base class that is used to build other elements of a chart, such as
      a series.
  • dojox.charting.Element.chart

    • type
      dojox.charting.Chart2D
    • summary
      The parent chart for this element.
  • dojox.charting.Element.group

    • type
      dojox.gfx.Group
    • summary
      The visual GFX group representing this element.
      htmlElement: Array
      Any DOMNodes used as a part of this element (such as HTML-based labels).
  • dojox.charting.Element.htmlElements

    • type
      Array
  • dojox.charting.Element.dirty

    • type
      Boolean
    • summary
      A flag indicating whether or not this element needs to be rendered.
  • dojox.charting.Element.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • chart: (typeof dojox.charting.Chart2D)
        The chart that this element belongs to.
    • summary
      Creates a new charting element.
  • dojox.charting.Element.createGroup

    • parameters:
      • creator: (typeof dojox.gfx.Surface)
        An optional surface in which to create this group.
    • returns
      dojox.charting.Element
    • summary
      Convenience function to create a new dojox.gfx.Group.
    • return_summary
      dojox.charting.Element
      A reference to this object for functional chaining.
    • type
      Function
  • dojox.charting.Element.chart.surface

  • dojox.charting.Element.purgeGroup

    • returns
      dojox.charting.Element
    • summary
      Clear any elements out of our group, and destroy the group.
    • return_summary
      dojox.charting.Element
      A reference to this object for functional chaining.
    • type
      Function
  • dojox.charting.Element._events

    • type
      Array
  • dojox.charting.Element.cleanGroup

    • parameters:
      • creator: (typeof dojox.gfx.Surface)
        An optional surface to work with.
    • returns
      dojox.charting.Element
    • summary
      Clean any elements (HTML or GFX-based) out of our group, and create a new one.
    • return_summary
      dojox.charting.Element
      A reference to this object for functional chaining.
    • type
      Function
  • dojox.charting.Element.destroyHtmlElements

    • summary
      Destroy any DOMNodes that may have been created as a part of this element.
    • type
      Function
  • dojox.charting.Element.destroy

    • summary
      API addition to conform to the rest of the Dojo Toolkit's standard.
    • type
      Function
  • dojox.charting.Element.getTextWidth

    • parameters:
      • s
      • font
    • type
      Function
  • dojox.charting.Element.getTextWithLimitLength

    • parameters:
      • s: (typeof String)
        candidate text.
      • font: (typeof String)
        text's font style.
      • limitWidth: (typeof Number)
        text limited width in px.
      • truncated: (typeof whether)
        text has been truncated
        }
    • summary
      Get the truncated string based on the limited width in px(dichotomy algorithm)
    • return_summary
      Object
      {
      text: processed text, maybe truncated or not
    • type
      Function
  • dojox.charting.Element.getTextWithLimitCharCount

    • parameters:
      • s: (typeof String)
        candidate text.
      • font: (typeof String)
        text's font style.
      • wcLimit: (typeof Number)
        text limited character count.
      • truncated: (typeof whether)
        text has been truncated
        }
    • summary
      Get the truncated string based on the limited character count(dichotomy algorithm)
    • return_summary
      Object
      {
      text: processed text, maybe truncated or not
    • type
      Function
  • dojox.charting.Element._plotFill

    • parameters:
      • fill
      • dim
      • offsets
    • type
      Function
  • dojox.charting.Element._shapeFill

    • parameters:
      • fill
      • bbox
    • type
      Function
  • dojox.charting.Element._pseudoRadialFill

    • parameters:
      • fill
      • center
      • radius
      • start
      • end
    • type
      Function
  • dojox.charting.Element.trailingSymbol

    • type
      String
  • dojox.charting

    • type
      Object
  • dojox

    • type
      Object