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/plot2d/Pie.js

  • Provides:

    • dojox.charting.plot2d.Pie
  • Requires:

    • dojox.charting.Element in common
    • dojox.charting.axis2d.common in common
    • dojox.charting.plot2d.common in common
    • dojox.charting.plot2d._PlotEvents in common
    • dojox.lang.functional in common
    • dojox.lang.utils in common
    • dojox.gfx in common
  • dojox.charting.plot2d.__PieCtorArgs

    • type
      Function
    • chains:
      • dojox.charting.plot2d.__DefaultCtorArgs: (prototype)
      • dojox.charting.plot2d.__DefaultCtorArgs: (call)
    • summary
      Specialized keyword arguments object for use in defining parameters on a Pie chart.
  • dojox.charting.plot2d.__PieCtorArgs.labels

    • optional
    • type
      Boolean
    • summary
      Whether or not to draw labels within each pie slice.  Default is true.
  • dojox.charting.plot2d.__PieCtorArgs.ticks

    • optional
    • type
      Boolean
    • summary
      Whether or not to draw ticks to labels within each slice. Default is false.
  • dojox.charting.plot2d.__PieCtorArgs.fixed

    • optional
    • type
      Boolean
    • summary
      TODO
  • dojox.charting.plot2d.__PieCtorArgs.precision

    • optional
    • type
      Number
    • summary
      The precision at which to sum/add data values. Default is 1.
  • dojox.charting.plot2d.__PieCtorArgs.labelOffset

    • optional
    • type
      Number
    • summary
      The amount in pixels by which to offset labels.  Default is 20.
  • dojox.charting.plot2d.__PieCtorArgs.labelStyle

    • optional
    • type
      String
    • summary
      Options as to where to draw labels.  Values include "default", "rows", and "auto". Default is "default".
      
      
      default/rows/auto
  • dojox.charting.plot2d.__PieCtorArgs.htmlLabels

    • optional
    • type
      Boolean
    • summary
      Whether or not to use HTML to render slice labels. Default is true.
  • dojox.charting.plot2d.__PieCtorArgs.radGrad

    • optional
    • type
      String
    • summary
      The type of radial gradient to use in rendering.  Default is "native".
  • dojox.charting.plot2d.__PieCtorArgs.fanSize

    • optional
    • type
      Number
    • summary
      The amount for a radial gradient.  Default is 5.
  • dojox.charting.plot2d.__PieCtorArgs.startAngle

    • optional
    • type
      Number
    • summary
      Where to being rendering gradients in slices, in degrees.  Default is 0.
  • dojox.charting.plot2d.__PieCtorArgs.radius

    • optional
    • type
      Number
    • summary
      The size of the radial gradient.  Default is 0.
  • dojox.charting.plot2d.Pie

    • type
      Function
    • chains:
      • dojox.charting.Element: (prototype)
      • dojox.charting.plot2d._PlotEvents.prototype: (prototype)
      • dojox.charting.Element: (call)
      • dojox.charting.plot2d._PlotEvents: (call)
    • parameters:
      • chart
      • kwArgs
    • summary
      The plot that represents a typical pie chart.
      
      
      utilities
  • dojox.charting.plot2d.Pie.defaultParams

    • type
      Object
  • dojox.charting.plot2d.Pie.defaultParams.labels

    • type
      Object
  • dojox.charting.plot2d.Pie.defaultParams.ticks

    • type
      bool
  • dojox.charting.plot2d.Pie.defaultParams.fixed

    • type
      Object
  • dojox.charting.plot2d.Pie.defaultParams.precision

    • type
      Number
  • dojox.charting.plot2d.Pie.defaultParams.labelOffset

    • type
      Number
  • dojox.charting.plot2d.Pie.defaultParams.labelStyle

    • type
      String
  • dojox.charting.plot2d.Pie.defaultParams.htmlLabels

    • type
      Object
  • dojox.charting.plot2d.Pie.defaultParams.radGrad

    • type
      String
  • dojox.charting.plot2d.Pie.defaultParams.fanSize

    • type
      Number
  • dojox.charting.plot2d.Pie.defaultParams.startAngle

    • type
      Number
  • dojox.charting.plot2d.Pie.optionalParams

    • type
      Object
  • dojox.charting.plot2d.Pie.optionalParams.radius

    • type
      Number
  • dojox.charting.plot2d.Pie.optionalParams.stroke

    • type
      Object
  • dojox.charting.plot2d.Pie.optionalParams.outline

    • type
      Object
  • dojox.charting.plot2d.Pie.optionalParams.shadow

    • type
      Object
  • dojox.charting.plot2d.Pie.optionalParams.fill

    • type
      Object
  • dojox.charting.plot2d.Pie.optionalParams.font

    • type
      String
  • dojox.charting.plot2d.Pie.optionalParams.fontColor

    • type
      String
  • dojox.charting.plot2d.Pie.optionalParams.labelWiring

    • type
      Object
  • dojox.charting.plot2d.Pie.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • chart
      • kwArgs
    • summary
      Create a pie plot.
  • dojox.charting.plot2d.Pie.clear

    • returns
      dojox.charting.plot2d.Pie
    • summary
      Clear out all of the information tied to this plot.
    • return_summary
      dojox.charting.plot2d.Pie
      A reference to this plot for functional chaining.
    • type
      Function
  • dojox.charting.plot2d.Pie.dirty

    • type
      bool
  • dojox.charting.plot2d.Pie.dyn

    • type
      Array
  • dojox.charting.plot2d.Pie.run

    • type
      Object
  • dojox.charting.plot2d.Pie.setAxis

    • parameters:
      • axis
    • returns
      dojox.charting.plot2d.Pie
    • summary
      Dummy method, since axes are irrelevant with a Pie chart.
    • return_summary
      dojox.charting.plot2d.Pie
      The reference to this plot for functional chaining.
    • type
      Function
  • dojox.charting.plot2d.Pie.addSeries

    • parameters:
      • run
    • returns
      dojox.charting.plot2d.Pie
    • summary
      Add a series of data to this plot.
    • return_summary
      dojox.charting.plot2d.Pie
      The reference to this plot for functional chaining.
    • type
      Function
  • dojox.charting.plot2d.Pie.getSeriesStats

    • summary
      Returns default stats (irrelevant for this type of plot).
    • return_summary
      Object
      {hmin, hmax, vmin, vmax} min/max in both directions.
    • type
      Function
  • dojox.charting.plot2d.Pie.initializeScalers

    • summary
      Does nothing (irrelevant for this type of plot).
    • type
      Function
  • dojox.charting.plot2d.Pie.getRequiredColors

    • summary
      Return the number of colors needed to draw this plot.
    • type
      Function
  • dojox.charting.plot2d.Pie.render

    • parameters:
      • dim: (typeof Object)
        An object of the form { width, height }.
      • offsets: (typeof Object)
        An object of the form { l, r, t, b }.
    • returns
      continue|stop iteration|dojox.charting.plot2d.Pie
    • summary
      Render the plot on the chart.
    • return_summary
      dojox.charting.plot2d.Pie
      A reference to this plot for functional chaining.
    • type
      Function
  • dojox.charting.plot2d.Pie._eventSeries

    • type
      Object
  • dojox.charting.plot2d.Pie.group

  • dojox.charting.plot2d.Pie.chart.theme

  • dojox.charting.plot2d.Pie.opt.radius

    • type
      String
  • dojox.charting.plot2d.Pie.run.data

  • dojox.charting.plot2d.Pie._getProperLabelRadius

    • parameters:
      • slices
      • labelHeight
      • minRidius
    • type
      Function
  • dojox.charting.plot2d.Pie._caculateLabelR

    • parameters:
      • firstSlice
      • slices
      • labelHeight
    • type
      Function
  • dojox.charting.plot2d.Pie._getLabel

    • parameters:
      • number
    • type
      Function
  • dojox.charting.plot2d.Pie.opt

    • type
      Object
  • dojox.lang.functional

    • alias - dojox.lang.functional
  • dojox.lang.utils

    • alias - dojox.lang.utils
  • dojox.charting.plot2d.common

    • alias - dojox.charting.plot2d.common
  • dojox.charting.axis2d.common

    • alias - dojox.charting.axis2d.common
  • dojox.gfx

    • alias - dojox.gfx
  • dojox.gfx.matrix

    • alias - dojox.gfx.matrix
  • dojox.charting.plot2d

    • type
      Object
  • dojox.charting

    • type
      Object
  • dojox

    • type
      Object