Class: AppExplainController

AppExplainController~ AppExplainController


new AppExplainController()

The controller retrieving the data for the explanatory visualization and
governing the interaction on this visualization.

Source:

Methods


<static> factory()

Factory to create the directive; used in the angular.directive call.

Source:

loadStories(storiesUrl)

Loads the stories for the story box from an URL which is supplied to the
function.

Parameters:
Name Type Description
storiesUrl

the URL to load the stories data from

Source:

loadSummary(summaryUrl)

Loads the summary data for the visualization from an URL which is supplied
to the function.

Parameters:
Name Type Description
summaryUrl

the url of the summary (explorative) data

Source:

loosenessChangedHandler()

Returns a callback that should be invoked every time the
highlights.looseness property changes. This property signifies if the
storybox should be hidden or shown. Based on this, the callback updates
the URL to contain a specific "showStories" parameter.

Source:

processUrlHandler()

Returns a callback that should be invoked any time the URL search string
is changed.

Source:
See:

processUrlShowStories()

Uses AngularJS's $location provider to resolve, if a "showStories"
parameter was given when loading the page and configures the "highlights"
object of the page in such a way, that the storybox can be eigher shown
or hidden.

Source:

resetHighlights()

Resets all "highlights" back to normal, that means, no part of the
visualization will be highlighted/marked/zoomed-in etc. after calling this
method.

Source:

storiesLoadedHandler()

Returns a callback to be invoked with the JSON data as parameter after the
stories JSON file is loaded

Source:

summaryLoadedHandler()

Returns a callback to be invoked with the JSON data as parameter after the
visualization JSON file is loaded.

Source: