The default jqPlot shape renderer. Given a set of points will plot them and either stroke a line (fill = false) or fill them (fill = true). If a filled shape is desired, closePath = true must also be set to close the shape.
| $.jqplot. | The default jqPlot shape renderer. |
| Properties | |
| linePattern | line pattern ‘dashed’, ‘dotted’, ‘solid’, some combination of ‘-’ and ‘.’ |
| lineJoin | How line segments of the shadow are joined. |
| lineCap | how ends of the shadow line are rendered. |
| fill | whether to fill the shape. |
| isarc | wether the shadow is an arc or not. |
| fillRect | true to draw shape as a filled rectangle. |
| strokeRect | true to draw shape as a stroked rectangle. |
| clearRect | true to cear a rectangle. |
| strokeStyle | css color spec for the stoke style |
| fillStyle | css color spec for the fill style. |
| Functions | |
| draw | draws the shape. |
line pattern ‘dashed’, ‘dotted’, ‘solid’, some combination of ‘-’ and ‘.’
this.linePattern = 'solid'
How line segments of the shadow are joined.
this.lineJoin = 'miter'
how ends of the shadow line are rendered.
this.lineCap = 'round'
whether to fill the shape.
this.fill = false
wether the shadow is an arc or not.
this.isarc = false
true to draw shape as a filled rectangle.
this.fillRect = false
true to draw shape as a stroked rectangle.
this.strokeRect = false
true to cear a rectangle.
this.clearRect = false
css color spec for the stoke style
this.strokeStyle = '#999999'
css color spec for the fill style.
this.fillStyle = '#999999'
draws the shape.
$.jqplot.ShapeRenderer.prototype.draw = function( ctx, points, options )