MCPcopy Create free account

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

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

↓ 1 callersMethodaddElements
()
src/core/core.datasetController.js:406
↓ 1 callersFunctionaddIfFound
(set, obj, key)
src/core/core.config.js:243
↓ 1 callersFunctionaddIfLabel
(labels, raw, index)
src/scales/scale.category.js:22
↓ 1 callersFunctionaddItem
(distance: number, element: InteractionElement, datasetIndex: number, index: number)
src/core/core.interaction.ts:249
↓ 1 callersFunctionaddListener
(node, type, listener)
src/platform/platform.dom.js:97
↓ 1 callersMethodaddPlugins
(...args: ChartComponentLike[])
src/types/index.ts:1188
↓ 1 callersFunctionaddPointsBelow
* @param {PointElement[]} points * @param {PointElement} sourcePoint * @param {LineElement[]} linesBelow
src/plugins/plugin.filler/filler.target.stack.js:58
↓ 1 callersMethodaddScales
(...args: ChartComponentLike[])
src/types/index.ts:1189
↓ 1 callersFunctionaddScopes
( set: Set<AnyObject>, parentScopes: AnyObject[], key: ResolverObjectKey, parentFallback: ResolverObje
src/helpers/helpers.config.ts:313
↓ 1 callersFunctionaddScopesFromKey
( set: Set<AnyObject>, allScopes: AnyObject[], key: ResolverObjectKey, fallback: ResolverObjectKey,
src/helpers/helpers.config.ts:368
↓ 1 callersFunctionaddStyle
(s: number, e: number, l: boolean, st: AnyObject)
src/helpers/helpers.segment.ts:302
↓ 1 callersFunctionaddTick
* 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 callersMethodadjustHitBoxes
()
src/plugins/plugin.legend.ts:444
↓ 1 callersMethodafterAutoSkip
()
src/core/core.scale.js:632
↓ 1 callersMethodafterBuildTicks
()
src/core/core.scale.js:563
↓ 1 callersMethodafterCalculateLabelRotation
()
src/core/core.scale.js:629
↓ 1 callersMethodafterDataLimits
()
src/core/core.scale.js:549
↓ 1 callersFunctionafterEvent
(chart, args)
src/plugins/plugin.legend.ts:821
↓ 1 callersMethodafterFit
()
src/core/core.scale.js:757
↓ 1 callersMethodafterSetDimensions
()
src/core/core.scale.js:535
↓ 1 callersMethodafterTickToLabelConversion
()
src/core/core.scale.js:582
↓ 1 callersMethodafterUpdate
()
src/core/core.scale.js:505
↓ 1 callersFunctionalignX
(size, xAlign)
src/plugins/plugin.tooltip.js:314
↓ 1 callersFunctionalignY
(size, yAlign, paddingAndSize)
src/plugins/plugin.tooltip.js:324
↓ 1 callersFunctionallPlugins
(config: Config)
src/core/core.plugins.ts:117
↓ 1 callersFunctionalmostWhole
(x: number, epsilon: number)
src/helpers/helpers.math.ts:71
↓ 1 callersFunctionanimationsExpectations
(anims, props)
test/specs/core.datasetController.spec.js:1338
↓ 1 callersFunctionapplyItemTextAlign
* 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 callersFunctionapplyNumberFormat
* 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 callersFunctionapplySplice
(array, base, args)
src/helpers/helpers.collection.ts:131
↓ 1 callersFunctionassertOwnOrNew
* 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 callersFunctionattachWithSubProxy
(scopes, context, prefixes = [''])
test/specs/helpers.config.unit.spec.js:801
↓ 1 callersFunctionawaitAll
(animations, properties)
src/core/core.animations.js:182
↓ 1 callersFunctionaxisFromFirstLetter
* 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 callersFunctionaxisFromType
* 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 callersFunctionbarSign
(size: number, vScale: BarScale, actualBase: number)
src/controllers/controller.bar.ts:300
↓ 1 callersFunctionbaseCalls
()
test/specs/controller.bar.spec.js:89
↓ 1 callersMethodbeforeBuildTicks
()
src/core/core.scale.js:554
↓ 1 callersMethodbeforeCalculateLabelRotation
()
src/core/core.scale.js:588
↓ 1 callersMethodbeforeDataLimits
()
src/core/core.scale.js:545
↓ 1 callersMethodbeforeFit
()
src/core/core.scale.js:636
↓ 1 callersMethodbeforeSetDimensions
()
src/core/core.scale.js:511
↓ 1 callersMethodbeforeTickToLabelConversion
()
src/core/core.scale.js:567
↓ 1 callersMethodbeforeUpdate
()
src/core/core.scale.js:381
↓ 1 callersFunctionbinarySearch
* 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 callersMethodbindResponsiveEvents
* @private
src/core/core.controller.js:1080
↓ 1 callersMethodbindUserEvents
* @private
src/core/core.controller.js:1059
↓ 1 callersFunctionborderAlphaAtMidHide
(line)
test/specs/core.controller.spec.js:3033
↓ 1 callersFunctionborderProps
(properties: BarProperties)
src/controllers/controller.bar.ts:307
↓ 1 callersFunctionboundingRects
(bar: BarElement)
src/elements/element.bar.ts:83
↓ 1 callersFunctionbuildLayoutBoxes
(boxes: LayoutBoxItem[])
src/core/core.layouts.ts:133
↓ 1 callersMethodbuildLookupTable
* 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 callersMethodbuildOrUpdateControllers
()
src/core/core.controller.js:425
↓ 1 callersMethodbuildOrUpdateElements
(resetNewElements)
src/core/core.datasetController.js:416
↓ 1 callersMethodbuildOrUpdateScales
* Builds a map of scale ID to scale object for future lookup.
src/core/core.controller.js:325
↓ 1 callersFunctionbuildPointLabelItems
(scale, labelSizes, padding)
src/scales/scale.radialLinear.js:176
↓ 1 callersFunctionbuildStacks
(layouts: LayoutBox[])
src/core/core.layouts.ts:96
↓ 1 callersMethodbuildTicks
()
src/types/index.ts:1406
↓ 1 callersMethodbuildTicks
* @return {object[]} the ticks
src/core/core.scale.js:560
↓ 1 callersFunctioncalcMax
(angle, a, b)
src/controllers/controller.doughnut.js:23
↓ 1 callersFunctioncalcMin
(angle, a, b)
src/controllers/controller.doughnut.js:24
↓ 1 callersMethodcalculateCircumference
(value)
src/controllers/controller.doughnut.js:312
↓ 1 callersFunctioncalculateDelta
(tickValue, ticks)
src/core/core.ticks.js:108
↓ 1 callersMethodcalculateLabelRotation
()
src/core/core.scale.js:591
↓ 1 callersFunctioncalculateSpacing
* @param {number[]} majorIndices * @param {Tick[]} ticks * @param {number} ticksLimit
src/core/core.scale.autoskip.js:155
↓ 1 callersMethodcalculateTotal
()
src/controllers/controller.doughnut.js:296
↓ 1 callersFunctioncallback
( fn: T | undefined, args: unknown[], thisArg?: TA )
src/helpers/helpers.core.ts:103
↓ 1 callersMethodcallback
(label)
src/scales/scale.radialLinear.js:388
↓ 1 callersFunctioncapBezierPoints
(points: SplinePoint[], area: ChartArea)
src/helpers/helpers.curve.ts:161
↓ 1 callersFunctioncapControlPoint
(pt: number, min: number, max: number)
src/helpers/helpers.curve.ts:157
↓ 1 callersFunctioncategoryLabel
* 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 callersFunctioncategoryLabel
* 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 callersFunctionclearItemStack
(stacks, axis, datasetIndex)
src/core/core.datasetController.js:227
↓ 1 callersFunctionclipArc
(ctx: CanvasRenderingContext2D, element: ArcElement, endAngle: number)
src/elements/element.arc.ts:41
↓ 1 callersFunctionclipBounds
(ctx, scale, clip, bounds)
src/plugins/plugin.filler/filler.drawing.js:167
↓ 1 callersFunctionclipHorizontal
(ctx, target, clipX)
src/plugins/plugin.filler/filler.drawing.js:98
↓ 1 callersFunctionclipSelf
(ctx: CanvasRenderingContext2D, element: ArcElement, endAngle: number)
src/elements/element.arc.ts:7
↓ 1 callersFunctionclipToIndexBounds
(area, iScale)
src/plugins/plugin.filler/filler.drawing.js:25
↓ 1 callersFunctionclipVertical
(ctx, target, clipY)
src/plugins/plugin.filler/filler.drawing.js:68
↓ 1 callersFunctioncloneIfNotShared
(cached, shared)
src/core/core.datasetController.js:242
↓ 1 callersFunctionclosest
(scale, kept)
test/specs/core.scale.autoskip.unit.spec.js:199
↓ 1 callersFunctioncolorizeDefaultDataset
(dataset: ChartDataset, i: number)
src/plugins/plugin.colors.ts:35
↓ 1 callersFunctioncolorizeDoughnutDataset
(dataset: ChartDataset, i: number)
src/plugins/plugin.colors.ts:42
↓ 1 callersFunctioncolorizePolarAreaDataset
(dataset: ChartDataset, i: number)
src/plugins/plugin.colors.ts:48
↓ 1 callersFunctioncomputeBoundary
(source)
src/plugins/plugin.filler/filler.target.ts:42
↓ 1 callersFunctioncomputeCircularBoundary
(source)
src/plugins/plugin.filler/filler.target.ts:68
↓ 1 callersFunctioncomputeFitCategoryTraits
* 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 callersFunctioncomputeFlexCategoryTraits
* 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 callersFunctioncomputeLinearBoundary
(source)
src/plugins/plugin.filler/filler.target.ts:52
↓ 1 callersFunctioncomputeMinSampleSize
* Computes the "optimal" sample size to maintain bars equally sized while preventing overlap. * @private
src/controllers/controller.bar.ts:149
↓ 1 callersFunctioncomputeOuterLimit
(val)
src/elements/element.arc.ts:78
↓ 1 callersMethodcomputeTickLimit
* @protected
src/scales/scale.linearbase.js:286
↓ 1 callersMethodconfigure
(config)
src/core/core.animations.js:14
↓ 1 callersMethodconfigure
* Merges user-supplied and default dataset-level options * @private
src/core/core.datasetController.js:450
↓ 1 callersMethodconfigure
* @protected
src/core/core.scale.js:485
↓ 1 callersFunctioncontainsColorsDefinition
( descriptor: ColorsDescriptor )
src/plugins/plugin.colors.ts:84
↓ 1 callersFunctioncontainsColorsDefinitions
( descriptors: ColorsDescriptor[] | Record<string, ColorsDescriptor> )
src/plugins/plugin.colors.ts:70
↓ 1 callersFunctioncontainsDefaultColorsDefenitions
()
src/plugins/plugin.colors.ts:90
↓ 1 callersFunctionconvertObjectDataToArray
(data, meta)
src/core/core.datasetController.js:102
↓ 1 callersFunctioncountFromValues
* 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
← previousnext →501–600 of 1,573, ranked by callers