Name | Type | Default |
---|---|---|
renderEngine | String | '' |
Determines the rendering engine used to display the chart. Possible values are 'SVG', 'VML' and 'HTML5'. When the property is not set jqxDraw will automatically select an optimal rendering engine depending on the browser capabilities. Code examples
Try it: renderEngine is set to 'HTML5'
|
Name | Arguments |
---|
Name | Arguments | Return Value | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
attr | element, attributes | none | |||||||||||||||||||||||||||||||||
Sets attributes of an element
Object Code examples
Try it: invoke the 'attr' method
|
|||||||||||||||||||||||||||||||||||
circle | cx, cy, r, {optional attributes} | element object | |||||||||||||||||||||||||||||||||
Creates a circle element
Object Code examples
Try it: invoke the 'circle' method
|
|||||||||||||||||||||||||||||||||||
clear | None | None | |||||||||||||||||||||||||||||||||
Clears the content of the jqxDraw widget.
None Code examples
Try it: invoke the 'clear' method
|
|||||||||||||||||||||||||||||||||||
getAttr | element, attribute name | string | |||||||||||||||||||||||||||||||||
Gets element's attribute
String Code examples
Try it: invoke the 'getAttr' method
|
|||||||||||||||||||||||||||||||||||
line | x1, y1, x2, y2, {optional attributes} | element object | |||||||||||||||||||||||||||||||||
Creates a line element
Object Code examples
Try it: invoke the 'line' method
|
|||||||||||||||||||||||||||||||||||
measureText | text, angle, {optional attributes} | {width, height} | |||||||||||||||||||||||||||||||||
Estimates the size of a text element
Object - object.width and object.height Number properties. Code examples
Try it: invoke the 'measureText' method
|
|||||||||||||||||||||||||||||||||||
on | element, event, function | none | |||||||||||||||||||||||||||||||||
Adds an event handler to an element
None Code examples
Try it: invoke the 'on' method
|
|||||||||||||||||||||||||||||||||||
off | element, event, function | none | |||||||||||||||||||||||||||||||||
Removes an event handler from an element
None Code examples
Try it: invoke the 'off' method
|
|||||||||||||||||||||||||||||||||||
path | line command , {optional attributes} | element object | |||||||||||||||||||||||||||||||||
Creates a path element
Object Code examples
Try it: invoke the 'path' method
|
|||||||||||||||||||||||||||||||||||
pieslice | cx, cy, innerRadius, outerRadius, fromAngle, endAngle, centerOffset, {optional attributes} | element object | |||||||||||||||||||||||||||||||||
Creates a pie slice element
Object Code examples
Try it: invoke the 'pieslice' method
|
|||||||||||||||||||||||||||||||||||
refresh | None | None | |||||||||||||||||||||||||||||||||
Refreshes / re-draws the content of the jqxDraw widget.
None Code examples
Try it: invoke the 'refresh' method
|
|||||||||||||||||||||||||||||||||||
rect | x, y, width, height, {optional attributes} | element object | |||||||||||||||||||||||||||||||||
Creates a rectangle element
Object Code examples
Try it: invoke the 'rect' method
|
|||||||||||||||||||||||||||||||||||
saveAsJPEG | fileName, exportServer | boolean | |||||||||||||||||||||||||||||||||
Exports the content as JPEG image.
None Code examples
Try it: invoke the 'saveAsJPEG' method
|
|||||||||||||||||||||||||||||||||||
saveAsPNG | fileName, exportServer | boolean | |||||||||||||||||||||||||||||||||
Exports the chart's content as PNG image.
None Code examples
Try it: invoke the 'saveAsPNG' method
|
|||||||||||||||||||||||||||||||||||
text | text, x, y, width, height, angle, attributes, clip, halign, valign, rotateAround | element object | |||||||||||||||||||||||||||||||||
Creates a text element
Object Code examples
Try it: invoke the 'text' method
|