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
↓ 1 callers
Method
_columnRight
* End of a vertical legend column's text area: the next column's left edge * minus padding, or the legend's right edge for the last column. * @p
src/plugins/plugin.legend.ts:494
↓ 1 callers
Method
_computeAngle
@internal
src/controllers/controller.polarArea.ts:234
↓ 1 callers
Method
_computeGridLineItems
* @private
src/core/core.scale.js:1021
↓ 1 callers
Method
_computeLabelArea
* @private
src/core/core.scale.js:1428
↓ 1 callers
Method
_computeLabelItems
* @private
src/core/core.scale.js:1155
↓ 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:827
↓ 1 callers
Function
_computeSegments
(line: LineElement, segmentOptions?: object)
src/helpers/helpers.segment.ts:261
↓ 1 callers
Method
_computeTitleWidth
* @private
src/plugins/plugin.legend.ts:676
↓ 1 callers
Method
_convertTicksToLabels
* @param {Tick[]} ticks * @private
src/core/core.scale.js:780
↓ 1 callers
Method
_createItems
* @private
src/plugins/plugin.tooltip.js:638
↓ 1 callers
Method
_deactivateDatasetElements
* In hover mode 'dataset', ends the active state of the dataset elements whose * items were all dropped. A dataset with an item still active keeps
src/core/core.controller.js:592
↓ 1 callers
Method
_deactivateHidden
* Drops the hidden data from the active elements before the datasets update, so * the update resolves their normal options. Their hover style ends
src/core/core.controller.js:550
↓ 1 callers
Function
_decimalPlaces
(x: number)
src/helpers/helpers.math.ts:110
↓ 1 callers
Function
_decodeFill
(line: LineElement, index: number, count: number)
src/plugins/plugin.filler/filler.options.ts:40
↓ 1 callers
Method
_descriptors
* @internal
src/core/core.plugins.ts:85
↓ 1 callers
Method
_destroy
* @private
src/core/core.datasetController.js:364
↓ 1 callers
Function
_detectPlatform
(canvas)
src/platform/index.ts:6
↓ 1 callers
Method
_draw
* @private
src/plugins/plugin.legend.ts:517
↓ 1 callers
Method
_drawArgs
(offset)
src/plugins/plugin.title.js:59
↓ 1 callers
Method
_drawColorBox
* @private
src/plugins/plugin.tooltip.js:847
↓ 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:862
↓ 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:844
↓ 1 callers
Method
_dropHiddenActive
* Drops the active elements whose data is hidden or no longer exists, after the chart * updated its datasets, as the chart does with its own. The t
src/plugins/plugin.tooltip.js:1156
↓ 1 callers
Method
_exec
* @internal
src/core/core.registry.ts:116
↓ 1 callers
Function
_factorize
(value: number)
src/helpers/helpers.math.ts:41
↓ 1 callers
Method
_fitCols
* @param maxHeight - the height of the legend, title included, that a column may take with its padding * @private
src/plugins/plugin.legend.ts:398
↓ 1 callers
Method
_fitRows
* @param maxWidth - the width a row may take, its outer padding included * @private
src/plugins/plugin.legend.ts:348
↓ 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:456
↓ 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:1374
↓ 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:1266
↓ 1 callers
Method
_getAxisCount
* @internal
src/controllers/controller.bar.ts:606
↓ 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.ts:207
↓ 1 callers
Function
_getKeyResolver
(key: string)
src/helpers/helpers.core.ts:365
↓ 1 callers
Method
_getLabelBounds
* @private
src/scales/scale.time.js:359
↓ 1 callers
Method
_getLabelSize
* @param {string} label * @return {{w:number, h:number}} * @private
src/scales/scale.time.js:600
↓ 1 callers
Method
_getOtherScale
* @private
src/core/core.datasetController.js:350
↓ 1 callers
Method
_getRegistryForType
* @internal
src/core/core.registry.ts:126
↓ 1 callers
Method
_getRotationExtents
* Get the maximal rotation & circumference extents * across all visible datasets.
src/controllers/controller.doughnut.js:187
↓ 1 callers
Method
_getRuler
* @internal
src/controllers/controller.bar.ts:658
↓ 1 callers
Function
_getTarget
(source)
src/plugins/plugin.filler/filler.target.ts:12
↓ 1 callers
Method
_getTarget
()
src/helpers/helpers.config.types.ts:20
↓ 1 callers
Function
_getTargetPixel
(fill: FillTarget | ComplexFillTarget, scale: Scale)
src/plugins/plugin.filler/filler.options.ts:68
↓ 1 callers
Function
_getTargetValue
( fill: FillTarget | ComplexFillTarget, scale: Scale, startValue: number )
src/plugins/plugin.filler/filler.options.ts:82
↓ 1 callers
Method
_getTimestampsForTable
* Returns all timestamps * @return {number[]} * @private
src/scales/scale.timeseries.js:137
↓ 1 callers
Method
_getUniformDataChanges
* @private
src/core/core.controller.js:660
↓ 1 callers
Method
_getVisibleDatasetWeightTotal
* Returns the sum of all visible data set weights. * @private
src/controllers/controller.doughnut.js:407
↓ 1 callers
Method
_getXAxisLabelAlignment
()
src/core/core.scale.js:1336
↓ 1 callers
Method
_getYAxisLabelAlignment
(tl)
src/core/core.scale.js:1357
↓ 1 callers
Method
_handleMargins
* Handle margins and padding interactions * @private
src/core/core.scale.js:748
↓ 1 callers
Method
_initialize
* @private
src/core/core.controller.js:241
↓ 1 callers
Method
_insertElements
* @private
src/core/core.datasetController.js:1079
↓ 1 callers
Function
_int16Range
(value: number)
src/helpers/helpers.math.ts:197
↓ 1 callers
Function
_isCached
(target: AnyObject, prop: string)
src/helpers/helpers.config.ts:226
↓ 1 callers
Method
_isDataVisible
* Whether the data item at `index` is shown. A hidden data item cannot be active. * Controllers that hide data by `chart.toggleDataVisibility` also
src/core/core.datasetController.js:768
↓ 1 callers
Function
_longestText
( ctx: CanvasRenderingContext2D, font: string, arrayOfThings: Things, cache?: {data?: Record<string, n
src/helpers/helpers.canvas.ts:64
↓ 1 callers
Method
_maxDigits
* @protected
src/core/core.scale.js:1713
↓ 1 callers
Function
_merger
(key: string, target: AnyObject, source: AnyObject, options: AnyObject)
src/helpers/helpers.core.ts:221
↓ 1 callers
Method
_notifyStateChanges
* @internal
src/core/core.plugins.ts:108
↓ 1 callers
Function
_pointsFromSegments
(boundary, line)
src/plugins/plugin.filler/filler.segment.js:65
↓ 1 callers
Method
_refresh
* @private
src/core/core.animator.js:38
↓ 1 callers
Method
_removeElements
* @private
src/core/core.datasetController.js:1119
↓ 1 callers
Method
_removeUnreferencedMetasets
* @private
src/core/core.controller.js:412
↓ 1 callers
Method
_replayActive
* Replays the last event from before the update, or sets the hover styles on the active elements. * @private
src/core/core.controller.js:609
↓ 1 callers
Method
_resetElements
* Reset the elements of all datasets * @private
src/core/core.controller.js:471
↓ 1 callers
Method
_resetElements
* Resets the given elements that are still in the dataset, in contiguous runs. * @private
src/core/core.datasetController.js:1058
↓ 1 callers
Function
_resolveArray
( prop: string, value: unknown[], target: ContextCache, isIndexable: (key: string) => boolean )
src/helpers/helpers.config.ts:277
↓ 1 callers
Method
_resolveBase
* Resolves `base` for one bar. An array or a function gives each bar its own base, * resolved with the bar's context. Any other value is shared by a
src/controllers/controller.bar.ts:691
↓ 1 callers
Function
_resolveScriptable
( prop: string, getValue: (ctx: AnyObject, sub: AnyObject) => unknown, target: ContextCache, receiver:
src/helpers/helpers.config.ts:257
↓ 1 callers
Function
_resolveTarget
(sources, index, propagate)
src/plugins/plugin.filler/filler.options.ts:9
↓ 1 callers
Function
_resolveWithContext
( target: ContextCache, prop: string, receiver: AnyObject )
src/helpers/helpers.config.ts:235
↓ 1 callers
Function
_resolveWithPrefixes
( prop: string, prefixes: string[], scopes: AnyObject[], proxy: ResolverProxy )
src/helpers/helpers.config.ts:398
↓ 1 callers
Method
_resyncElements
* @private
src/core/core.datasetController.js:1020
↓ 1 callers
Function
_rlookupByKey
( table: Record<string, number>[], key: string, value: number )
src/helpers/helpers.collection.ts:78
↓ 1 callers
Function
_segments
(line, target, property)
src/plugins/plugin.filler/filler.segment.js:3
↓ 1 callers
Function
_splitKey
(key: string)
src/helpers/helpers.core.ts:349
↓ 1 callers
Function
_steppedInterpolation
( p1: Point, p2: Point, t: number, mode: 'middle' | 'after' | unknown )
src/helpers/helpers.interpolation.ts:16
↓ 1 callers
Method
_tickSize
* @return {number} * @private
src/core/core.scale.js:985
↓ 1 callers
Method
_update
* @private
src/core/core.datasetController.js:717
↓ 1 callers
Method
_updateAnimationTarget
* Update x/y animation targets when _active elements are animating too * @private
src/plugins/plugin.tooltip.js:1064
↓ 1 callers
Function
_updateBezierControlPoints
( points: SplinePoint[], options, area: ChartArea, loop: boolean, indexAxis: 'x' | 'y' )
src/helpers/helpers.curve.ts:186
↓ 1 callers
Method
_updateDataset
* Updates dataset at index unless a plugin returns `false` to the `beforeDatasetUpdate` * hook, in which case, plugins will not be called on `afterD
src/core/core.controller.js:748
↓ 1 callers
Method
_updateDatasets
* Updates all datasets unless a plugin returns `false` to the `beforeDatasetsUpdate` * hook, in which case, plugins will not be called on `afterData
src/core/core.controller.js:727
↓ 1 callers
Method
_updateHiddenIndices
* @private
src/core/core.controller.js:648
↓ 1 callers
Method
_updateLayout
* Updates the chart layout unless a plugin returns `false` to the `beforeLayout` * hook, in which case, plugins will not be called on `afterLayout`.
src/core/core.controller.js:690
↓ 1 callers
Method
_updateMetasets
* @private
src/core/core.controller.js:394
↓ 1 callers
Method
_updateRadius
@internal
src/controllers/controller.polarArea.ts:151
↓ 1 callers
Method
_updateScales
* @private
src/core/core.controller.js:621
↓ 1 callers
Method
_valueToAxis
* A tick value in the space of `_startValue` and `_valueRange`, decades. * @param {number} value * @private
src/scales/scale.logarithmic.js:216
↓ 1 callers
Method
_willRender
* Determine if the tooltip will draw anything * @returns {boolean} True if the tooltip will render
src/plugins/plugin.tooltip.js:1094
↓ 1 callers
Function
acquireBarChart
(data, y, interaction)
test/specs/core.interaction.spec.js:914
↓ 1 callers
Function
acquireChartWithCallback
(labels, callback, state)
test/specs/core.scale.spec.js:466
↓ 1 callers
Method
acquireContext
* @param {HTMLCanvasElement} canvas * @param {number} [aspectRatio] * @return {CanvasRenderingContext2D|null}
src/platform/platform.dom.js:267
↓ 1 callers
Function
acquireCutOffChart
(position)
test/specs/plugin.tooltip.spec.js:1310
↓ 1 callers
Function
acquireDatasetModeChart
(options, plugins = [])
test/specs/core.controller.spec.js:3272
↓ 1 callers
Function
acquireLineChart
(onClick)
test/specs/core.controller.spec.js:3007
↓ 1 callers
Function
acquirePie
(legendOnHover)
test/specs/plugin.tooltip.spec.js:2088
↓ 1 callers
Function
acquirePointChart
()
test/specs/core.controller.spec.js:3120
↓ 1 callers
Method
addControllers
(...args: ChartComponentLike[])
src/types/index.ts:1186
↓ 1 callers
Method
addElements
()
src/controllers/controller.scatter.js:111
← previous
next →
401–500 of 1,573, ranked by callers