MCPcopy Create free account

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

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

↓ 2 callersMethodgetElementsAtEventForMode
(e, mode, options, useFinalPosition)
src/core/core.controller.js:899
↓ 2 callersMethodgetFirstScaleIdForIndexAxis
()
src/controllers/controller.bar.ts:610
↓ 2 callersMethodgetIndexAngle
(index)
src/scales/scale.radialLinear.js:482
↓ 2 callersFunctiongetIndexAxis
(type, options)
src/core/core.config.js:6
↓ 2 callersFunctiongetKeysFromAllScopes
(target: ResolverCache)
src/helpers/helpers.config.ts:427
↓ 2 callersMethodgetLabelItems
(chartArea?: ChartArea)
src/types/index.ts:1395
↓ 2 callersMethodgetLabelTimestamps
* @protected
src/scales/scale.time.js:660
↓ 2 callersMethodgetLineWidthForValue
* Returns the grid line width at given value
src/types/index.ts:1362
↓ 2 callersMethodgetMatchingVisibleMetas
* 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 callersMethodgetMaxBorderWidth
(arcs)
src/controllers/controller.doughnut.js:340
↓ 2 callersMethodgetMaxOverflow
* @return {number|boolean} * @protected
src/core/core.datasetController.js:696
↓ 2 callersMethodgetMaximumSize
* @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 callersMethodgetMeta
()
src/core/core.datasetController.js:335
↓ 2 callersMethodgetPixelForTick
* 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 callersMethodgetPixelForValue
* 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 callersMethodgetPointPosition
(index, distanceFromCenter, additionalAngle = 0)
src/scales/scale.radialLinear.js:520
↓ 2 callersFunctiongetResolver
(resolverCache, scopes, prefixes)
src/core/core.config.js:500
↓ 2 callersFunctiongetRoutes
(scope: string)
src/core/core.defaults.ts:273
↓ 2 callersFunctiongetSortedDatasetIndices
(chart, filterVisible)
src/core/core.datasetController.js:59
↓ 2 callersMethodgetTicks
()
src/types/index.ts:1393
↓ 2 callersFunctiongetTicksLimit
(ticksLength, maxTicksLimit)
src/core/core.scale.js:11
↓ 2 callersFunctiongetTitleHeight
* @param {object} options
src/core/core.scale.js:95
↓ 2 callersFunctiongetTooltipSize
* Get the size of the tooltip
src/plugins/plugin.tooltip.js:184
↓ 2 callersMethodgetUserBounds
* @return {{min: number, max: number, minDefined: boolean, maxDefined: boolean}} * @protected * @since 3.0
src/core/core.scale.js:283
↓ 2 callersFunctiongetValueAxis
(indexAxis: 'x' | 'y')
src/helpers/helpers.curve.ts:10
↓ 2 callersMethodhandleTickRangeOptions
()
src/scales/scale.linearbase.js:223
↓ 2 callersMethodhasValue
()
src/core/core.element.ts:22
↓ 2 callersFunctionidMatchesAxis
(id)
src/core/core.config.js:26
↓ 2 callersFunctioninRange
(el: PointElement, pos: number, axis: 'x' | 'y', useFinalPosition?: boolean)
src/elements/element.point.ts:11
↓ 2 callersMethodincludeOptions
* Utility for determining if `options` should be included in the updated properties * @protected
src/core/core.datasetController.js:914
↓ 2 callersMethodinit
(options: O)
src/types/index.ts:1389
↓ 2 callersFunctioninitData
(data)
src/core/core.config.js:217
↓ 2 callersMethodinitOffsets
* 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 callersFunctioninitOptions
(config, records)
src/core/core.config.js:210
↓ 2 callersMethodinitialize
(options)
src/plugins/plugin.tooltip.js:536
↓ 2 callersMethodinterpolate
(point: Point, property: 'x' | 'y')
src/types/index.ts:2036
↓ 2 callersMethodinvalidate
()
src/core/core.plugins.ts:70
↓ 2 callersFunctioninvalidatePlugins
()
src/core/core.controller.js:1390
↓ 2 callersMethodisAttached
* @param {HTMLCanvasElement} canvas
src/platform/platform.dom.js:385
↓ 2 callersMethodisForType
(type: any)
src/core/core.typedRegistry.ts:19
↓ 2 callersMethodisHorizontal
()
src/plugins/plugin.title.js:54
↓ 2 callersMethodisScriptable
(key: string)
src/helpers/helpers.config.types.ts:39
↓ 2 callersFunctionisStacked
(scale, meta)
src/core/core.datasetController.js:119
↓ 2 callersFunctionisValidKey
(key: string)
src/helpers/helpers.core.ts:212
↓ 2 callersMethodlinkScales
()
src/core/core.datasetController.js:311
↓ 2 callersFunctionlistenArrayEvents
(array, listener)
src/helpers/helpers.collection.ts:166
↓ 2 callersMethodmethod
(arg)
test/specs/helpers.config.unit.spec.js:930
↓ 2 callersFunctionnodeListContains
(nodeList, canvas)
src/platform/platform.dom.js:121
↓ 2 callersMethodnormalize
* @param {number[]} values * @protected
src/scales/scale.time.js:680
↓ 2 callersFunctionoverrideCallbacks
(callbacks, context)
src/plugins/plugin.tooltip.js:392
↓ 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:463
↓ 2 callersMethodparse
(raw, index)
src/scales/scale.category.js:98
↓ 2 callersFunctionparseArrayOrPrimitive
(meta: BarMeta, data: unknown[], start: number, count: number)
src/controllers/controller.bar.ts:278
↓ 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: unknown, item: BarParsed, vScale: BarScale, i: number)
src/controllers/controller.bar.ts:269
↓ 2 callersMethodpath
(ctx: CanvasRenderingContext2D)
src/types/index.ts:2038
↓ 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: PointElement[], segment: PathSegment, params: PathParams = {})
src/elements/element.line.ts:62
↓ 2 callersFunctionpropertyFn
(property: string)
src/helpers/helpers.segment.ts:35
↓ 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.ts:1141
↓ 2 callersFunctionresolveFallback
( fallback: ResolverObjectKey | ((prop: ResolverObjectKey, value: unknown) => ResolverObjectKey), prop: Re
src/helpers/helpers.config.ts:302
↓ 2 callersMethodresolveNamedOptions
* @param {object[]} scopes * @param {string[]} names * @param {function|object} context * @param {string[]} [prefixes] * @return {object}
src/core/core.config.js:468
↓ 2 callersFunctionretinaScale
( chart: Chart | PrivateChart, forceRatio: number, forceStyle?: boolean )
src/helpers/helpers.dom.ts:247
↓ 2 callersFunctionround1
(v: number)
src/helpers/helpers.dom.ts:166
↓ 2 callersFunctionsameLabel
(a, b)
src/scales/scale.category.js:5
↓ 2 callersFunctionsample
* Returns a new array containing numItems from arr * @param {any[]} arr * @param {number} numItems
src/core/core.scale.js:23
↓ 2 callersFunctionsetStyle
(ctx: CanvasRenderingContext2D, options: AnyObject, style: AnyObject = options)
src/elements/element.line.ts:35
↓ 2 callersFunctionsetsEqual
(a: Set<T>, b: Set<T>)
src/helpers/helpers.core.ts:398
↓ 2 callersMethodshow
(datasetIndex, dataIndex)
src/core/core.controller.js:991
↓ 2 callersFunctionskip
* 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 callersFunctionskipOrLimit
(skip: boolean, value: number, min: number, max: number)
src/elements/element.bar.ts:46
↓ 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:183
↓ 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:1137
↓ 2 callersMethodupdateControlPoints
(chartArea: ChartArea, indexAxis?: 'x' | 'y')
src/types/index.ts:2031
↓ 2 callersMethodupdateElements
(element, start, count, mode)
src/core/core.datasetController.js:1114
↓ 2 callersMethodupdateHoverStyle
(items, mode, enabled)
src/core/core.controller.js:1149
↓ 2 callersFunctionupdateMaxPadding
(maxPadding: ChartArea, boxPadding: ChartArea)
src/core/core.layouts.ts:157
↓ 2 callersMethodupdateSharedOptions
* Utility to animate the shared options, that are potentially affecting multiple elements. * @protected
src/core/core.datasetController.js:946
↓ 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:7
↓ 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:44
↓ 1 callersFunction_animationsNeedContext
(resolver)
src/core/core.animations.js:152
↓ 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_cache
(target: AnyObject, prop: string, value: unknown)
src/helpers/helpers.config.ts:230
↓ 1 callersMethod_cachedScopes
* @private
src/core/core.config.js:397
↓ 1 callersMethod_calculateBarIndexPixels
* @internal
src/controllers/controller.bar.ts:782
↓ 1 callersMethod_calculatePadding
(first, last, sin, cos)
src/core/core.scale.js:694
↓ 1 callersMethod_checkEventBindings
* @private
src/core/core.controller.js:633
↓ 1 callersMethod_circumference
* @private
src/controllers/controller.doughnut.js:246
↓ 1 callersMethod_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
← previousnext →301–400 of 1,573, ranked by callers