Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F1130530
Element.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
Element.js
View Options
if
(
!
dojo
.
_hasResource
[
"dojox.charting.Element"
]){
//_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo
.
_hasResource
[
"dojox.charting.Element"
]
=
true
;
dojo
.
provide
(
"dojox.charting.Element"
);
dojo
.
declare
(
"dojox.charting.Element"
,
null
,
{
constructor
:
function
(
chart
){
this
.
chart
=
chart
;
this
.
group
=
null
;
this
.
htmlElements
=
[];
this
.
dirty
=
true
;
},
createGroup
:
function
(
creator
){
if
(
!
creator
){
creator
=
this
.
chart
.
surface
;
}
if
(
!
this
.
group
){
this
.
group
=
creator
.
createGroup
();
}
return
this
;
},
purgeGroup
:
function
(){
this
.
destroyHtmlElements
();
if
(
this
.
group
){
this
.
group
.
clear
();
this
.
group
.
removeShape
();
this
.
group
=
null
;
}
this
.
dirty
=
true
;
return
this
;
},
cleanGroup
:
function
(
creator
){
this
.
destroyHtmlElements
();
if
(
!
creator
){
creator
=
this
.
chart
.
surface
;
}
if
(
this
.
group
){
this
.
group
.
clear
();
}
else
{
this
.
group
=
creator
.
createGroup
();
}
this
.
dirty
=
true
;
return
this
;
},
destroyHtmlElements
:
function
(){
dojo
.
forEach
(
this
.
htmlElements
,
dojo
.
_destroyElement
);
this
.
htmlElements
=
[];
},
destroy
:
function
(){
this
.
purgeGroup
();
}
});
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jun 21, 17:22 (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25003
Default Alt Text
Element.js (1 KB)
Attached To
rZEDHG ZedLegacy
Event Timeline
Log In to Comment