Optional
attrOptional
closed(only if graphType: 'polyline'
or graphType: 'scatter'
) True to close the path,
for any segment of the closed area graph y0
will be 0 and y1
will be f(x)
Optional
colorThe color of the function to render
Optional
derivativeThe derivative configuration
Optional
fnThe function to render
Optional
fnThe type of function to render
Optional
graphThe type of graph to render
Optional
Private
indexThe datum index
Optional
Private
isTrue if the datum is a helper function
Optional
locationAn array of 2-number array for the position of the text when fnType: 'text'
Optional
nThe number of values to be taken from range
to evaluate the function, note that if interval-arithmetic is used the function
will be evaluated with intervals instead of single values
Optional
offsetVector offset when fnType: 'vector'
Optional
pointsAn array of 2-number array which hold the coordinates of the points to render when fnType: 'points'
Optional
rThe function to render (only used for polar functions)
Optional
rangeAn array with two numbers, the function will only be evaluated with values that belong to this interval
default value for fnType: 'polar'
: [-Math.PI, Math.PI]
default value for fnType: 'parametric'
: [0, 2 * Math.PI]
default value for the other functions: [-Infinity, Infinity]
Optional
samplerThe sampler to take samples from range
, available values are interval|builtIn
builtIn
should only be used when graphType
is polyline|scatter
Optional
scopeAdditional information available during function evaluation
Optional
secantsThe secants configuration
Optional
Private
skipTrue to bypass the range limits, used for helper functions
Optional
skipTrue to make the tip ignore this function
Optional
textUsed as text if graphType: 'text'
Optional
vectorAn array of 2-number array which hold the coordinates of the points to render when fnType: 'vector'
Optional
xThe function to render (only used for parametric functions)
Optional
yThe function to render (only used for parametric functions)
Generated using TypeDoc
Additional attributes set on the svg node that represents this datum