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.

Summary
$.jqplot.shapeRendererThe default jqPlot shape renderer.
Properties
lineJoinHow line segments of the shadow are joined.
lineCaphow ends of the shadow line are rendered.
fillwhether to fill the shape.
isarcwether the shadow is an arc or not.
fillRecttrue to draw shape as a filled rectangle.
strokeRecttrue to draw shape as a stroked rectangle.
clearRecttrue to cear a rectangle.
strokeStylecss color spec for the stoke style
fillStylecss color spec for the fill style.
Functions
drawdraws the shape.

Properties

lineJoin

this.lineJoin = 'miter'

How line segments of the shadow are joined.

lineCap

this.lineCap = 'round'

how ends of the shadow line are rendered.

fill

this.fill = false

whether to fill the shape.

isarc

this.isarc = false

wether the shadow is an arc or not.

fillRect

this.fillRect = false

true to draw shape as a filled rectangle.

strokeRect

this.strokeRect = false

true to draw shape as a stroked rectangle.

clearRect

this.clearRect = false

true to cear a rectangle.

strokeStyle

this.strokeStyle = '#999999'

css color spec for the stoke style

fillStyle

this.fillStyle = '#999999'

css color spec for the fill style.

Functions

draw

$.jqplot.ShapeRenderer.prototype.draw = function(ctx,
points,
options)

draws the shape.

ctxcanvas drawing context
pointsarray of points for shapes or [x, y, width, height] for rectangles or [x, y, radius, start angle (rad), end angle (rad)] for circles and arcs.
this.lineJoin = 'miter'
How line segments of the shadow are joined.
this.lineCap = 'round'
how ends of the shadow line are rendered.
this.fill = false
whether to fill the shape.
this.isarc = false
wether the shadow is an arc or not.
this.fillRect = false
true to draw shape as a filled rectangle.
this.strokeRect = false
true to draw shape as a stroked rectangle.
this.clearRect = false
true to cear a rectangle.
this.strokeStyle = '#999999'
css color spec for the stoke style
this.fillStyle = '#999999'
css color spec for the fill style.
$.jqplot.ShapeRenderer.prototype.draw = function(ctx,
points,
options)
draws the shape.
Close