new SchulentlasseneTheme()
modules/tools/gfi/themes/bildungsatlas/schulentlassene/model.js, line 72
Extends
Methods
-
checkIsMobile(){Boolean}
modules/tools/gfi/themes/bildungsatlas/schulentlassene/model.js, line 381 -
requests util if portal is running on mobile device
Returns:
isMobile
-
createDataForAbschluesse(gfiProperties, legendArray, maxYearsToShowInDiagrams, ifbqKeysAbsolute){Array}
modules/tools/gfi/themes/bildungsatlas/schulentlassene/model.js, line 205 -
creates the data shaped for Linegraph uses createDataForZeitverlauf to form the different lines
Name Type Description gfiPropertiesObject the given data for this theme gotten by this.get("gfiContent").allProperties legendArrayArray the result of defaults legendAbschluesse maxYearsToShowInDiagramsInteger the maximum years/bars/points to be shown on the x-axis ifbqKeysAbsoluteObject the ifbq-Keys for the Linegraph (absolute) - see defaults Returns:
an array of objects as Array({year, number, class, style})
-
createDataForZeitverlauf(gfiProperties, tag, valueTag, maxYearsToShowInDiagrams){Array}
modules/tools/gfi/themes/bildungsatlas/schulentlassene/model.js, line 238 -
creates an array of the statistic for the graph data tag
Name Type Description gfiPropertiesObject the given data for this theme gotten by this.get("gfiContent").allProperties tagString part of the ifbq-key that is used for multiple year data (e.g. "C41_Abi" for "C41_Abi_2016", "C41_Abi_2017", ...) valueTagString as used in graphConfig.attrToShowArray: name of the y-value maxYearsToShowInDiagramsInteger the maximum years/bars/points to be shown on the x-axis Returns:
an array of Objects with the structure [{"year": x, valueTag: y}] to be used as graph data
-
createGraphAbschluesse(){void}
modules/tools/gfi/themes/bildungsatlas/schulentlassene/model.js, line 333 -
creates the Linegraph abschluesse and triggers Graph createGraph
Fires:
-
createGraphZeitverlauf(){void}
modules/tools/gfi/themes/bildungsatlas/schulentlassene/model.js, line 286 -
creates the BarGraph zeitverlauf and triggers Graph createGraph
Fires:
-
helperCreateDataForAbschluesse(className, numberName, verlaufX, legendObj, verlaufAll){Array}
modules/tools/gfi/themes/bildungsatlas/schulentlassene/model.js, line 161 -
creates the data for multi line diagrams
Name Type Description classNameString the class name for the dot as defined in GraphConfig and CSS numberNameString the ref to the x axis name of the group as defined in GraphConfig verlaufXArray an array as result from createDataForZeitverlauf legendObjObject the result of defaults legendAbschluesse but with its class parameter as property verlaufAllArray an array to store values for all verlaufX data Returns:
the result is an array with objects [{class, style, year}]
-
setTemplateValues(gfiProperties, legendArray, maxYearsToShowInDiagrams, ifbqKeysRelative, ifbqKeysAbsolute, gfiBildungsatlasFormat){void}
modules/tools/gfi/themes/bildungsatlas/schulentlassene/model.js, line 117 -
sets the values for the template the values from the source are used as they are - only themeType and layerType are added for schulentlassene
Name Type Description gfiPropertiesObject the given data for this theme gotten by this.get("gfiContent").allProperties legendArrayArray the result of defaults legendAbschluesse maxYearsToShowInDiagramsInteger the maximum years/bars/points to be shown on the x-axis ifbqKeysRelativeObject the ifbq-Keys for the BarGraph (percent) - see defaults ifbqKeysAbsoluteObject the ifbq-Keys for the Linegraph (absolute) - see defaults gfiBildungsatlasFormatObject an object {layerType, themeType} from config.json to control the behavior of the theme - search for keys gfiFormat and gfiBildungsatlasFormat