MCPcopy Create free account

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

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

↓ 2 callersMethodinitialize
(options)
src/plugins/plugin.tooltip.js:498
↓ 2 callersMethodinterpolate
(point: Point, property: 'x' | 'y')
src/types/index.d.ts:2030
↓ 2 callersMethodinvalidate
()
src/core/core.plugins.js:73
↓ 2 callersFunctioninvalidatePlugins
()
src/core/core.controller.js:1265
↓ 2 callersMethodisAttached
* @param {HTMLCanvasElement} canvas
src/platform/platform.dom.js:385
↓ 2 callersMethodisForType
(type)
src/core/core.typedRegistry.js:16
↓ 2 callersMethodisHorizontal
()
src/plugins/plugin.title.js:54
↓ 2 callersFunctionisStacked
(scale, meta)
src/core/core.datasetController.js:119
↓ 2 callersFunctionisValidKey
(key: string)
src/helpers/helpers.core.ts:211
↓ 2 callersMethodlinkScales
()
src/core/core.datasetController.js:299
↓ 2 callersFunctionnodeListContains
(nodeList, canvas)
src/platform/platform.dom.js:121
↓ 2 callersMethodnormalize
* @param {number[]} values * @protected
src/scales/scale.time.js:671
↓ 2 callersFunctionoverrideCallbacks
(callbacks, context)
src/plugins/plugin.tooltip.js:356
↓ 2 callersFunctionoverrideTextDirection
(ctx: CanvasRenderingContext2D, direction: 'ltr' | 'rtl')
src/helpers/helpers.rtl.ts:55
↓ 2 callersFunctionparse
* @param {TimeScale} scale * @param {*} input * @return {number}
src/scales/scale.time.js:46
↓ 2 callersMethodparse
* @param {number} start * @param {number} count
src/core/core.datasetController.js:451
↓ 2 callersFunctionparseArrayOrPrimitive
(meta, data, start, count)
src/controllers/controller.bar.js:153
↓ 2 callersFunctionparseMaxStyle
* convert max-width/max-height values that may be percentages into a number * @private
src/helpers/helpers.dom.ts:29
↓ 2 callersFunctionparseValue
(entry, item, vScale, i)
src/controllers/controller.bar.js:144
↓ 2 callersFunctionpathArc
* Path the arc, respecting border radius by separating into left and right halves. * * Start End * * 1--->a--->2 Outer * /
src/elements/element.arc.ts:138
↓ 2 callersFunctionpathRadiusLine
(scale, radius, circular, labelCount)
src/scales/scale.radialLinear.js:290
↓ 2 callersFunctionpathVars
(points, segment, params = {})
src/elements/element.line.js:40
↓ 2 callersFunctionpropertyFn
* @typedef { import('../elements/element.line.js').default } LineElement * @typedef { import('../elements/element.point.js').default } PointElement
src/helpers/helpers.segment.js:11
↓ 2 callersMethodresize
* @desc Called after the chart as been resized. * @param {Chart} chart - The chart instance. * @param {object} args - The call arguments. * @
src/types/index.d.ts:1136
↓ 2 callersFunctionresolveFallback
( fallback: ResolverObjectKey | ((prop: ResolverObjectKey, value: unknown) => ResolverObjectKey), prop: Re
src/helpers/helpers.config.ts:298
↓ 2 callersFunctionrestoreTextDirection
(ctx: CanvasRenderingContext2D, original?: [string, string])
src/helpers/helpers.rtl.ts:69
↓ 2 callersFunctionretinaScale
( chart: Chart | PrivateChart, forceRatio: number, forceStyle?: boolean )
src/helpers/helpers.dom.ts:208
↓ 2 callersFunctionround1
(v: number)
src/helpers/helpers.dom.ts:160
↓ 2 callersFunctionsample
* Returns a new array containing numItems from arr * @param {any[]} arr * @param {number} numItems
src/core/core.scale.js:23
↓ 2 callersFunctionsetStyle
* @typedef { import('./element.point.js').default } PointElement
src/elements/element.line.js:12
↓ 2 callersFunctionsetsEqual
(a: Set<T>, b: Set<T>)
src/helpers/helpers.core.ts:396
↓ 2 callersMethodshow
(datasetIndex, dataIndex)
src/core/core.controller.js:912
↓ 2 callersFunctionskipOrLimit
(skip, value, min, max)
src/elements/element.bar.js:37
↓ 2 callersMethodstop
* @desc Called when a plugin stopping. This happens when chart is destroyed or plugin is disabled. * @param {Chart} chart - The chart instance.
src/types/index.d.ts:888
↓ 2 callersFunctionthrottled
( fn: (...args: TArgs) => void, thisArg: any, )
src/helpers/helpers.extras.ts:27
↓ 2 callersFunctionticksFromTimestamps
* @param {TimeScale} scale * @param {number[]} values * @param {Unit|undefined} [majorUnit] * @return {object[]}
src/scales/scale.time.js:177
↓ 2 callersFunctiontoDimension
(value: number | string, dimension: number)
src/helpers/helpers.core.ts:91
↓ 2 callersFunctiontoLineHeight
(value: number | string, size: number)
src/helpers/helpers.options.ts:22
↓ 2 callersFunctiontoTRBL
(value: number | TRBL | Point)
src/helpers/helpers.options.ts:75
↓ 2 callersMethodunbindEvents
* @private
src/core/core.controller.js:1054
↓ 2 callersFunctionunlistenArrayEvents
(array, listener)
src/helpers/helpers.collection.ts:158
↓ 2 callersMethodupdate
(mode)
src/core/core.controller.js:475
↓ 2 callersMethodupdate
(changed, replay)
src/plugins/plugin.tooltip.js:638
↓ 2 callersMethodupdateControlPoints
(chartArea: ChartArea, indexAxis?: 'x' | 'y')
src/types/index.d.ts:2025
↓ 2 callersMethodupdateHoverStyle
(items, mode, enabled)
src/core/core.controller.js:1066
↓ 2 callersFunctionupdateMaxPadding
(maxPadding, boxPadding)
src/core/core.layouts.js:109
↓ 2 callersMethodupdateSharedOptions
* Utility to animate the shared options, that are potentially affecting multiple elements. * @protected
src/core/core.datasetController.js:910
↓ 2 callersFunctionupdateStacks
(controller, parsed)
src/core/core.datasetController.js:152
↓ 2 callersFunctionx
(ctx, {min = -Infinity, max = Infinity})
test/fixtures/controller.line/segments/range.js:1
↓ 2 callersMethodxPlus
(x: number, value: number)
src/helpers/helpers.rtl.ts:5
↓ 2 callersFunctiony
(ctx, {min = -Infinity, max = Infinity})
test/fixtures/controller.line/segments/range.js:5
↓ 1 callersFunction_addGrace
(minmax: { min: number; max: number; }, grace: number | string, beginAtZero: boolean)
src/helpers/helpers.options.ts:186
↓ 1 callersMethod_animateOptions
* Utility to handle animation of `options`. * @private
src/core/core.animations.js:43
↓ 1 callersFunction_bezierInterpolation
(p1: SplinePoint, p2: SplinePoint, t: number, mode?)
src/helpers/helpers.interpolation.ts:32
↓ 1 callersFunction_buildStackLine
(source)
src/plugins/plugin.filler/filler.target.stack.js:15
↓ 1 callersFunction_cached
( target: AnyObject, prop: string, resolve: () => unknown )
src/helpers/helpers.config.ts:218
↓ 1 callersMethod_cachedScopes
* @private
src/core/core.config.js:280
↓ 1 callersMethod_calculateBarIndexPixels
* @private
src/controllers/controller.bar.js:636
↓ 1 callersMethod_calculateBarValuePixels
* Note: pixel values are not clamped to the scale area. * @private
src/controllers/controller.bar.js:563
↓ 1 callersMethod_calculatePadding
(first, last, sin, cos)
src/core/core.scale.js:689
↓ 1 callersMethod_checkEventBindings
* @private
src/core/core.controller.js:554
↓ 1 callersMethod_circumference
* @private
src/controllers/controller.doughnut.js:246
↓ 1 callersMethod_computeAngle
* @private
src/controllers/controller.polarArea.js:232
↓ 1 callersMethod_computeGridLineItems
* @private
src/core/core.scale.js:1013
↓ 1 callersMethod_computeLabelArea
* @private
src/core/core.scale.js:1423
↓ 1 callersMethod_computeLabelItems
* @private
src/core/core.scale.js:1147
↓ 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:819
↓ 1 callersFunction_computeSegments
(line, segmentOptions)
src/helpers/helpers.segment.js:238
↓ 1 callersMethod_convertTicksToLabels
* @param {Tick[]} ticks * @private
src/core/core.scale.js:775
↓ 1 callersMethod_createItems
* @private
src/plugins/plugin.tooltip.js:600
↓ 1 callersFunction_decimalPlaces
(x: number)
src/helpers/helpers.math.ts:110
↓ 1 callersFunction_decodeFill
(line, index, count)
src/plugins/plugin.filler/filler.options.js:46
↓ 1 callersMethod_descriptors
* @param {Chart} chart * @private
src/core/core.plugins.js:89
↓ 1 callersMethod_destroy
* @private
src/core/core.datasetController.js:352
↓ 1 callersFunction_detectPlatform
(canvas)
src/platform/index.js:6
↓ 1 callersMethod_draw
* @private
src/plugins/plugin.legend.js:283
↓ 1 callersMethod_drawArgs
(offset)
src/plugins/plugin.title.js:59
↓ 1 callersMethod_drawColorBox
* @private
src/plugins/plugin.tooltip.js:789
↓ 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:783
↓ 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:765
↓ 1 callersMethod_exec
* @private
src/core/core.registry.js:151
↓ 1 callersFunction_factorize
(value: number)
src/helpers/helpers.math.ts:41
↓ 1 callersMethod_fitCols
(titleHeight, labelFont, boxWidth, _itemHeight)
src/plugins/plugin.legend.js:191
↓ 1 callersMethod_fitRows
* @private
src/plugins/plugin.legend.js:160
↓ 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:450
↓ 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:1249
↓ 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:1183
↓ 1 callersMethod_getAxisCount
()
src/controllers/controller.bar.js:489
↓ 1 callersFunction_getEdge
(a, b, prop, fn)
src/plugins/plugin.filler/filler.segment.js:94
↓ 1 callersFunction_getInterpolationMethod
* @private
src/elements/element.line.js:195
↓ 1 callersFunction_getKeyResolver
(key: string)
src/helpers/helpers.core.ts:363
↓ 1 callersMethod_getLabelBounds
* @private
src/scales/scale.time.js:353
↓ 1 callersMethod_getLabelSize
* @param {string} label * @return {{w:number, h:number}} * @private
src/scales/scale.time.js:591
↓ 1 callersMethod_getLegendItemAt
* @private
src/plugins/plugin.legend.js:503
↓ 1 callersMethod_getOtherScale
* @private
src/core/core.datasetController.js:338
↓ 1 callersMethod_getRegistryForType
* @private
src/core/core.registry.js:161
↓ 1 callersMethod_getRotationExtents
* Get the maximal rotation & circumference extents * across all visible datasets.
src/controllers/controller.doughnut.js:187
↓ 1 callersMethod_getRuler
* @private
src/controllers/controller.bar.js:532
↓ 1 callersFunction_getTarget
(source)
src/plugins/plugin.filler/filler.target.js:13
↓ 1 callersMethod_getTarget
()
src/helpers/helpers.config.types.ts:20
← previousnext →301–400 of 1,409, ranked by callers