ia.AdvancedPieComponent Class
A class for rendering an advanced pie chart component.
Constructor
ia.AdvancedPieComponent
-
id
-
The
Parameters:
-
id
StringThe id of the component.
-
The
Stringlayout 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:
-
eventType
StringThe type of event to listen for.
-
fnc
FunctionThe function to call when the event occurs.
-
obj
ObjectAn optional parent object.
build
()
Builds the component
clearHighlight
()
Clears all highlights.
clearSelection
()
Clears all selections.
dispatchEvent
-
event
Dispatch an event to the listeners.
Parameters:
-
event
ObjectThe event object.
hide
()
Hides the chart.
highlight
-
id
Hightlights an item.
Parameters:
-
id
StringThe id of the item to highlight.
removeListener
-
obj
Removes all event listeners for the given object.
Parameters:
-
obj
ObjectThe object.
render
()
Renders the component.
select
-
id
Selects an item.
Parameters:
-
id
StringThe id of the item.
setData
()
Specifies a dataprovider.
show
()
Shows the chart.
toggle
()
Toggles the chart visibility.
unselect
-
id
Unselects an item.
Parameters:
-
id
StringThe 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.