Plugin which will automatically compute and draw trendlines for plotted data.
$.jqplot. | Plugin which will automatically compute and draw trendlines for plotted data. |
Properties | |
show | Wether or not to show the trend line. |
color | CSS color spec for the trend line. |
renderer | Renderer to use to draw the trend line. |
rendererOptions | Options to pass to the line renderer. |
label | Label for the trend line to use in the legend. |
type | Either ‘exponential’, ‘exp’, or ‘linear’. |
shadow | true or false, whether or not to show the shadow. |
markerRenderer | Renderer to use to draw markers on the line. |
lineWidth | Width of the trend line. |
shadowAngle | Angle of the shadow on the trend line. |
shadowOffset | pixel offset for each stroke of the shadow. |
shadowAlpha | Alpha transparency of the shadow. |
shadowDepth | number of strokes to make of the shadow. |
Wether or not to show the trend line.
this.show = $.jqplot.config.enablePlugins
CSS color spec for the trend line.
this.color = '#666666'
Renderer to use to draw the trend line.
this.renderer = new $.jqplot.LineRenderer()
Options to pass to the line renderer.
this.rendererOptions = {marker:{show:false}}
Label for the trend line to use in the legend.
this.label = ''
Either ‘exponential’, ‘exp’, or ‘linear’.
this.type = 'linear'
true or false, whether or not to show the shadow.
this.shadow = true
Renderer to use to draw markers on the line.
this.markerRenderer = {show:false}
Width of the trend line.
this.lineWidth = 1.5
Angle of the shadow on the trend line.
this.shadowAngle = 45
pixel offset for each stroke of the shadow.
this.shadowOffset = 1.0
Alpha transparency of the shadow.
this.shadowAlpha = 0.07
number of strokes to make of the shadow.
this.shadowDepth = 3