MCPcopy Create free account

hub / github.com/chartjs/Chart.js / functions

Functions1,573 in github.com/chartjs/Chart.js

↓ 1 callersMethod_columnRight
* End of a vertical legend column's text area: the next column's left edge * minus padding, or the legend's right edge for the last column. * @p
src/plugins/plugin.legend.ts:494
↓ 1 callersMethod_computeAngle
@internal
src/controllers/controller.polarArea.ts:234
↓ 1 callersMethod_computeGridLineItems
* @private
src/core/core.scale.js:1021
↓ 1 callersMethod_computeLabelArea
* @private
src/core/core.scale.js:1428
↓ 1 callersMethod_computeLabelItems
* @private
src/core/core.scale.js:1155
↓ 1 callersMethod_computeLabelSizes
* Returns {width, height, offset} objects for the first, last, widest, highest tick * labels where offset indicates the anchor point offset from the
src/core/core.scale.js:827
↓ 1 callersFunction_computeSegments
(line: LineElement, segmentOptions?: object)
src/helpers/helpers.segment.ts:261
↓ 1 callersMethod_computeTitleWidth
* @private
src/plugins/plugin.legend.ts:676
↓ 1 callersMethod_convertTicksToLabels
* @param {Tick[]} ticks * @private
src/core/core.scale.js:780
↓ 1 callersMethod_createItems
* @private
src/plugins/plugin.tooltip.js:638
↓ 1 callersMethod_deactivateDatasetElements
* In hover mode 'dataset', ends the active state of the dataset elements whose * items were all dropped. A dataset with an item still active keeps
src/core/core.controller.js:592
↓ 1 callersMethod_deactivateHidden
* Drops the hidden data from the active elements before the datasets update, so * the update resolves their normal options. Their hover style ends
src/core/core.controller.js:550
↓ 1 callersFunction_decimalPlaces
(x: number)
src/helpers/helpers.math.ts:110
↓ 1 callersFunction_decodeFill
(line: LineElement, index: number, count: number)
src/plugins/plugin.filler/filler.options.ts:40
↓ 1 callersMethod_descriptors
* @internal
src/core/core.plugins.ts:85
↓ 1 callersMethod_destroy
* @private
src/core/core.datasetController.js:364
↓ 1 callersFunction_detectPlatform
(canvas)
src/platform/index.ts:6
↓ 1 callersMethod_draw
* @private
src/plugins/plugin.legend.ts:517
↓ 1 callersMethod_drawArgs
(offset)
src/plugins/plugin.title.js:59
↓ 1 callersMethod_drawColorBox
* @private
src/plugins/plugin.tooltip.js:847
↓ 1 callersMethod_drawDataset
* Draws dataset at index unless a plugin returns `false` to the `beforeDatasetDraw` * hook, in which case, plugins will not be called on `afterDatas
src/core/core.controller.js:862
↓ 1 callersMethod_drawDatasets
* Draws all datasets unless a plugin returns `false` to the `beforeDatasetsDraw` * hook, in which case, plugins will not be called on `afterDatasets
src/core/core.controller.js:844
↓ 1 callersMethod_dropHiddenActive
* Drops the active elements whose data is hidden or no longer exists, after the chart * updated its datasets, as the chart does with its own. The t
src/plugins/plugin.tooltip.js:1156
↓ 1 callersMethod_exec
* @internal
src/core/core.registry.ts:116
↓ 1 callersFunction_factorize
(value: number)
src/helpers/helpers.math.ts:41
↓ 1 callersMethod_fitCols
* @param maxHeight - the height of the legend, title included, that a column may take with its padding * @private
src/plugins/plugin.legend.ts:398
↓ 1 callersMethod_fitRows
* @param maxWidth - the width a row may take, its outer padding included * @private
src/plugins/plugin.legend.ts:348
↓ 1 callersMethod_generate
* Generates a maximum of `capacity` timestamps between min and max, rounded to the * `minor` unit using the given scale time `options`. * Importan
src/scales/scale.time.js:456
↓ 1 callersMethod_getActiveElements
* @param {ChartEvent} e - The event * @param {import('../types/index.js').ActiveElement[]} lastActive - Previously active elements * @param {boo
src/core/core.controller.js:1374
↓ 1 callersMethod_getActiveElements
* Helper for determining the active elements for event * @param {ChartEvent} e - The event to handle * @param {InteractionItem[]} lastActive - Pre
src/plugins/plugin.tooltip.js:1266
↓ 1 callersMethod_getAxisCount
* @internal
src/controllers/controller.bar.ts:606
↓ 1 callersFunction_getEdge
(a, b, prop, fn)
src/plugins/plugin.filler/filler.segment.js:94
↓ 1 callersFunction_getInterpolationMethod
* @private
src/elements/element.line.ts:207
↓ 1 callersFunction_getKeyResolver
(key: string)
src/helpers/helpers.core.ts:365
↓ 1 callersMethod_getLabelBounds
* @private
src/scales/scale.time.js:359
↓ 1 callersMethod_getLabelSize
* @param {string} label * @return {{w:number, h:number}} * @private
src/scales/scale.time.js:600
↓ 1 callersMethod_getOtherScale
* @private
src/core/core.datasetController.js:350
↓ 1 callersMethod_getRegistryForType
* @internal
src/core/core.registry.ts:126
↓ 1 callersMethod_getRotationExtents
* Get the maximal rotation & circumference extents * across all visible datasets.
src/controllers/controller.doughnut.js:187
↓ 1 callersMethod_getRuler
* @internal
src/controllers/controller.bar.ts:658
↓ 1 callersFunction_getTarget
(source)
src/plugins/plugin.filler/filler.target.ts:12
↓ 1 callersMethod_getTarget
()
src/helpers/helpers.config.types.ts:20
↓ 1 callersFunction_getTargetPixel
(fill: FillTarget | ComplexFillTarget, scale: Scale)
src/plugins/plugin.filler/filler.options.ts:68
↓ 1 callersFunction_getTargetValue
( fill: FillTarget | ComplexFillTarget, scale: Scale, startValue: number )
src/plugins/plugin.filler/filler.options.ts:82
↓ 1 callersMethod_getTimestampsForTable
* Returns all timestamps * @return {number[]} * @private
src/scales/scale.timeseries.js:137
↓ 1 callersMethod_getUniformDataChanges
* @private
src/core/core.controller.js:660
↓ 1 callersMethod_getVisibleDatasetWeightTotal
* Returns the sum of all visible data set weights. * @private
src/controllers/controller.doughnut.js:407
↓ 1 callersMethod_getXAxisLabelAlignment
()
src/core/core.scale.js:1336
↓ 1 callersMethod_getYAxisLabelAlignment
(tl)
src/core/core.scale.js:1357
↓ 1 callersMethod_handleMargins
* Handle margins and padding interactions * @private
src/core/core.scale.js:748
↓ 1 callersMethod_initialize
* @private
src/core/core.controller.js:241
↓ 1 callersMethod_insertElements
* @private
src/core/core.datasetController.js:1079
↓ 1 callersFunction_int16Range
(value: number)
src/helpers/helpers.math.ts:197
↓ 1 callersFunction_isCached
(target: AnyObject, prop: string)
src/helpers/helpers.config.ts:226
↓ 1 callersMethod_isDataVisible
* Whether the data item at `index` is shown. A hidden data item cannot be active. * Controllers that hide data by `chart.toggleDataVisibility` also
src/core/core.datasetController.js:768
↓ 1 callersFunction_longestText
( ctx: CanvasRenderingContext2D, font: string, arrayOfThings: Things, cache?: {data?: Record<string, n
src/helpers/helpers.canvas.ts:64
↓ 1 callersMethod_maxDigits
* @protected
src/core/core.scale.js:1713
↓ 1 callersFunction_merger
(key: string, target: AnyObject, source: AnyObject, options: AnyObject)
src/helpers/helpers.core.ts:221
↓ 1 callersMethod_notifyStateChanges
* @internal
src/core/core.plugins.ts:108
↓ 1 callersFunction_pointsFromSegments
(boundary, line)
src/plugins/plugin.filler/filler.segment.js:65
↓ 1 callersMethod_refresh
* @private
src/core/core.animator.js:38
↓ 1 callersMethod_removeElements
* @private
src/core/core.datasetController.js:1119
↓ 1 callersMethod_removeUnreferencedMetasets
* @private
src/core/core.controller.js:412
↓ 1 callersMethod_replayActive
* Replays the last event from before the update, or sets the hover styles on the active elements. * @private
src/core/core.controller.js:609
↓ 1 callersMethod_resetElements
* Reset the elements of all datasets * @private
src/core/core.controller.js:471
↓ 1 callersMethod_resetElements
* Resets the given elements that are still in the dataset, in contiguous runs. * @private
src/core/core.datasetController.js:1058
↓ 1 callersFunction_resolveArray
( prop: string, value: unknown[], target: ContextCache, isIndexable: (key: string) => boolean )
src/helpers/helpers.config.ts:277
↓ 1 callersMethod_resolveBase
* Resolves `base` for one bar. An array or a function gives each bar its own base, * resolved with the bar's context. Any other value is shared by a
src/controllers/controller.bar.ts:691
↓ 1 callersFunction_resolveScriptable
( prop: string, getValue: (ctx: AnyObject, sub: AnyObject) => unknown, target: ContextCache, receiver:
src/helpers/helpers.config.ts:257
↓ 1 callersFunction_resolveTarget
(sources, index, propagate)
src/plugins/plugin.filler/filler.options.ts:9
↓ 1 callersFunction_resolveWithContext
( target: ContextCache, prop: string, receiver: AnyObject )
src/helpers/helpers.config.ts:235
↓ 1 callersFunction_resolveWithPrefixes
( prop: string, prefixes: string[], scopes: AnyObject[], proxy: ResolverProxy )
src/helpers/helpers.config.ts:398
↓ 1 callersMethod_resyncElements
* @private
src/core/core.datasetController.js:1020
↓ 1 callersFunction_rlookupByKey
( table: Record<string, number>[], key: string, value: number )
src/helpers/helpers.collection.ts:78
↓ 1 callersFunction_segments
(line, target, property)
src/plugins/plugin.filler/filler.segment.js:3
↓ 1 callersFunction_splitKey
(key: string)
src/helpers/helpers.core.ts:349
↓ 1 callersFunction_steppedInterpolation
( p1: Point, p2: Point, t: number, mode: 'middle' | 'after' | unknown )
src/helpers/helpers.interpolation.ts:16
↓ 1 callersMethod_tickSize
* @return {number} * @private
src/core/core.scale.js:985
↓ 1 callersMethod_update
* @private
src/core/core.datasetController.js:717
↓ 1 callersMethod_updateAnimationTarget
* Update x/y animation targets when _active elements are animating too * @private
src/plugins/plugin.tooltip.js:1064
↓ 1 callersFunction_updateBezierControlPoints
( points: SplinePoint[], options, area: ChartArea, loop: boolean, indexAxis: 'x' | 'y' )
src/helpers/helpers.curve.ts:186
↓ 1 callersMethod_updateDataset
* Updates dataset at index unless a plugin returns `false` to the `beforeDatasetUpdate` * hook, in which case, plugins will not be called on `afterD
src/core/core.controller.js:748
↓ 1 callersMethod_updateDatasets
* Updates all datasets unless a plugin returns `false` to the `beforeDatasetsUpdate` * hook, in which case, plugins will not be called on `afterData
src/core/core.controller.js:727
↓ 1 callersMethod_updateHiddenIndices
* @private
src/core/core.controller.js:648
↓ 1 callersMethod_updateLayout
* Updates the chart layout unless a plugin returns `false` to the `beforeLayout` * hook, in which case, plugins will not be called on `afterLayout`.
src/core/core.controller.js:690
↓ 1 callersMethod_updateMetasets
* @private
src/core/core.controller.js:394
↓ 1 callersMethod_updateRadius
@internal
src/controllers/controller.polarArea.ts:151
↓ 1 callersMethod_updateScales
* @private
src/core/core.controller.js:621
↓ 1 callersMethod_valueToAxis
* A tick value in the space of `_startValue` and `_valueRange`, decades. * @param {number} value * @private
src/scales/scale.logarithmic.js:216
↓ 1 callersMethod_willRender
* Determine if the tooltip will draw anything * @returns {boolean} True if the tooltip will render
src/plugins/plugin.tooltip.js:1094
↓ 1 callersFunctionacquireBarChart
(data, y, interaction)
test/specs/core.interaction.spec.js:914
↓ 1 callersFunctionacquireChartWithCallback
(labels, callback, state)
test/specs/core.scale.spec.js:466
↓ 1 callersMethodacquireContext
* @param {HTMLCanvasElement} canvas * @param {number} [aspectRatio] * @return {CanvasRenderingContext2D|null}
src/platform/platform.dom.js:267
↓ 1 callersFunctionacquireCutOffChart
(position)
test/specs/plugin.tooltip.spec.js:1310
↓ 1 callersFunctionacquireDatasetModeChart
(options, plugins = [])
test/specs/core.controller.spec.js:3272
↓ 1 callersFunctionacquireLineChart
(onClick)
test/specs/core.controller.spec.js:3007
↓ 1 callersFunctionacquirePie
(legendOnHover)
test/specs/plugin.tooltip.spec.js:2088
↓ 1 callersFunctionacquirePointChart
()
test/specs/core.controller.spec.js:3120
↓ 1 callersMethodaddControllers
(...args: ChartComponentLike[])
src/types/index.ts:1186
↓ 1 callersMethodaddElements
()
src/controllers/controller.scatter.js:111
← previousnext →401–500 of 1,573, ranked by callers