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
↓ 2 callers
Method
initialize
(options)
src/plugins/plugin.tooltip.js:498
↓ 2 callers
Method
interpolate
(point: Point, property: 'x' | 'y')
src/types/index.d.ts:2030
↓ 2 callers
Method
invalidate
()
src/core/core.plugins.js:73
↓ 2 callers
Function
invalidatePlugins
()
src/core/core.controller.js:1265
↓ 2 callers
Method
isAttached
* @param {HTMLCanvasElement} canvas
src/platform/platform.dom.js:385
↓ 2 callers
Method
isForType
(type)
src/core/core.typedRegistry.js:16
↓ 2 callers
Method
isHorizontal
()
src/plugins/plugin.title.js:54
↓ 2 callers
Function
isStacked
(scale, meta)
src/core/core.datasetController.js:119
↓ 2 callers
Function
isValidKey
(key: string)
src/helpers/helpers.core.ts:211
↓ 2 callers
Method
linkScales
()
src/core/core.datasetController.js:299
↓ 2 callers
Function
nodeListContains
(nodeList, canvas)
src/platform/platform.dom.js:121
↓ 2 callers
Method
normalize
* @param {number[]} values * @protected
src/scales/scale.time.js:671
↓ 2 callers
Function
overrideCallbacks
(callbacks, context)
src/plugins/plugin.tooltip.js:356
↓ 2 callers
Function
overrideTextDirection
(ctx: CanvasRenderingContext2D, direction: 'ltr' | 'rtl')
src/helpers/helpers.rtl.ts:55
↓ 2 callers
Function
parse
* @param {TimeScale} scale * @param {*} input * @return {number}
src/scales/scale.time.js:46
↓ 2 callers
Method
parse
* @param {number} start * @param {number} count
src/core/core.datasetController.js:451
↓ 2 callers
Function
parseArrayOrPrimitive
(meta, data, start, count)
src/controllers/controller.bar.js:153
↓ 2 callers
Function
parseMaxStyle
* convert max-width/max-height values that may be percentages into a number * @private
src/helpers/helpers.dom.ts:29
↓ 2 callers
Function
parseValue
(entry, item, vScale, i)
src/controllers/controller.bar.js:144
↓ 2 callers
Function
pathArc
* 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 callers
Function
pathRadiusLine
(scale, radius, circular, labelCount)
src/scales/scale.radialLinear.js:290
↓ 2 callers
Function
pathVars
(points, segment, params = {})
src/elements/element.line.js:40
↓ 2 callers
Function
propertyFn
* @typedef { import('../elements/element.line.js').default } LineElement * @typedef { import('../elements/element.point.js').default } PointElement
src/helpers/helpers.segment.js:11
↓ 2 callers
Method
resize
* @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 callers
Function
resolveFallback
( fallback: ResolverObjectKey | ((prop: ResolverObjectKey, value: unknown) => ResolverObjectKey), prop: Re
src/helpers/helpers.config.ts:298
↓ 2 callers
Function
restoreTextDirection
(ctx: CanvasRenderingContext2D, original?: [string, string])
src/helpers/helpers.rtl.ts:69
↓ 2 callers
Function
retinaScale
( chart: Chart | PrivateChart, forceRatio: number, forceStyle?: boolean )
src/helpers/helpers.dom.ts:208
↓ 2 callers
Function
round1
(v: number)
src/helpers/helpers.dom.ts:160
↓ 2 callers
Function
sample
* Returns a new array containing numItems from arr * @param {any[]} arr * @param {number} numItems
src/core/core.scale.js:23
↓ 2 callers
Function
setStyle
* @typedef { import('./element.point.js').default } PointElement
src/elements/element.line.js:12
↓ 2 callers
Function
setsEqual
(a: Set<T>, b: Set<T>)
src/helpers/helpers.core.ts:396
↓ 2 callers
Method
show
(datasetIndex, dataIndex)
src/core/core.controller.js:912
↓ 2 callers
Function
skipOrLimit
(skip, value, min, max)
src/elements/element.bar.js:37
↓ 2 callers
Method
stop
* @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 callers
Function
throttled
( fn: (...args: TArgs) => void, thisArg: any, )
src/helpers/helpers.extras.ts:27
↓ 2 callers
Function
ticksFromTimestamps
* @param {TimeScale} scale * @param {number[]} values * @param {Unit|undefined} [majorUnit] * @return {object[]}
src/scales/scale.time.js:177
↓ 2 callers
Function
toDimension
(value: number | string, dimension: number)
src/helpers/helpers.core.ts:91
↓ 2 callers
Function
toLineHeight
(value: number | string, size: number)
src/helpers/helpers.options.ts:22
↓ 2 callers
Function
toTRBL
(value: number | TRBL | Point)
src/helpers/helpers.options.ts:75
↓ 2 callers
Method
unbindEvents
* @private
src/core/core.controller.js:1054
↓ 2 callers
Function
unlistenArrayEvents
(array, listener)
src/helpers/helpers.collection.ts:158
↓ 2 callers
Method
update
(mode)
src/core/core.controller.js:475
↓ 2 callers
Method
update
(changed, replay)
src/plugins/plugin.tooltip.js:638
↓ 2 callers
Method
updateControlPoints
(chartArea: ChartArea, indexAxis?: 'x' | 'y')
src/types/index.d.ts:2025
↓ 2 callers
Method
updateHoverStyle
(items, mode, enabled)
src/core/core.controller.js:1066
↓ 2 callers
Function
updateMaxPadding
(maxPadding, boxPadding)
src/core/core.layouts.js:109
↓ 2 callers
Method
updateSharedOptions
* Utility to animate the shared options, that are potentially affecting multiple elements. * @protected
src/core/core.datasetController.js:910
↓ 2 callers
Function
updateStacks
(controller, parsed)
src/core/core.datasetController.js:152
↓ 2 callers
Function
x
(ctx, {min = -Infinity, max = Infinity})
test/fixtures/controller.line/segments/range.js:1
↓ 2 callers
Method
xPlus
(x: number, value: number)
src/helpers/helpers.rtl.ts:5
↓ 2 callers
Function
y
(ctx, {min = -Infinity, max = Infinity})
test/fixtures/controller.line/segments/range.js:5
↓ 1 callers
Function
_addGrace
(minmax: { min: number; max: number; }, grace: number | string, beginAtZero: boolean)
src/helpers/helpers.options.ts:186
↓ 1 callers
Method
_animateOptions
* Utility to handle animation of `options`. * @private
src/core/core.animations.js:43
↓ 1 callers
Function
_bezierInterpolation
(p1: SplinePoint, p2: SplinePoint, t: number, mode?)
src/helpers/helpers.interpolation.ts:32
↓ 1 callers
Function
_buildStackLine
(source)
src/plugins/plugin.filler/filler.target.stack.js:15
↓ 1 callers
Function
_cached
( target: AnyObject, prop: string, resolve: () => unknown )
src/helpers/helpers.config.ts:218
↓ 1 callers
Method
_cachedScopes
* @private
src/core/core.config.js:280
↓ 1 callers
Method
_calculateBarIndexPixels
* @private
src/controllers/controller.bar.js:636
↓ 1 callers
Method
_calculateBarValuePixels
* Note: pixel values are not clamped to the scale area. * @private
src/controllers/controller.bar.js:563
↓ 1 callers
Method
_calculatePadding
(first, last, sin, cos)
src/core/core.scale.js:689
↓ 1 callers
Method
_checkEventBindings
* @private
src/core/core.controller.js:554
↓ 1 callers
Method
_circumference
* @private
src/controllers/controller.doughnut.js:246
↓ 1 callers
Method
_computeAngle
* @private
src/controllers/controller.polarArea.js:232
↓ 1 callers
Method
_computeGridLineItems
* @private
src/core/core.scale.js:1013
↓ 1 callers
Method
_computeLabelArea
* @private
src/core/core.scale.js:1423
↓ 1 callers
Method
_computeLabelItems
* @private
src/core/core.scale.js:1147
↓ 1 callers
Method
_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 callers
Function
_computeSegments
(line, segmentOptions)
src/helpers/helpers.segment.js:238
↓ 1 callers
Method
_convertTicksToLabels
* @param {Tick[]} ticks * @private
src/core/core.scale.js:775
↓ 1 callers
Method
_createItems
* @private
src/plugins/plugin.tooltip.js:600
↓ 1 callers
Function
_decimalPlaces
(x: number)
src/helpers/helpers.math.ts:110
↓ 1 callers
Function
_decodeFill
(line, index, count)
src/plugins/plugin.filler/filler.options.js:46
↓ 1 callers
Method
_descriptors
* @param {Chart} chart * @private
src/core/core.plugins.js:89
↓ 1 callers
Method
_destroy
* @private
src/core/core.datasetController.js:352
↓ 1 callers
Function
_detectPlatform
(canvas)
src/platform/index.js:6
↓ 1 callers
Method
_draw
* @private
src/plugins/plugin.legend.js:283
↓ 1 callers
Method
_drawArgs
(offset)
src/plugins/plugin.title.js:59
↓ 1 callers
Method
_drawColorBox
* @private
src/plugins/plugin.tooltip.js:789
↓ 1 callers
Method
_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 callers
Method
_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 callers
Method
_exec
* @private
src/core/core.registry.js:151
↓ 1 callers
Function
_factorize
(value: number)
src/helpers/helpers.math.ts:41
↓ 1 callers
Method
_fitCols
(titleHeight, labelFont, boxWidth, _itemHeight)
src/plugins/plugin.legend.js:191
↓ 1 callers
Method
_fitRows
* @private
src/plugins/plugin.legend.js:160
↓ 1 callers
Method
_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 callers
Method
_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 callers
Method
_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 callers
Method
_getAxisCount
()
src/controllers/controller.bar.js:489
↓ 1 callers
Function
_getEdge
(a, b, prop, fn)
src/plugins/plugin.filler/filler.segment.js:94
↓ 1 callers
Function
_getInterpolationMethod
* @private
src/elements/element.line.js:195
↓ 1 callers
Function
_getKeyResolver
(key: string)
src/helpers/helpers.core.ts:363
↓ 1 callers
Method
_getLabelBounds
* @private
src/scales/scale.time.js:353
↓ 1 callers
Method
_getLabelSize
* @param {string} label * @return {{w:number, h:number}} * @private
src/scales/scale.time.js:591
↓ 1 callers
Method
_getLegendItemAt
* @private
src/plugins/plugin.legend.js:503
↓ 1 callers
Method
_getOtherScale
* @private
src/core/core.datasetController.js:338
↓ 1 callers
Method
_getRegistryForType
* @private
src/core/core.registry.js:161
↓ 1 callers
Method
_getRotationExtents
* Get the maximal rotation & circumference extents * across all visible datasets.
src/controllers/controller.doughnut.js:187
↓ 1 callers
Method
_getRuler
* @private
src/controllers/controller.bar.js:532
↓ 1 callers
Function
_getTarget
(source)
src/plugins/plugin.filler/filler.target.js:13
↓ 1 callers
Method
_getTarget
()
src/helpers/helpers.config.types.ts:20
← previous
next →
301–400 of 1,409, ranked by callers