Return a less exact approximation of r such that approx(r * (1 +- eps)) == approx(r)
Parameter | Type | Description |
---|---|---|
r | Number |
graph a chart with the given function.
Parameter | Type | Description |
---|---|---|
chart | dojox/charting/Chart2D | |
functionToGraph | Function | Function with one numeric parameter (x or y typically) |
params | Object | can contain the number of the graph in the chart it is (an integer), a boolean saying if the functionToGraph is a function of x (otherwise y) and the color, which is an object with a stroke with a color's name eg: color:{stroke:"black"} |
create the points with information about the graph.
Parameter | Type | Description |
---|---|---|
funcToGraph | Function | A function with one numeric parameter (x or y typically) |
x | String | 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 |
y | String | 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 |
width | Number | pixel width of the chart |
minX | Number | minX, maxX, minY, and maxY are all bounds of the chart. If x="y" then maxY should be the maximum bound of x rather than y |
maxX | Number | minX, maxX, minY, and maxY are all bounds of the chart. If x="y" then maxY should be the maximum bound of x rather than y |
minY | Number | minX, maxX, minY, and maxY are all bounds of the chart. If x="y" then maxY should be the maximum bound of x rather than y |
maxY | Number | minX, maxX, minY, and maxY are all bounds of the chart. If x="y" then maxY should be the maximum bound of x rather than y |
Parameter | Type | Description |
---|---|---|
base | undefined | |
exponent | undefined |