Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartjs/Chart.js
/ functions
Functions
1,573 in github.com/chartjs/Chart.js
⨍
Functions
1,573
◇
Types & classes
306
↓ 1 callers
Method
addElements
()
src/core/core.datasetController.js:406
↓ 1 callers
Function
addIfFound
(set, obj, key)
src/core/core.config.js:243
↓ 1 callers
Function
addIfLabel
(labels, raw, index)
src/scales/scale.category.js:22
↓ 1 callers
Function
addItem
(distance: number, element: InteractionElement, datasetIndex: number, index: number)
src/core/core.interaction.ts:249
↓ 1 callers
Function
addListener
(node, type, listener)
src/platform/platform.dom.js:97
↓ 1 callers
Method
addPlugins
(...args: ChartComponentLike[])
src/types/index.ts:1188
↓ 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.ts:1189
↓ 1 callers
Function
addScopes
( set: Set<AnyObject>, parentScopes: AnyObject[], key: ResolverObjectKey, parentFallback: ResolverObje
src/helpers/helpers.config.ts:313
↓ 1 callers
Function
addScopesFromKey
( set: Set<AnyObject>, allScopes: AnyObject[], key: ResolverObjectKey, fallback: ResolverObjectKey,
src/helpers/helpers.config.ts:368
↓ 1 callers
Function
addStyle
(s: number, e: number, l: boolean, st: AnyObject)
src/helpers/helpers.segment.ts:302
↓ 1 callers
Function
addTick
* Adds a time to the ascending list of tick timestamps. * @param {number[]} ticks * @param {number} time - not less than the times added before * @
src/scales/scale.time.js:140
↓ 1 callers
Method
adjustHitBoxes
()
src/plugins/plugin.legend.ts:444
↓ 1 callers
Method
afterAutoSkip
()
src/core/core.scale.js:632
↓ 1 callers
Method
afterBuildTicks
()
src/core/core.scale.js:563
↓ 1 callers
Method
afterCalculateLabelRotation
()
src/core/core.scale.js:629
↓ 1 callers
Method
afterDataLimits
()
src/core/core.scale.js:549
↓ 1 callers
Function
afterEvent
(chart, args)
src/plugins/plugin.legend.ts:821
↓ 1 callers
Method
afterFit
()
src/core/core.scale.js:757
↓ 1 callers
Method
afterSetDimensions
()
src/core/core.scale.js:535
↓ 1 callers
Method
afterTickToLabelConversion
()
src/core/core.scale.js:582
↓ 1 callers
Method
afterUpdate
()
src/core/core.scale.js:505
↓ 1 callers
Function
alignX
(size, xAlign)
src/plugins/plugin.tooltip.js:314
↓ 1 callers
Function
alignY
(size, yAlign, paddingAndSize)
src/plugins/plugin.tooltip.js:324
↓ 1 callers
Function
allPlugins
(config: Config)
src/core/core.plugins.ts:117
↓ 1 callers
Function
almostWhole
(x: number, epsilon: number)
src/helpers/helpers.math.ts:71
↓ 1 callers
Function
animationsExpectations
(anims, props)
test/specs/core.datasetController.spec.js:1338
↓ 1 callers
Function
applyItemTextAlign
* The text alignment of an item: its own, or else the labels' one, which is * written back to the item because users read `legendItems[i].textAlign`.
src/plugins/plugin.legend.ts:141
↓ 1 callers
Function
applyNumberFormat
* Merges the user's number format over the defaults. When the format sets only one of * the fraction digit bounds, the other one follows it instead o
src/core/core.ticks.js:12
↓ 1 callers
Function
applySplice
(array, base, args)
src/helpers/helpers.collection.ts:131
↓ 1 callers
Function
assertOwnOrNew
* A key may name an own property of the node or one it does not have yet, never * one it inherits: the walk would leave the defaults through it. * @
src/core/core.defaults.ts:30
↓ 1 callers
Function
attachWithSubProxy
(scopes, context, prefixes = [''])
test/specs/helpers.config.unit.spec.js:801
↓ 1 callers
Function
awaitAll
(animations, properties)
src/core/core.animations.js:182
↓ 1 callers
Function
axisFromFirstLetter
* The axis of the first letter of the id, when the scale's type allows it: * `r` only for a type that is radial, `x` and `y` only for one that is not
src/core/core.config.js:46
↓ 1 callers
Function
axisFromType
* The axis that the scale's type gives the id: the first letter when the type * allows it, then `axis` or `position` in the defaults of the type, the
src/core/core.config.js:59
↓ 1 callers
Function
barSign
(size: number, vScale: BarScale, actualBase: number)
src/controllers/controller.bar.ts:300
↓ 1 callers
Function
baseCalls
()
test/specs/controller.bar.spec.js:89
↓ 1 callers
Method
beforeBuildTicks
()
src/core/core.scale.js:554
↓ 1 callers
Method
beforeCalculateLabelRotation
()
src/core/core.scale.js:588
↓ 1 callers
Method
beforeDataLimits
()
src/core/core.scale.js:545
↓ 1 callers
Method
beforeFit
()
src/core/core.scale.js:636
↓ 1 callers
Method
beforeSetDimensions
()
src/core/core.scale.js:511
↓ 1 callers
Method
beforeTickToLabelConversion
()
src/core/core.scale.js:567
↓ 1 callers
Method
beforeUpdate
()
src/core/core.scale.js:381
↓ 1 callers
Function
binarySearch
* Helper function to do binary search when possible * @param metaset - the dataset meta * @param axis - the axis mode. x|y|xy|r * @param value - th
src/core/core.interaction.ts:45
↓ 1 callers
Method
bindResponsiveEvents
* @private
src/core/core.controller.js:1080
↓ 1 callers
Method
bindUserEvents
* @private
src/core/core.controller.js:1059
↓ 1 callers
Function
borderAlphaAtMidHide
(line)
test/specs/core.controller.spec.js:3033
↓ 1 callers
Function
borderProps
(properties: BarProperties)
src/controllers/controller.bar.ts:307
↓ 1 callers
Function
boundingRects
(bar: BarElement)
src/elements/element.bar.ts:83
↓ 1 callers
Function
buildLayoutBoxes
(boxes: LayoutBoxItem[])
src/core/core.layouts.ts:133
↓ 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:425
↓ 1 callers
Method
buildOrUpdateElements
(resetNewElements)
src/core/core.datasetController.js:416
↓ 1 callers
Method
buildOrUpdateScales
* Builds a map of scale ID to scale object for future lookup.
src/core/core.controller.js:325
↓ 1 callers
Function
buildPointLabelItems
(scale, labelSizes, padding)
src/scales/scale.radialLinear.js:176
↓ 1 callers
Function
buildStacks
(layouts: LayoutBox[])
src/core/core.layouts.ts:96
↓ 1 callers
Method
buildTicks
()
src/types/index.ts:1406
↓ 1 callers
Method
buildTicks
* @return {object[]} the ticks
src/core/core.scale.js:560
↓ 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:108
↓ 1 callers
Method
calculateLabelRotation
()
src/core/core.scale.js:591
↓ 1 callers
Function
calculateSpacing
* @param {number[]} majorIndices * @param {Tick[]} ticks * @param {number} ticksLimit
src/core/core.scale.autoskip.js:155
↓ 1 callers
Method
calculateTotal
()
src/controllers/controller.doughnut.js:296
↓ 1 callers
Function
callback
( fn: T | undefined, args: unknown[], thisArg?: TA )
src/helpers/helpers.core.ts:103
↓ 1 callers
Method
callback
(label)
src/scales/scale.radialLinear.js:388
↓ 1 callers
Function
capBezierPoints
(points: SplinePoint[], area: ChartArea)
src/helpers/helpers.curve.ts:161
↓ 1 callers
Function
capControlPoint
(pt: number, min: number, max: number)
src/helpers/helpers.curve.ts:157
↓ 1 callers
Function
categoryLabel
* The label of the point's own category: from the index axis when it is a category axis, * else from the value axis when that one is.
src/controllers/controller.scatter.js:10
↓ 1 callers
Function
categoryLabel
* The label of the point's own category: from the index axis when it is a category axis, * else from the value axis when that one is.
src/controllers/controller.bubble.js:8
↓ 1 callers
Function
clearItemStack
(stacks, axis, datasetIndex)
src/core/core.datasetController.js:227
↓ 1 callers
Function
clipArc
(ctx: CanvasRenderingContext2D, element: ArcElement, endAngle: number)
src/elements/element.arc.ts:41
↓ 1 callers
Function
clipBounds
(ctx, scale, clip, bounds)
src/plugins/plugin.filler/filler.drawing.js:167
↓ 1 callers
Function
clipHorizontal
(ctx, target, clipX)
src/plugins/plugin.filler/filler.drawing.js:98
↓ 1 callers
Function
clipSelf
(ctx: CanvasRenderingContext2D, element: ArcElement, endAngle: number)
src/elements/element.arc.ts:7
↓ 1 callers
Function
clipToIndexBounds
(area, iScale)
src/plugins/plugin.filler/filler.drawing.js:25
↓ 1 callers
Function
clipVertical
(ctx, target, clipY)
src/plugins/plugin.filler/filler.drawing.js:68
↓ 1 callers
Function
cloneIfNotShared
(cached, shared)
src/core/core.datasetController.js:242
↓ 1 callers
Function
closest
(scale, kept)
test/specs/core.scale.autoskip.unit.spec.js:199
↓ 1 callers
Function
colorizeDefaultDataset
(dataset: ChartDataset, i: number)
src/plugins/plugin.colors.ts:35
↓ 1 callers
Function
colorizeDoughnutDataset
(dataset: ChartDataset, i: number)
src/plugins/plugin.colors.ts:42
↓ 1 callers
Function
colorizePolarAreaDataset
(dataset: ChartDataset, i: number)
src/plugins/plugin.colors.ts:48
↓ 1 callers
Function
computeBoundary
(source)
src/plugins/plugin.filler/filler.target.ts:42
↓ 1 callers
Function
computeCircularBoundary
(source)
src/plugins/plugin.filler/filler.target.ts:68
↓ 1 callers
Function
computeFitCategoryTraits
* Computes an "ideal" category based on the absolute bar thickness or, if undefined or null, * uses the smallest interval (see computeMinSampleSize)
src/controllers/controller.bar.ts:186
↓ 1 callers
Function
computeFlexCategoryTraits
* Computes an "optimal" category that globally arranges bars side by side (no gap when * percentage options are 1), based on the previous and followi
src/controllers/controller.bar.ts:214
↓ 1 callers
Function
computeLinearBoundary
(source)
src/plugins/plugin.filler/filler.target.ts:52
↓ 1 callers
Function
computeMinSampleSize
* Computes the "optimal" sample size to maintain bars equally sized while preventing overlap. * @private
src/controllers/controller.bar.ts:149
↓ 1 callers
Function
computeOuterLimit
(val)
src/elements/element.arc.ts:78
↓ 1 callers
Method
computeTickLimit
* @protected
src/scales/scale.linearbase.js:286
↓ 1 callers
Method
configure
(config)
src/core/core.animations.js:14
↓ 1 callers
Method
configure
* Merges user-supplied and default dataset-level options * @private
src/core/core.datasetController.js:450
↓ 1 callers
Method
configure
* @protected
src/core/core.scale.js:485
↓ 1 callers
Function
containsColorsDefinition
( descriptor: ColorsDescriptor )
src/plugins/plugin.colors.ts:84
↓ 1 callers
Function
containsColorsDefinitions
( descriptors: ColorsDescriptor[] | Record<string, ColorsDescriptor> )
src/plugins/plugin.colors.ts:70
↓ 1 callers
Function
containsDefaultColorsDefenitions
()
src/plugins/plugin.colors.ts:90
↓ 1 callers
Function
convertObjectDataToArray
(data, meta)
src/core/core.datasetController.js:102
↓ 1 callers
Function
countFromValues
* The number of labels that fit from the first to the last tick value. A * scale whose tick values are in another space than `_startValue` and * `_v
src/core/core.scale.autoskip.js:131
← previous
next →
501–600 of 1,573, ranked by callers