Widgets
Samples
Demos
Forum
Services
Documentation
addPoly
addRect
addSector
hide
render
Start
API Reference
Mixins
HtmlMap
Methods
addSector
renders HTML area element with "poly" shape
void
addSector
(
id
id
,
number
aplha0
,
number
aplha1
,
number
x
,
number
y
,
number
R
,
number
ky
, [
string
userdata
] );
id
id
id which will be assigned to related HTML section
aplha0
number
starting angle
aplha1
number
ending angle
x
number
x position of center
y
number
y position of center
R
number
radius
ky
number
y-scaling factor
userdata
string
extra data string (used by chart series)
Example
map.
addSector
(
"12"
,
0
,
Math.
PI
/
2
,
100
,
100
,
50
,
1
)
;
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
Go to Forum