MCPcopy Create free account

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

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

↓ 1 callersMethodisPluginEnabled
* Check if a plugin with the specific ID is registered and enabled * @param {string} pluginId - The ID of the plugin of which to check if it is ena
src/core/core.controller.js:1223
↓ 1 callersFunctionisWholeStepCount
* Whether (hi - lo) / step is a whole number within floating point precision. * lo, hi and step are each the double nearest to a decimal value, so th
src/scales/scale.linearbase.js:17
↓ 1 callersFunctionitems
(datasetIndex)
test/specs/core.controller.spec.js:3353
↓ 1 callersFunctionitemsEqual
(a: LegendItem | null, b: LegendItem | null)
src/plugins/plugin.legend.ts:127
↓ 1 callersFunctionkeepFromMajors
* Repeats the same whole step from each major, and drops a tick closer than * one step to the next major. Before the first and after the last major,
src/core/core.scale.autoskip.js:59
↓ 1 callersFunctionkeepZero
(value: number, add: number)
src/helpers/helpers.options.ts:189
↓ 1 callersFunctionkeptTicks
(count, majors, fit)
test/specs/core.scale.autoskip.unit.spec.js:15
↓ 1 callersFunctionkeptTicksReversed
(count, majors, fit)
test/specs/core.scale.autoskip.unit.spec.js:24
↓ 1 callersFunctionkeySources
(config, scaleType, userScale)
test/specs/core.config.spec.js:612
↓ 1 callersFunctionkeysOf
(...sources)
test/specs/core.config.spec.js:765
↓ 1 callersMethodlabel
(this: Model, tooltipItem: Item)
src/types/index.ts:2764
↓ 1 callersFunctionlabelOf
(index, data, scales)
test/specs/controller.bubble.spec.js:425
↓ 1 callersFunctionlabelOf
(index, data, scales)
test/specs/controller.scatter.spec.js:205
↓ 1 callersFunctionlabelsOverHalfTheAxis
(reverse)
test/specs/scale.linear.spec.js:1873
↓ 1 callersFunctionlastTick
(chart)
test/specs/core.scale.spec.js:57
↓ 1 callersFunctionleftForTextAlign
(x, w, align)
src/scales/scale.radialLinear.js:213
↓ 1 callersFunctionlegendItemCenter
(chart, index)
test/specs/plugin.tooltip.spec.js:2103
↓ 1 callersFunctionlegendItemCenter
(chart, index)
test/specs/core.controller.spec.js:3039
↓ 1 callersFunctionlegendWith
(position, legendOptions, count, text)
test/specs/plugin.legend.spec.js:1767
↓ 1 callersMethodlisten
* @param {Chart} chart * @param {string} event - event name * @param {Function} cb - callback
src/core/core.animator.js:135
↓ 1 callersFunctionlistenDevicePixelRatioChanges
(chart, resize)
src/platform/platform.dom.js:177
↓ 1 callersFunctionlttbDecimation
(data, start, count, availableWidth, options)
src/plugins/plugin.decimation.js:3
↓ 1 callersFunctionmakeChartScale
(range: number)
test/types/scales/options.ts:44
↓ 1 callersFunctionmakeDs
(label, offset)
test/fixtures/controller.line/stacking/stack-cache.js:1
↓ 1 callersFunctionmakeView
(title, body, footer)
test/specs/plugin.tooltip.spec.js:1591
↓ 1 callersFunctionmarginForPositions
(positions: (keyof TRBL)[])
src/core/core.layouts.ts:214
↓ 1 callersFunctionmeasureLabelSize
(ctx, font, label)
src/scales/scale.radialLinear.js:19
↓ 1 callersFunctionmeasureTitleLine
(chart, line)
test/specs/plugin.legend.spec.js:5
↓ 1 callersFunctionmergeScaleConfig
* Builds `options.scales`: each stored entry with its sources and * `defaults.scale` merged in, in that order. Unlike the derived object, an * entry
src/core/core.config.js:198
↓ 1 callersFunctionmethod
()
test/specs/vitest.setup.spec.js:61
↓ 1 callersFunctionminMaxDecimation
(data, start, count, availableWidth)
src/plugins/plugin.decimation.js:82
↓ 1 callersFunctionmirror
* Counts the indexes from the other end, in place, and keeps them ascending. * @param {number[]} indices * @param {number} length
src/core/core.scale.autoskip.js:79
↓ 1 callersFunctionmonotoneAdjust
* Adjust tangents to ensure monotonic properties
src/helpers/helpers.curve.ts:57
↓ 1 callersFunctionmonotoneCompute
(points: SplinePoint[], mK: number[], indexAxis: 'x' | 'y' = 'x')
src/helpers/helpers.curve.ts:87
↓ 1 callersFunctionmoveNumericKeys
(obj, start, move)
src/core/core.controller.js:72
↓ 1 callersFunctionneedContext
(proxy, names)
src/core/core.config.js:522
↓ 1 callersFunctionneedsBrowser
(name)
test/setup.node.js:24
↓ 1 callersFunctionnewDataset
(pointStyle, i)
test/fixtures/plugin.tooltip/point-style.js:3
↓ 1 callersFunctionnewDateFromRef
(days)
test/fixtures/scale.time/data-ty.js:1
↓ 1 callersFunctionnewDateFromRef
(days)
test/fixtures/scale.time/data-xy.js:1
↓ 1 callersFunctionnewDateFromRef
(days)
test/fixtures/scale.time/labels-date.js:1
↓ 1 callersFunctionniceNum
(range: number)
src/helpers/helpers.math.ts:28
↓ 1 callersFunctionnoAxisMessage
(id)
test/specs/core.config.spec.js:1
↓ 1 callersMethodnormalize
(values: number[])
src/types/index.ts:3534
↓ 1 callersFunctionnormalizeSegment
({start, end, count, loop, style}: StyledSegment & {count: number})
src/helpers/helpers.segment.ts:48
↓ 1 callersFunctionnormalizeStart
()
src/helpers/helpers.collection.ts:134
↓ 1 callersMethodnotify
* Calls enabled plugins for `chart` on the specified hook and with the given args. * This method immediately returns as soon as a plugin explicitly
src/core/core.plugins.ts:32
↓ 1 callersFunctionnumberOrZero
(v: unknown)
src/helpers/helpers.options.ts:43
↓ 1 callersFunctionoffsetFromEdge
(scale, edge, offset)
src/core/core.scale.js:10
↓ 1 callersFunctiononAnimationsComplete
(context)
src/core/core.controller.js:33
↓ 1 callersMethodonClick
* A callback that is called when a 'click' event is registered on a label item, or a 'mouseup' * (also from 'touchend' and 'pointerup') when the le
src/types/index.ts:2470
↓ 1 callersMethodoverride
(scope: S)
src/helpers/helpers.config.types.ts:54
↓ 1 callersMethodparse
* Parse a supported input value to internal representation. * @param {*} raw * @param {number} [index] * @since 3.0
src/core/core.scale.js:274
↓ 1 callersMethodparseArrayData
* Parse array of arrays * @param {object} meta - dataset meta * @param {array} data - data array. Example [[1,2],[3,4]] * @param {number} start
src/core/core.datasetController.js:548
↓ 1 callersFunctionparseBorderRadius
(bar: BarElement, maxW: number, maxH: number)
src/elements/element.bar.ts:64
↓ 1 callersFunctionparseBorderRadius
* Parse border radius from the provided options
src/elements/element.arc.ts:66
↓ 1 callersFunctionparseBorderWidth
(bar: BarElement, maxW: number, maxH: number)
src/elements/element.bar.ts:50
↓ 1 callersFunctionparseEdge
(edge: string, a: string, b: string, reverse: boolean)
src/controllers/controller.bar.ts:360
↓ 1 callersFunctionparseFillOption
(line: LineElement)
src/plugins/plugin.filler/filler.options.ts:101
↓ 1 callersFunctionparseFloatBar
(entry: unknown[], item: BarParsed, vScale: BarScale, i: number)
src/controllers/controller.bar.ts:242
↓ 1 callersMethodparseObjectData
* Parse array of objects * @param {object} meta - dataset meta * @param {array} data - data array. Example [{x:1, y:5}, {x:2, y:10}] * @param {n
src/core/core.datasetController.js:575
↓ 1 callersMethodparsePrimitiveData
* Parse array of primitive values * @param {object} meta - dataset meta * @param {array} data - data array. Example [1,3,4] * @param {number} st
src/core/core.datasetController.js:518
↓ 1 callersFunctionparsedX
(chart)
test/specs/scale.category.spec.js:1077
↓ 1 callersFunctionparsedYValues
()
test/specs/core.datasetController.spec.js:403
↓ 1 callersFunctionpathFullCircle
( ctx: CanvasRenderingContext2D, element: ArcElement, offset: number, spacing: number, )
src/elements/element.arc.ts:101
↓ 1 callersFunctionplaceBoxes
(boxes: LayoutBox[], chartArea: LayoutArea, params: LayoutParams, stacks: Record<string, LayoutStack>)
src/core/core.layouts.ts:266
↓ 1 callersFunctionplaceItem
* Store where an item's symbol and text are drawn. * @param placement - what every item shares * @param hitbox - the item's hit box, with its final
src/plugins/plugin.legend.ts:166
↓ 1 callersFunctionpluginOpts
(config: Config, {plugin, local}, opts, context)
src/core/core.plugins.ts:167
↓ 1 callersMethodpluginScopeKeys
* Returns the options scope keys for resolving plugin options. * @param {{id: string, additionalOptionScopes?: string[]}} plugin * @return {stri
src/core/core.config.js:384
↓ 1 callersFunctionplugins
(minify)
rollup.config.js:17
↓ 1 callersMethodpoints
(points: PointElement[])
src/elements/element.line.ts:340
↓ 1 callersFunctionpointsAreFinite
(chart, datasetIndex, prop)
test/specs/core.config.spec.js:3
↓ 1 callersFunctionpositionIsHorizontal
(position, axis)
src/core/core.controller.js:21
↓ 1 callersFunctionpressFirstItem
(chart)
test/specs/plugin.legend.spec.js:2067
↓ 1 callersFunctionpressPoint
(chart)
test/specs/core.controller.spec.js:483
↓ 1 callersFunctionrThetaToXY
* Convert (r, 𝜃) to (x, y)
src/elements/element.arc.ts:94
↓ 1 callersFunctionradToNearestDegree
(rad)
test/specs/scale.radialLinear.spec.js:560
↓ 1 callersFunctionreadKey
(prefix: string, name: string)
src/helpers/helpers.config.ts:220
↓ 1 callersFunctionreadOptions
(resolver, sources, prefix, out)
test/specs/core.config.spec.js:621
↓ 1 callersFunctionreadScales
(chart, config)
test/specs/core.config.spec.js:640
↓ 1 callersFunctionreadStyle
(options: AnyObject)
src/helpers/helpers.segment.ts:350
↓ 1 callersFunctionreadUsedSize
( element: HTMLElement, property: 'width' | 'height' )
src/helpers/helpers.dom.ts:318
↓ 1 callersFunctionreadsContext
* Whether an option resolves through the context: a scriptable function or an indexable array
src/core/core.animations.js:138
↓ 1 callersFunctionrecord
(chart, id)
test/specs/core.config.spec.js:718
↓ 1 callersFunctionrecordPath
(draw)
test/specs/element.line.spec.js:48
↓ 1 callersFunctionrecursive
(left)
test/specs/plugin.tooltip.spec.js:1408
↓ 1 callersFunctionregisterDefaults
(item: any, scope: string, parentScope?: string)
src/core/core.typedRegistry.ts:79
↓ 1 callersFunctionregistered
(registry, namespace)
test/specs/vitest.setup.spec.js:46
↓ 1 callersFunctionrelativeLabelSize
(value, minSpacing, {horizontal, minRotation})
src/scales/scale.linearbase.js:189
↓ 1 callersMethodreleaseContext
* @param {CanvasRenderingContext2D} context
src/platform/platform.dom.js:293
↓ 1 callersMethodremoveControllers
(...args: (typeof DatasetController)[])
src/core/core.registry.ts:68
↓ 1 callersMethodremoveElements
(...args: (typeof Element)[])
src/core/core.registry.ts:72
↓ 1 callersMethodremoveHoverStyle
(element, datasetIndex, index)
src/core/core.datasetController.js:987
↓ 1 callersMethodremovePlugins
(...args: any[])
src/core/core.registry.ts:76
↓ 1 callersMethodremoveScales
(...args: (typeof Scale)[])
src/core/core.registry.ts:80
↓ 1 callersFunctionresolveKeysFromAllScopes
(scopes: AnyObject[])
src/helpers/helpers.config.ts:435
↓ 1 callersFunctionresolveTargetOptions
(target, newOptions)
src/core/core.animations.js:195
↓ 1 callersFunctionretrieveAxisFromDatasets
(id, config)
src/core/core.config.js:90
↓ 1 callersFunctionreverseAlign
(align)
src/core/core.scale.js:9
↓ 1 callersFunctionrouteDefaults
(scope: string, routes: Record<string, string>)
src/core/core.typedRegistry.ts:98
← previousnext →801–900 of 1,573, ranked by callers