Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartjs/Chart.js
/ functions
Functions
1,409 in github.com/chartjs/Chart.js
⨍
Functions
1,409
◇
Types & classes
268
↓ 1 callers
Function
_getTargetPixel
(fill, scale)
src/plugins/plugin.filler/filler.options.js:80
↓ 1 callers
Function
_getTargetValue
(fill, scale, startValue)
src/plugins/plugin.filler/filler.options.js:101
↓ 1 callers
Method
_getTimestampsForTable
* Returns all timestamps * @return {number[]} * @private
src/scales/scale.timeseries.js:137
↓ 1 callers
Method
_getUniformDataChanges
* @private
src/core/core.controller.js:581
↓ 1 callers
Method
_getVisibleDatasetWeightTotal
* Returns the sum of all visible data set weights. * @private
src/controllers/controller.doughnut.js:399
↓ 1 callers
Method
_getXAxisLabelAlignment
()
src/core/core.scale.js:1331
↓ 1 callers
Method
_getYAxisLabelAlignment
(tl)
src/core/core.scale.js:1352
↓ 1 callers
Method
_handleMargins
* Handle margins and padding interactions * @private
src/core/core.scale.js:743
↓ 1 callers
Method
_initialize
* @private
src/core/core.controller.js:236
↓ 1 callers
Method
_insertElements
* @private
src/core/core.datasetController.js:994
↓ 1 callers
Function
_int16Range
(value: number)
src/helpers/helpers.math.ts:194
↓ 1 callers
Function
_isClickEvent
(e: ChartEvent)
src/helpers/helpers.core.ts:414
↓ 1 callers
Function
_longestText
( ctx: CanvasRenderingContext2D, font: string, arrayOfThings: Things, cache?: {data?: Record<string, n
src/helpers/helpers.canvas.ts:64
↓ 1 callers
Method
_maxDigits
* @protected
src/core/core.scale.js:1708
↓ 1 callers
Method
_notifyStateChanges
* @param {Chart} chart * @private
src/core/core.plugins.js:113
↓ 1 callers
Function
_pointsFromSegments
(boundary, line)
src/plugins/plugin.filler/filler.segment.js:65
↓ 1 callers
Method
_refresh
* @private
src/core/core.animator.js:38
↓ 1 callers
Method
_removeElements
* @private
src/core/core.datasetController.js:1027
↓ 1 callers
Method
_removeUnreferencedMetasets
* @private
src/core/core.controller.js:403
↓ 1 callers
Method
_resetElements
* Reset the elements of all datasets * @private
src/core/core.controller.js:461
↓ 1 callers
Function
_resolveArray
( prop: string, value: unknown[], target: ContextCache, isIndexable: (key: string) => boolean )
src/helpers/helpers.config.ts:275
↓ 1 callers
Function
_resolveScriptable
( prop: string, getValue: (ctx: AnyObject, sub: AnyObject) => unknown, target: ContextCache, receiver:
src/helpers/helpers.config.ts:255
↓ 1 callers
Function
_resolveTarget
(sources, index, propagate)
src/plugins/plugin.filler/filler.options.js:10
↓ 1 callers
Function
_resolveWithContext
( target: ContextCache, prop: string, receiver: AnyObject )
src/helpers/helpers.config.ts:233
↓ 1 callers
Function
_resolveWithPrefixes
( prop: string, prefixes: string[], scopes: AnyObject[], proxy: ResolverProxy )
src/helpers/helpers.config.ts:390
↓ 1 callers
Method
_resyncElements
* @private
src/core/core.datasetController.js:962
↓ 1 callers
Function
_rlookupByKey
( table: Record<string, number>[], key: string, value: number )
src/helpers/helpers.collection.ts:70
↓ 1 callers
Function
_segments
(line, target, property)
src/plugins/plugin.filler/filler.segment.js:3
↓ 1 callers
Function
_splitKey
(key: string)
src/helpers/helpers.core.ts:347
↓ 1 callers
Function
_steppedInterpolation
( p1: Point, p2: Point, t: number, mode: 'middle' | 'after' | unknown )
src/helpers/helpers.interpolation.ts:16
↓ 1 callers
Function
_textX
(align: 'left' | 'right' | 'center', left: number, right: number, rtl: boolean)
src/helpers/helpers.extras.ts:79
↓ 1 callers
Method
_tickSize
* @return {number} * @private
src/core/core.scale.js:977
↓ 1 callers
Method
_update
* @private
src/core/core.datasetController.js:701
↓ 1 callers
Method
_updateAnimationTarget
* Update x/y animation targets when _active elements are animating too * @private
src/plugins/plugin.tooltip.js:1006
↓ 1 callers
Function
_updateBezierControlPoints
( points: SplinePoint[], options, area: ChartArea, loop: boolean, indexAxis: 'x' | 'y' )
src/helpers/helpers.curve.ts:186
↓ 1 callers
Method
_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:669
↓ 1 callers
Method
_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:648
↓ 1 callers
Method
_updateHiddenIndices
* @private
src/core/core.controller.js:569
↓ 1 callers
Method
_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:611
↓ 1 callers
Method
_updateMetasets
* @private
src/core/core.controller.js:385
↓ 1 callers
Method
_updateRadius
* @private
src/controllers/controller.polarArea.js:147
↓ 1 callers
Method
_updateScales
* @private
src/core/core.controller.js:542
↓ 1 callers
Method
_willRender
* Determine if the tooltip will draw anything * @returns {boolean} True if the tooltip will render
src/plugins/plugin.tooltip.js:1036
↓ 1 callers
Method
acquireContext
* @param {HTMLCanvasElement} canvas * @param {number} [aspectRatio] * @return {CanvasRenderingContext2D|null}
src/platform/platform.dom.js:267
↓ 1 callers
Method
addControllers
(...args: ChartComponentLike[])
src/types/index.d.ts:1181
↓ 1 callers
Method
addElements
()
src/controllers/controller.scatter.js:101
↓ 1 callers
Method
addElements
()
src/core/core.datasetController.js:394
↓ 1 callers
Function
addIfFound
(set, obj, key)
src/core/core.config.js:151
↓ 1 callers
Function
addIfString
(labels, raw, index, addedLabels)
src/scales/scale.category.js:4
↓ 1 callers
Function
addListener
(node, type, listener)
src/platform/platform.dom.js:97
↓ 1 callers
Method
addPlugins
(...args: ChartComponentLike[])
src/types/index.d.ts:1183
↓ 1 callers
Function
addPointsBelow
* @param {PointElement[]} points * @param {PointElement} sourcePoint * @param {LineElement[]} linesBelow
src/plugins/plugin.filler/filler.target.stack.js:58
↓ 1 callers
Method
addScales
(...args: ChartComponentLike[])
src/types/index.d.ts:1184
↓ 1 callers
Function
addScopes
( set: Set<AnyObject>, parentScopes: AnyObject[], key: ResolverObjectKey, parentFallback: ResolverObje
src/helpers/helpers.config.ts:309
↓ 1 callers
Function
addScopesFromKey
( set: Set<AnyObject>, allScopes: AnyObject[], key: ResolverObjectKey, fallback: ResolverObjectKey,
src/helpers/helpers.config.ts:360
↓ 1 callers
Function
addStyle
(s, e, l, st)
src/helpers/helpers.segment.js:289
↓ 1 callers
Function
addTick
* @param {object} ticks * @param {number} time * @param {number[]} [timestamps] - if defined, snap to these timestamps
src/scales/scale.time.js:139
↓ 1 callers
Method
adjustHitBoxes
()
src/plugins/plugin.legend.js:230
↓ 1 callers
Method
afterAutoSkip
()
src/core/core.scale.js:627
↓ 1 callers
Method
afterBuildTicks
()
src/core/core.scale.js:558
↓ 1 callers
Method
afterCalculateLabelRotation
()
src/core/core.scale.js:624
↓ 1 callers
Method
afterDataLimits
()
src/core/core.scale.js:544
↓ 1 callers
Method
afterFit
()
src/core/core.scale.js:752
↓ 1 callers
Method
afterSetDimensions
()
src/core/core.scale.js:530
↓ 1 callers
Method
afterTickToLabelConversion
()
src/core/core.scale.js:577
↓ 1 callers
Method
afterUpdate
()
src/core/core.scale.js:500
↓ 1 callers
Function
alignX
(size, xAlign)
src/plugins/plugin.tooltip.js:278
↓ 1 callers
Function
alignY
(size, yAlign, paddingAndSize)
src/plugins/plugin.tooltip.js:288
↓ 1 callers
Function
allPlugins
* @param {import('./core.config.js').default} config
src/core/core.plugins.js:125
↓ 1 callers
Function
almostWhole
(x: number, epsilon: number)
src/helpers/helpers.math.ts:71
↓ 1 callers
Function
animationsExpectations
(anims, props)
test/specs/core.datasetController.tests.js:1069
↓ 1 callers
Function
autoSkip
(scale, ticks)
src/core/core.scale.autoskip.js:17
↓ 1 callers
Function
awaitAll
(animations, properties)
src/core/core.animations.js:134
↓ 1 callers
Function
axisFromPosition
(position)
src/core/core.config.js:31
↓ 1 callers
Function
barSign
(size, vScale, actualBase)
src/controllers/controller.bar.js:174
↓ 1 callers
Method
beforeBuildTicks
()
src/core/core.scale.js:549
↓ 1 callers
Method
beforeCalculateLabelRotation
()
src/core/core.scale.js:583
↓ 1 callers
Method
beforeDataLimits
()
src/core/core.scale.js:540
↓ 1 callers
Method
beforeFit
()
src/core/core.scale.js:631
↓ 1 callers
Method
beforeSetDimensions
()
src/core/core.scale.js:506
↓ 1 callers
Method
beforeTickToLabelConversion
()
src/core/core.scale.js:562
↓ 1 callers
Method
beforeUpdate
()
src/core/core.scale.js:381
↓ 1 callers
Function
binarySearch
* Helper function to do binary search when possible * @param {object} metaset - the dataset meta * @param {string} axis - the axis mode. x|y|xy|r *
src/core/core.interaction.js:22
↓ 1 callers
Method
bindResponsiveEvents
* @private
src/core/core.controller.js:997
↓ 1 callers
Method
bindUserEvents
* @private
src/core/core.controller.js:976
↓ 1 callers
Function
borderProps
(properties)
src/controllers/controller.bar.js:181
↓ 1 callers
Function
boundingRects
(bar)
src/elements/element.bar.js:73
↓ 1 callers
Function
buildLayoutBoxes
(boxes)
src/core/core.layouts.js:85
↓ 1 callers
Method
buildLookupTable
* Returns an array of {time, pos} objects used to interpolate a specific `time` or position * (`pos`) on the scale, by searching entries before and
src/scales/scale.timeseries.js:79
↓ 1 callers
Method
buildOrUpdateControllers
()
src/core/core.controller.js:415
↓ 1 callers
Method
buildOrUpdateElements
(resetNewElements)
src/core/core.datasetController.js:404
↓ 1 callers
Method
buildOrUpdateScales
* Builds a map of scale ID to scale object for future lookup.
src/core/core.controller.js:316
↓ 1 callers
Function
buildPointLabelItems
(scale, labelSizes, padding)
src/scales/scale.radialLinear.js:176
↓ 1 callers
Function
buildStacks
(layouts)
src/core/core.layouts.js:48
↓ 1 callers
Method
buildTicks
* @return {object[]} the ticks
src/core/core.scale.js:555
↓ 1 callers
Function
calcMax
(angle, a, b)
src/controllers/controller.doughnut.js:23
↓ 1 callers
Function
calcMin
(angle, a, b)
src/controllers/controller.doughnut.js:24
↓ 1 callers
Method
calculateCircumference
(value)
src/controllers/controller.doughnut.js:312
↓ 1 callers
Function
calculateDelta
(tickValue, ticks)
src/core/core.ticks.js:85
↓ 1 callers
Function
calculateItemHeight
(_itemHeight, legendItem, fontLineHeight)
src/plugins/plugin.legend.js:569
← previous
next →
401–500 of 1,409, ranked by callers