|
Name |
Type |
renderEngine
|
object
|
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.
|
|
|
Name |
Arguments |
Return Type |
attr
|
(object element, object attributes)
|
void
|
Sets attributes of an element
|
circle
|
(double cx, double cy, double r, object attributes)
|
object
|
|
clear
|
()
|
void
|
Clears the content of the jqxDraw widget
|
getAttr
|
(object element, object attributes)
|
string
|
|
getSize
|
()
|
object
|
|
line
|
(double x1, double y1, double x2, double y2, object attributes)
|
object
|
|
measureText
|
(string text, double angle, object attributes)
|
object
|
Estimates the size of a text element
|
on
|
(object element, string e, object func)
|
void
|
Adds an event handler to an element
|
off
|
(object element, string e, object func)
|
void
|
Removes an event handler from an element
|
path
|
(string path, object attributes)
|
object
|
|
pieslice
|
(double cx, double xy, object innerRadius, object outerRadius, double fromAngle, double endAngle, double centerOffset, object attributes)
|
object
|
Creates a pie slice element
|
refresh
|
()
|
void
|
Refreshes / re-draws the content of the jqxDraw widget
|
rect
|
(double x, double y, object width, object height, object attributes)
|
object
|
Creates a rectangle element
|
saveAsJPEG
|
(string image, string url)
|
void
|
Exports the content as JPEG image
|
saveAsPNG
|
(string image, string url)
|
void
|
Exports the chart's content as PNG image
|
text
|
(string text, double x, double y, object width, object height, double angle, object attributes, bool clip, string halign, string valign, string rotateAround)
|
object
|
|