ia.AdvancedPieComponent Class
A class for rendering an advanced pie chart component.
Constructor
ia.AdvancedPieComponent
-
id -
The
Parameters:
-
idStringThe id of the component.
-
TheStringlayout of the component "vertical", "horizontal", "box", single".
Item Index
Methods
Properties
Methods
_size
()
private
Sizes all the element to make the scrolling work.
addEventListener
-
eventType -
fnc -
obj
Add an event listener.
Parameters:
-
eventTypeStringThe type of event to listen for.
-
fncFunctionThe function to call when the event occurs.
-
objObjectAn optional parent object.
build
()
Builds the component
clearHighlight
()
Clears all highlights.
clearSelection
()
Clears all selections.
dispatchEvent
-
event
Dispatch an event to the listeners.
Parameters:
-
eventObjectThe event object.
hide
()
Hides the chart.
highlight
-
id
Hightlights an item.
Parameters:
-
idStringThe id of the item to highlight.
removeListener
-
obj
Removes all event listeners for the given object.
Parameters:
-
objObjectThe object.
render
()
Renders the component.
select
-
id
Selects an item.
Parameters:
-
idStringThe id of the item.
setData
()
Specifies a dataprovider.
show
()
Shows the chart.
toggle
()
Toggles the chart visibility.
unselect
-
id
Unselects an item.
Parameters:
-
idStringThe id of the item.
Properties
container
JQUERY Element
The container that holds the object.
highlightColor
String
The item highlight color.
id
String
The id.
selectionColor
String
The item selection color.
tip
String
The data tip.
Default: = ""
title1
String
The initial title of the first chart.
title2
String
The initial title of the second chart.