Show:

ia.AdvancedPieComponent Class

A class for rendering an advanced pie chart component.

Constructor

ia.AdvancedPieComponent

(
  • id
  • The
)

Parameters:

  • id String

    The id of the component.

  • The String

    layout of the component "vertical", "horizontal", "box", single".

Methods

_size

() private

Sizes all the element to make the scrolling work.

addEventListener

(
  • eventType
  • fnc
  • obj
)

Add an event listener.

Parameters:

  • eventType String

    The type of event to listen for.

  • fnc Function

    The function to call when the event occurs.

  • obj Object

    An 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 Object

    The event object.

hide

()

Hides the chart.

highlight

(
  • id
)

Hightlights an item.

Parameters:

  • id String

    The id of the item to highlight.

removeListener

(
  • obj
)

Removes all event listeners for the given object.

Parameters:

  • obj Object

    The object.

render

()

Renders the component.

select

(
  • id
)

Selects an item.

Parameters:

  • id String

    The id of the item.

setData

()

Specifies a dataprovider.

show

()

Shows the chart.

toggle

()

Toggles the chart visibility.

unselect

(
  • id
)

Unselects an item.

Parameters:

  • id String

    The 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.

thematic

ia.Thematic

The thematic.

tip

String

The data tip.

Default: = ""

title1

String

The initial title of the first chart.

title2

String

The initial title of the second chart.