SYMBOL INDEX (323 symbols across 23 files) FILE: src/css/chartsCss.js constant CSSTEXT (line 1) | const CSSTEXT = FILE: src/js/chart.js function getChartByType (line 18) | function getChartByType(chartType = "line", parent, options) { class Chart (line 32) | class Chart { method constructor (line 33) | constructor(parent, options) { FILE: src/js/charts/AggregationChart.js class AggregationChart (line 7) | class AggregationChart extends BaseChart { method constructor (line 8) | constructor(parent, args) { method configure (line 12) | configure(args) { method calc (line 21) | calc() { method renderLegend (line 70) | renderLegend() { method makeLegend (line 77) | makeLegend(data, index, x_pos, y_pos) { FILE: src/js/charts/AxisChart.js class AxisChart (line 28) | class AxisChart extends BaseChart { method constructor (line 29) | constructor(parent, args) { method setMeasures (line 41) | setMeasures() { method configure (line 48) | configure(options) { method prepareData (line 92) | prepareData(data = this.data, config = this.config) { method prepareFirstData (line 96) | prepareFirstData(data = this.data) { method calc (line 100) | calc(onlyWidthChange = false) { method calcXPositions (line 111) | calcXPositions() { method calcYAxisParameters (line 132) | calcYAxisParameters(dataValues, withMinimum = "false") { method calcDatasetPoints (line 250) | calcDatasetPoints() { method calcYExtremes (line 293) | calcYExtremes() { method calcYRegions (line 309) | calcYRegions() { method getAllYValues (line 331) | getAllYValues() { method setupComponents (line 396) | setupComponents() { method makeDataByIndex (line 632) | makeDataByIndex() { method bindTooltip (line 662) | bindTooltip() { method mapTooltipXPosition (line 681) | mapTooltipXPosition(relX) { method renderLegend (line 701) | renderLegend() { method makeLegend (line 732) | makeLegend(data, index, x_pos, y_pos) { method makeOverlay (line 747) | makeOverlay() { method updateOverlayGuides (line 780) | updateOverlayGuides() { method bindOverlay (line 789) | bindOverlay() { method bindUnits (line 795) | bindUnits() { method updateOverlay (line 812) | updateOverlay() { method onLeftArrow (line 819) | onLeftArrow() { method onRightArrow (line 823) | onRightArrow() { method getDataPoint (line 827) | getDataPoint(index = this.state.currentIndex) { method setCurrentDataPoint (line 837) | setCurrentDataPoint(index) { method addDataPoint (line 848) | addDataPoint(label, datasetValues, index = this.state.datasetLength) { method removeDataPoint (line 857) | removeDataPoint(index = this.state.datasetLength - 1) { method updateDataset (line 869) | updateDataset(datasetValues, index = 0) { method updateDatasets (line 876) | updateDatasets(datasets) { FILE: src/js/charts/BaseChart.js class BaseChart (line 30) | class BaseChart { method constructor (line 31) | constructor(parent, options) { method prepareData (line 96) | prepareData(data) { method prepareFirstData (line 100) | prepareFirstData(data) { method validateColors (line 104) | validateColors(colors, type) { method setMeasures (line 118) | setMeasures() { method configure (line 123) | configure() { method destroy (line 139) | destroy() { method setup (line 146) | setup() { method makeContainer (line 154) | makeContainer() { method makeTooltip (line 170) | makeTooltip() { method bindTooltip (line 178) | bindTooltip() {} method draw (line 180) | draw(onlyWidthChange = false, init = false) { method calc (line 211) | calc() {} method updateWidth (line 213) | updateWidth() { method makeChartArea (line 218) | makeChartArea() { method updateTipOffset (line 271) | updateTipOffset(x, y) { method setupComponents (line 278) | setupComponents() { method update (line 282) | update(data, drawing = false, config) { method render (line 290) | render(components = this.components, animate = true) { method updateNav (line 313) | updateNav() { method renderLegend (line 320) | renderLegend(dataset) { method makeLegend (line 338) | makeLegend() {} method setupNavigation (line 340) | setupNavigation(init = false) { method makeOverlay (line 365) | makeOverlay() {} method updateOverlay (line 366) | updateOverlay() {} method bindOverlay (line 367) | bindOverlay() {} method bindUnits (line 368) | bindUnits() {} method onLeftArrow (line 370) | onLeftArrow() {} method onRightArrow (line 371) | onRightArrow() {} method onUpArrow (line 372) | onUpArrow() {} method onDownArrow (line 373) | onDownArrow() {} method onEnterKey (line 374) | onEnterKey() {} method addDataPoint (line 376) | addDataPoint() {} method removeDataPoint (line 377) | removeDataPoint() {} method getDataPoint (line 379) | getDataPoint() {} method setCurrentDataPoint (line 380) | setCurrentDataPoint() {} method updateDataset (line 382) | updateDataset() {} method export (line 384) | export() { FILE: src/js/charts/DonutChart.js class DonutChart (line 10) | class DonutChart extends AggregationChart { method constructor (line 11) | constructor(parent, args) { method configure (line 20) | configure(args) { method calc (line 32) | calc() { method setupComponents (line 99) | setupComponents() { method calTranslateByAngle (line 124) | calTranslateByAngle(property) { method hoverSlice (line 135) | hoverSlice(path, i, flag, e) { method bindTooltip (line 161) | bindTooltip() { method mouseMove (line 166) | mouseMove(e) { method mouseLeave (line 182) | mouseLeave() { FILE: src/js/charts/Heatmap.js constant COL_WIDTH (line 28) | const COL_WIDTH = HEATMAP_SQUARE_SIZE + HEATMAP_GUTTER_SIZE; constant ROW_HEIGHT (line 29) | const ROW_HEIGHT = COL_WIDTH; class Heatmap (line 32) | class Heatmap extends BaseChart { method constructor (line 33) | constructor(parent, options) { method setMeasures (line 48) | setMeasures(options) { method updateWidth (line 64) | updateWidth() { method prepareData (line 71) | prepareData(data = this.data) { method calc (line 101) | calc() { method setupComponents (line 117) | setupComponents() { method update (line 161) | update(data) { method bindTooltip (line 171) | bindTooltip() { method renderLegend (line 203) | renderLegend() { method getDomains (line 237) | getDomains() { method getDomainConfig (line 265) | getDomainConfig(startDate, endDate = "") { method getCol (line 302) | getCol(startDate, month, empty = false) { method getSubDomainConfig (line 327) | getSubDomainConfig(date) { FILE: src/js/charts/PercentageChart.js class PercentageChart (line 6) | class PercentageChart extends AggregationChart { method constructor (line 7) | constructor(parent, args) { method setMeasures (line 13) | setMeasures(options) { method setupComponents (line 25) | setupComponents() { method calc (line 52) | calc() { method makeDataByIndex (line 68) | makeDataByIndex() {} method bindTooltip (line 70) | bindTooltip() { FILE: src/js/charts/PieChart.js class PieChart (line 10) | class PieChart extends AggregationChart { method constructor (line 11) | constructor(parent, args) { method configure (line 20) | configure(args) { method calc (line 31) | calc() { method setupComponents (line 95) | setupComponents() { method calTranslateByAngle (line 119) | calTranslateByAngle(property) { method hoverSlice (line 130) | hoverSlice(path, i, flag, e) { method bindTooltip (line 156) | bindTooltip() { method getDataPoint (line 160) | getDataPoint(index = this.state.currentIndex) { method setCurrentDataPoint (line 169) | setCurrentDataPoint(index) { method bindUnits (line 179) | bindUnits() { method mouseMove (line 188) | mouseMove(e) { method mouseLeave (line 204) | mouseLeave() { FILE: src/js/objects/ChartComponents.js class ChartComponent (line 28) | class ChartComponent { method constructor (line 29) | constructor({ method refresh (line 58) | refresh(data) { method setup (line 62) | setup(parent) { method make (line 66) | make() { method render (line 71) | render(data) { method update (line 87) | update(animate = true) { method makeElements (line 100) | makeElements(data) { method animateElements (line 114) | animateElements(newData) { method makeElements (line 122) | makeElements(data) { method animateElements (line 130) | animateElements(newData) { method makeElements (line 138) | makeElements(data) { method animateElements (line 159) | animateElements(newData) { method makeElements (line 165) | makeElements(data) { method animateElements (line 226) | animateElements(newData) { method makeElements (line 278) | makeElements(data) { method animateElements (line 287) | animateElements(newData) { method makeElements (line 309) | makeElements(data) { method animateElements (line 319) | animateElements(newData) { method makeElements (line 349) | makeElements(data) { method animateElements (line 356) | animateElements(newData) { method makeElements (line 397) | makeElements(data) { method animateElements (line 447) | animateElements(newData) { method makeElements (line 456) | makeElements(data) { method animateElements (line 477) | animateElements(newData) { method makeElements (line 530) | makeElements(data) { method animateElements (line 567) | animateElements(newData) { function getComponent (line 616) | function getComponent(name, constants, getData) { FILE: src/js/objects/SvgTip.js class SvgTip (line 4) | class SvgTip { method constructor (line 5) | constructor({ parent = null, colors = [] }) { method setup (line 22) | setup() { method refresh (line 26) | refresh() { method makeTooltip (line 31) | makeTooltip() { method fill (line 50) | fill() { method calcPosition (line 86) | calcPosition() { method setValues (line 110) | setValues(x, y, title = {}, listValues = [], index = -1) { method hideTip (line 121) | hideTip() { method showTip (line 127) | showTip() { FILE: src/js/utils/animate.js constant UNIT_ANIM_DUR (line 3) | const UNIT_ANIM_DUR = 350; constant PATH_ANIM_DUR (line 4) | const PATH_ANIM_DUR = 350; constant MARKER_LINE_ANIM_DUR (line 5) | const MARKER_LINE_ANIM_DUR = UNIT_ANIM_DUR; constant REPLACE_ALL_NEW_DUR (line 6) | const REPLACE_ALL_NEW_DUR = 250; constant STD_EASING (line 8) | const STD_EASING = "easein"; function translate (line 10) | function translate(unit, oldCoord, newCoord, duration) { function translateVertLine (line 22) | function translateVertLine(xLine, newX, oldX) { function translateHoriLine (line 26) | function translateHoriLine(yLine, newY, oldY) { function animateRegion (line 30) | function animateRegion(rectGroup, newY1, newY2, oldY2) { function animateBar (line 50) | function animateBar(bar, x, yTop, width, offset = 0, meta = {}) { function animateDot (line 78) | function animateDot(dot, x, y) { function animatePath (line 89) | function animatePath(paths, newXList, newYList, zeroLine, spline) { function animatePathStr (line 119) | function animatePathStr(oldPath, pathStr) { FILE: src/js/utils/animation.js constant EASING (line 5) | const EASING = { function animateSVGElement (line 14) | function animateSVGElement( function transform (line 75) | function transform(element, style) { function animateSVG (line 84) | function animateSVG(svgContainer, elements) { function runSMILAnimation (line 117) | function runSMILAnimation(parent, svgElement, elementsToAnimate) { FILE: src/js/utils/axis-chart-utils.js function dataPrep (line 9) | function dataPrep(data, type, config) { function zeroDataPrep (line 70) | function zeroDataPrep(realData) { function getShortenedLabels (line 109) | function getShortenedLabels(chartWidth, labels = [], isSeries = true) { FILE: src/js/utils/colors.js constant PRESET_COLOR_MAP (line 1) | const PRESET_COLOR_MAP = { function limitColor (line 24) | function limitColor(r) { function lightenDarkenColor (line 30) | function lightenDarkenColor(color, amt) { function isValidColor (line 44) | function isValidColor(string) { FILE: src/js/utils/constants.js constant ALL_CHART_TYPES (line 1) | const ALL_CHART_TYPES = [ constant COMPATIBLE_CHARTS (line 10) | const COMPATIBLE_CHARTS = { constant DATA_COLOR_DIVISIONS (line 18) | const DATA_COLOR_DIVISIONS = { constant BASE_MEASURES (line 26) | const BASE_MEASURES = { function getTopOffset (line 47) | function getTopOffset(m) { function getLeftOffset (line 51) | function getLeftOffset(m) { function getExtraHeight (line 55) | function getExtraHeight(m) { function getExtraWidth (line 66) | function getExtraWidth(m) { constant INIT_CHART_UPDATE_TIMEOUT (line 73) | const INIT_CHART_UPDATE_TIMEOUT = 700; constant CHART_POST_ANIMATE_TIMEOUT (line 74) | const CHART_POST_ANIMATE_TIMEOUT = 400; constant DEFAULT_AXIS_CHART_TYPE (line 76) | const DEFAULT_AXIS_CHART_TYPE = "line"; constant AXIS_DATASET_CHART_TYPES (line 77) | const AXIS_DATASET_CHART_TYPES = ["line", "bar"]; constant LEGEND_ITEM_WIDTH (line 79) | const LEGEND_ITEM_WIDTH = 150; constant SERIES_LABEL_SPACE_RATIO (line 80) | const SERIES_LABEL_SPACE_RATIO = 0.6; constant BAR_CHART_SPACE_RATIO (line 82) | const BAR_CHART_SPACE_RATIO = 0.5; constant MIN_BAR_PERCENT_HEIGHT (line 83) | const MIN_BAR_PERCENT_HEIGHT = 0.0; constant LINE_CHART_DOT_SIZE (line 85) | const LINE_CHART_DOT_SIZE = 4; constant DOT_OVERLAY_SIZE_INCR (line 86) | const DOT_OVERLAY_SIZE_INCR = 4; constant PERCENTAGE_BAR_DEFAULT_HEIGHT (line 88) | const PERCENTAGE_BAR_DEFAULT_HEIGHT = 16; constant HEATMAP_DISTRIBUTION_SIZE (line 92) | const HEATMAP_DISTRIBUTION_SIZE = 5; constant HEATMAP_SQUARE_SIZE (line 94) | const HEATMAP_SQUARE_SIZE = 10; constant HEATMAP_GUTTER_SIZE (line 95) | const HEATMAP_GUTTER_SIZE = 2; constant DEFAULT_CHAR_WIDTH (line 97) | const DEFAULT_CHAR_WIDTH = 7; constant TOOLTIP_POINTER_TRIANGLE_HEIGHT (line 99) | const TOOLTIP_POINTER_TRIANGLE_HEIGHT = 7.48; constant DEFAULT_CHART_COLORS (line 100) | const DEFAULT_CHART_COLORS = [ constant HEATMAP_COLORS_GREEN (line 112) | const HEATMAP_COLORS_GREEN = [ constant HEATMAP_COLORS_BLUE (line 119) | const HEATMAP_COLORS_BLUE = [ constant HEATMAP_COLORS_YELLOW (line 126) | const HEATMAP_COLORS_YELLOW = [ constant DEFAULT_COLORS (line 134) | const DEFAULT_COLORS = { constant ANGLE_RATIO (line 144) | const ANGLE_RATIO = Math.PI / 180; constant FULL_ANGLE (line 145) | const FULL_ANGLE = 360; FILE: src/js/utils/date-utils.js constant NO_OF_YEAR_MONTHS (line 3) | const NO_OF_YEAR_MONTHS = 12; constant NO_OF_DAYS_IN_WEEK (line 4) | const NO_OF_DAYS_IN_WEEK = 7; constant DAYS_IN_YEAR (line 5) | const DAYS_IN_YEAR = 375; constant NO_OF_MILLIS (line 6) | const NO_OF_MILLIS = 1000; constant SEC_IN_DAY (line 7) | const SEC_IN_DAY = 86400; constant MONTH_NAMES (line 9) | const MONTH_NAMES = [ constant MONTH_NAMES_SHORT (line 23) | const MONTH_NAMES_SHORT = [ constant DAY_NAMES_SHORT (line 38) | const DAY_NAMES_SHORT = [ constant DAY_NAMES (line 47) | const DAY_NAMES = [ function treatAsUtc (line 58) | function treatAsUtc(date) { function toMidnightUTC (line 64) | function toMidnightUTC(date) { function getYyyyMmDd (line 70) | function getYyyyMmDd(date) { function clone (line 80) | function clone(date) { function timestampSec (line 84) | function timestampSec(date) { function timestampToMidnight (line 88) | function timestampToMidnight(timestamp, roundAhead = false) { function getWeeksBetween (line 98) | function getWeeksBetween(startDate, endDate) { function getDaysBetween (line 103) | function getDaysBetween(startDate, endDate) { function areInSameMonth (line 108) | function areInSameMonth(startDate, endDate) { function getMonthName (line 115) | function getMonthName(i, short = false) { function getLastDateInMonth (line 120) | function getLastDateInMonth(month, year) { function setDayToSunday (line 125) | function setDayToSunday(date) { function addDays (line 135) | function addDays(date, numberOfDays) { FILE: src/js/utils/dom.js function $ (line 1) | function $(expr, con) { function findNodeIndex (line 7) | function findNodeIndex(node) { function getOffset (line 44) | function getOffset(element) { function isHidden (line 62) | function isHidden(el) { function isElementInViewport (line 66) | function isElementInViewport(el) { function getElementContentWidth (line 82) | function getElementContentWidth(element) { function bind (line 90) | function bind(element, o) { function unbind (line 102) | function unbind(element, o) { function fire (line 114) | function fire(target, type, properties) { function forEachNode (line 127) | function forEachNode(nodeList, callback, scope) { function activate (line 134) | function activate( FILE: src/js/utils/draw-utils.js function getBarHeightAndYAttr (line 3) | function getBarHeightAndYAttr(yTop, zeroLine) { function equilizeNoOfElements (line 16) | function equilizeNoOfElements( function truncateString (line 30) | function truncateString(txt, len) { function shortenLargeNumber (line 41) | function shortenLargeNumber(label) { function getSplineCurvePointsStr (line 61) | function getSplineCurvePointsStr(xList, yList) { FILE: src/js/utils/draw.js constant AXIS_TICK_LENGTH (line 13) | const AXIS_TICK_LENGTH = 6; constant LABEL_MARGIN (line 14) | const LABEL_MARGIN = 4; constant LABEL_WIDTH (line 15) | const LABEL_WIDTH = 25; constant TOTAL_PADDING (line 16) | const TOTAL_PADDING = 120; constant LABEL_MAX_CHARS (line 17) | const LABEL_MAX_CHARS = 18; constant FONT_SIZE (line 18) | const FONT_SIZE = 10; constant BASE_LINE_COLOR (line 19) | const BASE_LINE_COLOR = "#E2E6E9"; function $ (line 21) | function $(expr, con) { function createSVG (line 27) | function createSVG(tag, o) { function renderVerticalGradient (line 60) | function renderVerticalGradient(svgDefElem, gradientId) { function setGradientStop (line 71) | function setGradientStop(gradElem, offset, color, opacity) { function makeSVGContainer (line 80) | function makeSVGContainer(parent, className, width, height) { function makeSVGDefs (line 89) | function makeSVGDefs(svgContainer) { function makeSVGGroup (line 95) | function makeSVGGroup(className, transform = "", parent = undefined) { function wrapInSVGGroup (line 104) | function wrapInSVGGroup(elements, className = "") { function makePath (line 112) | function makePath( function makeArcPathStr (line 130) | function makeArcPathStr( function makeCircleStr (line 152) | function makeCircleStr( function makeArcStrokePathStr (line 178) | function makeArcStrokePathStr( function makeStrokeCircleStr (line 200) | function makeStrokeCircleStr( function makeGradient (line 226) | function makeGradient(svgDefElem, color, lighter = false) { function rightRoundedBar (line 246) | function rightRoundedBar(x, width, height) { function leftRoundedBar (line 254) | function leftRoundedBar(x, width, height) { function percentageBar (line 263) | function percentageBar( function heatSquare (line 294) | function heatSquare( function legendDot (line 320) | function legendDot( function makeText (line 382) | function makeText(className, x, y, content, options = {}) { function makeVertLine (line 400) | function makeVertLine(x, label, y1, y2, options = {}) { function makeHoriLine (line 432) | function makeHoriLine(y, label, x1, x2, options = {}) { function generateAxisLabel (line 489) | function generateAxisLabel(options) { function yLine (line 530) | function yLine(y, label, width, options = {}) { function xLine (line 567) | function xLine(x, label, height, options = {}) { function yMarker (line 603) | function yMarker(y, label, width, options = {}) { function yRegion (line 634) | function yRegion(y1, y2, width, label, options = {}) { function datasetBar (line 678) | function datasetBar( function datasetDot (line 760) | function datasetDot(x, y, radius, color, label = "", index = 0) { function getPaths (line 798) | function getPaths(xList, yList, color, options = {}, meta = {}) { FILE: src/js/utils/export.js function downloadFile (line 4) | function downloadFile(filename, data) { function prepareForExport (line 19) | function prepareForExport(svg) { FILE: src/js/utils/helpers.js function floatTwo (line 7) | function floatTwo(d) { function arraysEqual (line 16) | function arraysEqual(arr1, arr2) { function shuffle (line 29) | function shuffle(array) { function fillArray (line 49) | function fillArray(array, count, element, start = false) { function getStringWidth (line 63) | function getStringWidth(string, charWidth) { function bindChange (line 67) | function bindChange(obj, getFn, setFn) { function getRandomBias (line 81) | function getRandomBias(min, max, bias, influence) { function getPositionByAngle (line 89) | function getPositionByAngle(angle, radius) { function isValidNumber (line 101) | function isValidNumber(candidate, nonNegative = false) { function round (line 113) | function round(d) { function deepClone (line 123) | function deepClone(candidate) { FILE: src/js/utils/intervals.js function normalize (line 3) | function normalize(x) { function getChartRangeIntervals (line 26) | function getChartRangeIntervals(max, min = 0) { function getChartIntervals (line 64) | function getChartIntervals(maxValue, minValue = 0) { function calcChartIntervals (line 84) | function calcChartIntervals(values, withMinimum = true, overrideCeiling=... function getZeroIndex (line 172) | function getZeroIndex(yPts) { function getRealIntervals (line 193) | function getRealIntervals(max, noOfIntervals, min = 0, asc = 1) { function getIntervalSize (line 205) | function getIntervalSize(orderedArray) { function getValueRange (line 209) | function getValueRange(orderedArray) { function scale (line 213) | function scale(val, yAxis) { function isInRange (line 217) | function isInRange(val, min, max) { function isInRange2D (line 221) | function isInRange2D(coord, minCoord, maxCoord) { function getClosestInArray (line 228) | function getClosestInArray(goal, arr, index = false) { function calcDistribution (line 236) | function calcDistribution(values, distributionSize) { function getMaxCheckpoint (line 253) | function getMaxCheckpoint(value, distribution) {