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
↓ 1 callers
Function
calculateItemSize
(boxWidth, labelFont, ctx, legendItem, _itemHeight)
src/plugins/plugin.legend.js:555
↓ 1 callers
Function
calculateItemWidth
(legendItem, boxWidth, labelFont, ctx)
src/plugins/plugin.legend.js:561
↓ 1 callers
Method
calculateLabelRotation
()
src/core/core.scale.js:586
↓ 1 callers
Function
calculateSpacing
* @param {number[]} majorIndices * @param {Tick[]} ticks * @param {number} ticksLimit
src/core/core.scale.autoskip.js:62
↓ 1 callers
Method
calculateTotal
()
src/controllers/controller.doughnut.js:296
↓ 1 callers
Function
callback
( fn: T | undefined, args: unknown[], thisArg?: TA )
src/helpers/helpers.core.ts:103
↓ 1 callers
Method
callback
(label)
src/scales/scale.radialLinear.js:388
↓ 1 callers
Function
capBezierPoints
(points: SplinePoint[], area: ChartArea)
src/helpers/helpers.curve.ts:161
↓ 1 callers
Function
capControlPoint
(pt: number, min: number, max: number)
src/helpers/helpers.curve.ts:157
↓ 1 callers
Function
clipArc
(ctx: CanvasRenderingContext2D, element: ArcElement, endAngle: number)
src/elements/element.arc.ts:41
↓ 1 callers
Function
clipBounds
(ctx, scale, clip, bounds)
src/plugins/plugin.filler/filler.drawing.js:167
↓ 1 callers
Function
clipHorizontal
(ctx, target, clipX)
src/plugins/plugin.filler/filler.drawing.js:98
↓ 1 callers
Function
clipSelf
(ctx: CanvasRenderingContext2D, element: ArcElement, endAngle: number)
src/elements/element.arc.ts:7
↓ 1 callers
Function
clipToIndexBounds
(area, iScale)
src/plugins/plugin.filler/filler.drawing.js:25
↓ 1 callers
Function
clipVertical
(ctx, target, clipY)
src/plugins/plugin.filler/filler.drawing.js:68
↓ 1 callers
Function
cloneIfNotShared
(cached, shared)
src/core/core.datasetController.js:230
↓ 1 callers
Function
color
(index)
docs/scripts/utils.js:118
↓ 1 callers
Function
colorizeDefaultDataset
(dataset: ChartDataset, i: number)
src/plugins/plugin.colors.ts:35
↓ 1 callers
Function
colorizeDoughnutDataset
(dataset: ChartDataset, i: number)
src/plugins/plugin.colors.ts:42
↓ 1 callers
Function
colorizePolarAreaDataset
(dataset: ChartDataset, i: number)
src/plugins/plugin.colors.ts:48
↓ 1 callers
Function
computeBoundary
(source)
src/plugins/plugin.filler/filler.target.js:47
↓ 1 callers
Function
computeCircularBoundary
(source)
src/plugins/plugin.filler/filler.target.js:73
↓ 1 callers
Function
computeFitCategoryTraits
* Computes an "ideal" category based on the absolute bar thickness or, if undefined or null, * uses the smallest interval (see computeMinSampleSize)
src/controllers/controller.bar.js:61
↓ 1 callers
Function
computeFlexCategoryTraits
* Computes an "optimal" category that globally arranges bars side by side (no gap when * percentage options are 1), based on the previous and followi
src/controllers/controller.bar.js:89
↓ 1 callers
Function
computeLinearBoundary
(source)
src/plugins/plugin.filler/filler.target.js:57
↓ 1 callers
Function
computeMinSampleSize
* Computes the "optimal" sample size to maintain bars equally sized while preventing overlap. * @private
src/controllers/controller.bar.js:24
↓ 1 callers
Function
computeOuterLimit
(val)
src/elements/element.arc.ts:78
↓ 1 callers
Method
computeTickLimit
* @protected
src/scales/scale.linearbase.js:240
↓ 1 callers
Method
configure
(config)
src/core/core.animations.js:13
↓ 1 callers
Method
configure
* Merges user-supplied and default dataset-level options * @private
src/core/core.datasetController.js:438
↓ 1 callers
Method
configure
* @protected
src/core/core.scale.js:480
↓ 1 callers
Function
containsColorsDefinition
( descriptor: ColorsDescriptor )
src/plugins/plugin.colors.ts:84
↓ 1 callers
Function
containsColorsDefinitions
( descriptors: ColorsDescriptor[] | Record<string, ColorsDescriptor> )
src/plugins/plugin.colors.ts:70
↓ 1 callers
Function
containsDefaultColorsDefenitions
()
src/plugins/plugin.colors.ts:90
↓ 1 callers
Function
convertObjectDataToArray
(data, meta)
src/core/core.datasetController.js:102
↓ 1 callers
Method
countVisibleElements
()
src/controllers/controller.polarArea.js:216
↓ 1 callers
Function
createArc
(spacingMode)
test/specs/element.arc.tests.js:308
↓ 1 callers
Function
createDataContext
(parent, index, element)
src/core/core.datasetController.js:195
↓ 1 callers
Function
createDatasetContext
(parent, index)
src/core/core.datasetController.js:182
↓ 1 callers
Function
createDescriptors
(chart, {plugins, localIds}, options, all)
src/core/core.plugins.js:156
↓ 1 callers
Function
createPointLabelContext
(parent, index, label)
src/scales/scale.radialLinear.js:330
↓ 1 callers
Function
createPointLabelItem
(scale, index, itemOpts)
src/scales/scale.radialLinear.js:139
↓ 1 callers
Function
createScale
(data, options, dimensions)
test/specs/scale.time.tests.js:5
↓ 1 callers
Function
createScaleContext
(parent, scale)
src/core/core.scale.js:107
↓ 1 callers
Function
createStack
(canStack, meta, chart)
src/core/core.datasetController.js:231
↓ 1 callers
Function
createTickContext
(parent, index, tick)
src/core/core.scale.js:114
↓ 1 callers
Function
createTitle
(chart, titleOpts)
src/plugins/plugin.title.js:108
↓ 1 callers
Function
createTooltipContext
(parent, tooltip, tooltipItems)
src/plugins/plugin.tooltip.js:348
↓ 1 callers
Function
createTooltipItem
* Private helper to create a tooltip item model * @param {Chart} chart * @param {ActiveElement} item - {element, index, datasetIndex} to create the
src/plugins/plugin.tooltip.js:127
↓ 1 callers
Method
datasetAnimationScopeKeys
* Returns the option scope keys for resolving dataset animation options. * These keys do not include the dataset itself, because it is not under op
src/core/core.config.js:229
↓ 1 callers
Method
datasetElementScopeKeys
* Returns the options scope keys for resolving element options that belong * to an dataset. These keys do not include the dataset itself, because i
src/core/core.config.js:252
↓ 1 callers
Method
datasetScopeKeys
* Returns the option scope keys for resolving dataset options. * These keys do not include the dataset itself, because it is not under options.
src/core/core.config.js:214
↓ 1 callers
Function
debounce
(fn: (...args: TArgs) => void, delay: number)
src/helpers/helpers.extras.ts:50
↓ 1 callers
Function
decodeTargetIndex
(firstCh, index, target, count)
src/plugins/plugin.filler/filler.options.js:63
↓ 1 callers
Function
decodedFillValues
(chart)
test/specs/plugin.filler.tests.js:3
↓ 1 callers
Function
decorateText
( ctx: CanvasRenderingContext2D, x: number, y: number, line: string, opts: RenderTextOpts )
src/helpers/helpers.canvas.ts:407
↓ 1 callers
Function
defaultClip
(xScale, yScale, allowedOverflow)
src/core/core.datasetController.js:23
↓ 1 callers
Method
describe
* @param {string|object} scope * @param {object} [values]
src/core/core.defaults.js:105
↓ 1 callers
Method
determineDataLimits
()
src/types/index.d.ts:1398
↓ 1 callers
Method
determineDataLimits
()
src/core/core.scale.js:543
↓ 1 callers
Function
determineLastEvent
* @param {ChartEvent} e * @param {ChartEvent|null} lastEvent * @param {boolean} inChartArea * @param {boolean} isClick * @returns {ChartEvent|null
src/core/core.controller.js:93
↓ 1 callers
Function
determineLimits
(angle, pos, size, min, max)
src/scales/scale.radialLinear.js:27
↓ 1 callers
Function
determineMajorUnit
* @param {Unit} unit * @return {object}
src/scales/scale.time.js:126
↓ 1 callers
Function
determineMaxTicks
(scale)
src/core/core.scale.autoskip.js:49
↓ 1 callers
Function
determineUnitForFormatting
* Figures out what unit to format a set of ticks with * @param {TimeScale} scale * @param {number} numTicks * @param {Unit} minUnit * @param {numb
src/scales/scale.time.js:111
↓ 1 callers
Function
determineXAlign
(chart, options, size, yAlign)
src/plugins/plugin.tooltip.js:246
↓ 1 callers
Function
determineYAlign
(chart, size)
src/plugins/plugin.tooltip.js:223
↓ 1 callers
Function
doFill
(ctx, cfg)
src/plugins/plugin.filler/filler.drawing.js:40
↓ 1 callers
Function
doSplitByStyles
* @param {LineElement} line * @param {Segment[]} segments * @param {PointElement[]} points * @param {object} [segmentOptions] * @return {Segment[]
src/helpers/helpers.segment.js:279
↓ 1 callers
Function
doesNotFitWithAlign
(xAlign, chart, options, size)
src/plugins/plugin.tooltip.js:234
↓ 1 callers
Function
draw
(ctx, line, start, count)
src/elements/element.line.js:235
↓ 1 callers
Method
draw
()
src/core/core.controller.js:698
↓ 1 callers
Method
draw
(chartArea)
src/core/core.scale.js:1623
↓ 1 callers
Function
drawArc
( ctx: CanvasRenderingContext2D, element: ArcElement, offset: number, spacing: number, circular: boo
src/elements/element.arc.ts:289
↓ 1 callers
Function
drawBackdrop
(ctx: CanvasRenderingContext2D, opts: BackdropOptions)
src/helpers/helpers.canvas.ts:438
↓ 1 callers
Method
drawBackground
(pt, ctx, tooltipSize, options)
src/plugins/plugin.tooltip.js:961
↓ 1 callers
Method
drawBody
(pt, ctx, options)
src/plugins/plugin.tooltip.js:871
↓ 1 callers
Function
drawBorder
( ctx: CanvasRenderingContext2D, element: ArcElement, offset: number, spacing: number, circular: boo
src/elements/element.arc.ts:312
↓ 1 callers
Method
drawCaret
(tooltipPoint, ctx, size, options)
src/plugins/plugin.tooltip.js:691
↓ 1 callers
Method
drawFooter
(pt, ctx, options)
src/plugins/plugin.tooltip.js:935
↓ 1 callers
Function
drawMousePoint
(ctx, center)
test/fixtures/controller.doughnut/event-replay.js:1
↓ 1 callers
Function
drawPointLabelBox
(ctx, opts, item)
src/scales/scale.radialLinear.js:231
↓ 1 callers
Function
drawPointLabels
(scale, labelCount)
src/scales/scale.radialLinear.js:261
↓ 1 callers
Function
drawRadiusLine
(scale, gridLineOpts, radius, labelCount, borderOpts)
src/scales/scale.radialLinear.js:307
↓ 1 callers
Method
drawTitle
* @protected
src/plugins/plugin.legend.js:443
↓ 1 callers
Method
drawTitle
(pt, ctx, options)
src/plugins/plugin.tooltip.js:756
↓ 1 callers
Function
drawX
()
src/elements/element.line.js:127
↓ 1 callers
Function
endIsBefore
()
src/helpers/helpers.segment.js:93
↓ 1 callers
Method
ensureScalesHaveIDs
()
src/core/core.controller.js:304
↓ 1 callers
Function
fill
(ctx, cfg)
src/plugins/plugin.filler/filler.drawing.js:128
↓ 1 callers
Function
filterByPosition
(array, position)
src/core/core.layouts.js:10
↓ 1 callers
Function
filterDynamicPositionByAxis
(array, axis)
src/core/core.layouts.js:14
↓ 1 callers
Function
findOrAddLabel
(labels, raw, index, addedLabels)
src/scales/scale.category.js:14
↓ 1 callers
Function
findPoint
* @param {LineElement} line * @param {PointElement} sourcePoint * @param {string} property * @returns {{point?: PointElement, first?: boolean, last
src/plugins/plugin.filler/filler.target.stack.js:87
↓ 1 callers
Function
findStartAndEnd
* Find start and end index of a line.
src/helpers/helpers.segment.js:157
↓ 1 callers
Function
firstOuterArcStartAngle
(arc)
test/specs/element.arc.tests.js:329
↓ 1 callers
Method
fit
()
src/core/core.scale.js:634
↓ 1 callers
Method
fit
()
src/plugins/plugin.legend.js:123
↓ 1 callers
Function
fitBoxes
(boxes, chartArea, params, stacks)
src/core/core.layouts.js:179
↓ 1 callers
Function
fitWithPointLabels
* Helper function to fit a radial linear scale with point labels
src/scales/scale.radialLinear.js:49
← previous
next →
501–600 of 1,409, ranked by callers