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/calc/Grapher.js

  • Provides:

    • dojox.calc.Grapher
  • Requires:

    • dijit._Templated in common
    • dojox.math._base in common
    • dijit.dijit in common
    • dijit.form.DropDownButton in common
    • dijit.TooltipDialog in common
    • dijit.form.TextBox in common
    • dijit.form.Button in common
    • dijit.form.ComboBox in common
    • dijit.form.Select in common
    • dijit.form.CheckBox in common
    • dijit.ColorPalette in common
    • dojox.charting.Chart2D in common
    • dojox.charting.themes.Tufte in common
    • dojo.colors in common
  • dojox.calc.Grapher

    • type
      Function
    • chains:
      • dijit._Widget: (prototype)
      • dijit._Templated.prototype: (prototype)
      • dijit._Widget: (call)
      • dijit._Templated: (call)
    • summary
      The dialog layout for making graphs
      
      
      
      attributes to name the indices of this.array
  • dojox.calc.Grapher.templateString

    • type
      Object
  • dojox.calc.Grapher.widgetsInTemplate

    • type
      Object
  • dojox.calc.Grapher.addXYAxes

    • parameters:
      • chart
    • summary
      add or re-add the default x/y axes to the Chart2D provided
      params:
      chart is an instance of dojox.charting.Chart2D
    • type
      Function
  • dojox.calc.Grapher.selectAll

    • type
      Function
  • dojox.calc.Grapher.deselectAll

    • type
      Function
  • dojox.calc.Grapher.drawOne

    • parameters:
      • i
    • type
      Function
  • dojox.calc.Grapher.onDraw

    • type
      Function
  • dojox.calc.Grapher.erase

    • parameters:
      • i
    • summary
      erase the chart inside this.array with the index i
      params:
      i is the integer index to this.array that represents the current row number in the table
    • type
      Function
  • dojox.calc.Grapher.onErase

    • summary
      the erase button's onClick method
      it see's if the checkbox is checked and then erases it if it is.
    • type
      Function
  • dojox.calc.Grapher.onDelete

    • summary
      the delete button's onClick method
      delete all of the selected rows
    • type
      Function
  • dojox.calc.Grapher.checkboxIndex

    • type
      Number
  • dojox.calc.Grapher.functionMode

    • type
      Number
  • dojox.calc.Grapher.expressionIndex

    • type
      Number
  • dojox.calc.Grapher.colorIndex

    • type
      Number
  • dojox.calc.Grapher.dropDownIndex

    • type
      Number
  • dojox.calc.Grapher.tooltipIndex

    • type
      Number
  • dojox.calc.Grapher.colorBoxFieldsetIndex

    • type
      Number
  • dojox.calc.Grapher.statusIndex

    • type
      Number
  • dojox.calc.Grapher.chartIndex

    • type
      Number
  • dojox.calc.Grapher.funcNumberIndex

    • type
      Number
  • dojox.calc.Grapher.evaluatedExpression

    • type
      Number
  • dojox.calc.Grapher.functionRef

    • type
      Number
  • dojox.calc.Grapher.createFunction

    • summary
      create a new row in the table with all of the dojo objects.
    • type
      Function
  • dojox.calc.Grapher.setStatus

    • parameters:
      • i
      • status
    • summary
      set the status of the row i to be status
      params:
      i is an integer index of this.array as well as a row index
      status is a String, it is either Error, Hidden, or Drawn
    • type
      Function
  • dojox.calc.Grapher.changedColor

    • summary
      make the color of the chart the new color
      the context is changed to the colorPalette, and a reference to chart was added to it a an attribute
    • type
      Function
  • dojox.calc.Grapher.makeDirty

    • summary
      if something in the window options is changed, this is called
    • type
      Function
  • dojox.calc.Grapher.dirty

    • type
      bool
  • dojox.calc.Grapher.checkDirty1

    • summary
      to stay in sync with onChange, checkDirty is called with a timeout
    • type
      Function
  • dojox.calc.Grapher.checkDirty

    • summary
      adjust all charts in this.array according to any changes in window options
    • type
      Function
  • dojox.calc.Grapher.postCreate

    • type
      Function
  • dojox.calc.Grapher.funcNumber

    • type
      Number
  • dojox.calc.Grapher.rowCount

    • type
      Number
  • dojox.calc.Grapher.array

    • type
      Array
  • dojox.calc.Grapher.startup

    • type
      Function
  • dojox.calc.Grapher.draw

    • parameters:
      • chart: (typeof Chart2D)
      • functionToGraph: (typeof Function)
      • params
    • type
      Function
  • dojox.calc.Grapher.generatePoints

    • parameters:
      • funcToGraph: (typeof Function)
      • x: (typeof String)
      • y: (typeof String)
      • width: (typeof Number)
      • minX: (typeof Number)
      • maxX: (typeof Number)
      • minY: (typeof Number)
      • maxY: (typeof Number)
    • returns
      someone pushed cancel in the val code
    • summary
      create the points with information about the graph.
      params:
      funcToGraph is a function with one numeric parameter (x or y typically)
      x and y are Strings which always have the values of "x" or "y".  If y="x" and x="y" then it is creating points for the function as though it was a function of y
      Number minX, Number maxX, Number minY, Number maxY are all bounds of the chart.  If x="y" then maxY should be the maximum bound of x rather than y
      Number width is the pixel width of the chart
      output:
      an array of arrays of points
    • type
      Function
  • dojox.calc

    • type
      Object
  • dojox

    • type
      Object