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
↓ 2 callers
Method
getElementsAtEventForMode
(e, mode, options, useFinalPosition)
src/core/core.controller.js:899
↓ 2 callers
Method
getFirstScaleIdForIndexAxis
()
src/controllers/controller.bar.ts:610
↓ 2 callers
Method
getIndexAngle
(index)
src/scales/scale.radialLinear.js:482
↓ 2 callers
Function
getIndexAxis
(type, options)
src/core/core.config.js:6
↓ 2 callers
Function
getKeysFromAllScopes
(target: ResolverCache)
src/helpers/helpers.config.ts:427
↓ 2 callers
Method
getLabelItems
(chartArea?: ChartArea)
src/types/index.ts:1395
↓ 2 callers
Method
getLabelTimestamps
* @protected
src/scales/scale.time.js:660
↓ 2 callers
Method
getLineWidthForValue
* Returns the grid line width at given value
src/types/index.ts:1362
↓ 2 callers
Method
getMatchingVisibleMetas
* Returns visible dataset metas that are attached to this scale * @param {string} [type] - if specified, also filter by dataset type * @return {ob
src/core/core.scale.js:1685
↓ 2 callers
Method
getMaxBorderWidth
(arcs)
src/controllers/controller.doughnut.js:340
↓ 2 callers
Method
getMaxOverflow
* @return {number|boolean} * @protected
src/core/core.datasetController.js:696
↓ 2 callers
Method
getMaximumSize
* @param {HTMLCanvasElement} canvas * @param {number} [width] - content width of parent element * @param {number} [height] - content height of par
src/platform/platform.dom.js:378
↓ 2 callers
Method
getMeta
()
src/core/core.datasetController.js:335
↓ 2 callers
Method
getPixelForTick
* Returns the location of the tick at the given index * The coordinate (0, 0) is at the upper-left corner of the canvas * @param {number} index
src/core/core.scale.js:914
↓ 2 callers
Method
getPixelForValue
* Returns the location of the given data point. Value can either be an index or a numerical value * The coordinate (0, 0) is at the upper-left corne
src/core/core.scale.js:896
↓ 2 callers
Method
getPointPosition
(index, distanceFromCenter, additionalAngle = 0)
src/scales/scale.radialLinear.js:520
↓ 2 callers
Function
getResolver
(resolverCache, scopes, prefixes)
src/core/core.config.js:500
↓ 2 callers
Function
getRoutes
(scope: string)
src/core/core.defaults.ts:273
↓ 2 callers
Function
getSortedDatasetIndices
(chart, filterVisible)
src/core/core.datasetController.js:59
↓ 2 callers
Method
getTicks
()
src/types/index.ts:1393
↓ 2 callers
Function
getTicksLimit
(ticksLength, maxTicksLimit)
src/core/core.scale.js:11
↓ 2 callers
Function
getTitleHeight
* @param {object} options
src/core/core.scale.js:95
↓ 2 callers
Function
getTooltipSize
* Get the size of the tooltip
src/plugins/plugin.tooltip.js:184
↓ 2 callers
Method
getUserBounds
* @return {{min: number, max: number, minDefined: boolean, maxDefined: boolean}} * @protected * @since 3.0
src/core/core.scale.js:283
↓ 2 callers
Function
getValueAxis
(indexAxis: 'x' | 'y')
src/helpers/helpers.curve.ts:10
↓ 2 callers
Method
handleTickRangeOptions
()
src/scales/scale.linearbase.js:223
↓ 2 callers
Method
hasValue
()
src/core/core.element.ts:22
↓ 2 callers
Function
idMatchesAxis
(id)
src/core/core.config.js:26
↓ 2 callers
Function
inRange
(el: PointElement, pos: number, axis: 'x' | 'y', useFinalPosition?: boolean)
src/elements/element.point.ts:11
↓ 2 callers
Method
includeOptions
* Utility for determining if `options` should be included in the updated properties * @protected
src/core/core.datasetController.js:914
↓ 2 callers
Method
init
(options: O)
src/types/index.ts:1389
↓ 2 callers
Function
initData
(data)
src/core/core.config.js:217
↓ 2 callers
Method
initOffsets
* Returns the start and end offsets from edges in the form of {start, end} * where each value is a relative width to the scale and ranges between 0
src/scales/scale.time.js:422
↓ 2 callers
Function
initOptions
(config, records)
src/core/core.config.js:210
↓ 2 callers
Method
initialize
(options)
src/plugins/plugin.tooltip.js:536
↓ 2 callers
Method
interpolate
(point: Point, property: 'x' | 'y')
src/types/index.ts:2036
↓ 2 callers
Method
invalidate
()
src/core/core.plugins.ts:70
↓ 2 callers
Function
invalidatePlugins
()
src/core/core.controller.js:1390
↓ 2 callers
Method
isAttached
* @param {HTMLCanvasElement} canvas
src/platform/platform.dom.js:385
↓ 2 callers
Method
isForType
(type: any)
src/core/core.typedRegistry.ts:19
↓ 2 callers
Method
isHorizontal
()
src/plugins/plugin.title.js:54
↓ 2 callers
Method
isScriptable
(key: string)
src/helpers/helpers.config.types.ts:39
↓ 2 callers
Function
isStacked
(scale, meta)
src/core/core.datasetController.js:119
↓ 2 callers
Function
isValidKey
(key: string)
src/helpers/helpers.core.ts:212
↓ 2 callers
Method
linkScales
()
src/core/core.datasetController.js:311
↓ 2 callers
Function
listenArrayEvents
(array, listener)
src/helpers/helpers.collection.ts:166
↓ 2 callers
Method
method
(arg)
test/specs/helpers.config.unit.spec.js:930
↓ 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:680
↓ 2 callers
Function
overrideCallbacks
(callbacks, context)
src/plugins/plugin.tooltip.js:392
↓ 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:463
↓ 2 callers
Method
parse
(raw, index)
src/scales/scale.category.js:98
↓ 2 callers
Function
parseArrayOrPrimitive
(meta: BarMeta, data: unknown[], start: number, count: number)
src/controllers/controller.bar.ts:278
↓ 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: unknown, item: BarParsed, vScale: BarScale, i: number)
src/controllers/controller.bar.ts:269
↓ 2 callers
Method
path
(ctx: CanvasRenderingContext2D)
src/types/index.ts:2038
↓ 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: PointElement[], segment: PathSegment, params: PathParams = {})
src/elements/element.line.ts:62
↓ 2 callers
Function
propertyFn
(property: string)
src/helpers/helpers.segment.ts:35
↓ 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.ts:1141
↓ 2 callers
Function
resolveFallback
( fallback: ResolverObjectKey | ((prop: ResolverObjectKey, value: unknown) => ResolverObjectKey), prop: Re
src/helpers/helpers.config.ts:302
↓ 2 callers
Method
resolveNamedOptions
* @param {object[]} scopes * @param {string[]} names * @param {function|object} context * @param {string[]} [prefixes] * @return {object}
src/core/core.config.js:468
↓ 2 callers
Function
retinaScale
( chart: Chart | PrivateChart, forceRatio: number, forceStyle?: boolean )
src/helpers/helpers.dom.ts:247
↓ 2 callers
Function
round1
(v: number)
src/helpers/helpers.dom.ts:166
↓ 2 callers
Function
sameLabel
(a, b)
src/scales/scale.category.js:5
↓ 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
(ctx: CanvasRenderingContext2D, options: AnyObject, style: AnyObject = options)
src/elements/element.line.ts:35
↓ 2 callers
Function
setsEqual
(a: Set<T>, b: Set<T>)
src/helpers/helpers.core.ts:398
↓ 2 callers
Method
show
(datasetIndex, dataIndex)
src/core/core.controller.js:991
↓ 2 callers
Function
skip
* Keeps the indexes from `start` to `end`, both included, `step` apart. * @param {(index: number) => void} keep * @param {number} step - a whole num
src/core/core.scale.autoskip.js:215
↓ 2 callers
Function
skipOrLimit
(skip: boolean, value: number, min: number, max: number)
src/elements/element.bar.ts:46
↓ 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:183
↓ 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:1137
↓ 2 callers
Method
updateControlPoints
(chartArea: ChartArea, indexAxis?: 'x' | 'y')
src/types/index.ts:2031
↓ 2 callers
Method
updateElements
(element, start, count, mode)
src/core/core.datasetController.js:1114
↓ 2 callers
Method
updateHoverStyle
(items, mode, enabled)
src/core/core.controller.js:1149
↓ 2 callers
Function
updateMaxPadding
(maxPadding: ChartArea, boxPadding: ChartArea)
src/core/core.layouts.ts:157
↓ 2 callers
Method
updateSharedOptions
* Utility to animate the shared options, that are potentially affecting multiple elements. * @protected
src/core/core.datasetController.js:946
↓ 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:7
↓ 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:44
↓ 1 callers
Function
_animationsNeedContext
(resolver)
src/core/core.animations.js:152
↓ 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
_cache
(target: AnyObject, prop: string, value: unknown)
src/helpers/helpers.config.ts:230
↓ 1 callers
Method
_cachedScopes
* @private
src/core/core.config.js:397
↓ 1 callers
Method
_calculateBarIndexPixels
* @internal
src/controllers/controller.bar.ts:782
↓ 1 callers
Method
_calculatePadding
(first, last, sin, cos)
src/core/core.scale.js:694
↓ 1 callers
Method
_checkEventBindings
* @private
src/core/core.controller.js:633
↓ 1 callers
Method
_circumference
* @private
src/controllers/controller.doughnut.js:246
↓ 1 callers
Method
_clearHoverStyle
* Ends the hover style of a data element without animating it, before an update * that animates the element in its own mode (for example 'hide'). A
src/core/core.datasetController.js:974
← previous
next →
301–400 of 1,573, ranked by callers