MCPcopy Create free account

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

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

↓ 1 callersFunctioncalculateItemSize
(boxWidth, labelFont, ctx, legendItem, _itemHeight)
src/plugins/plugin.legend.js:555
↓ 1 callersFunctioncalculateItemWidth
(legendItem, boxWidth, labelFont, ctx)
src/plugins/plugin.legend.js:561
↓ 1 callersMethodcalculateLabelRotation
()
src/core/core.scale.js:586
↓ 1 callersFunctioncalculateSpacing
* @param {number[]} majorIndices * @param {Tick[]} ticks * @param {number} ticksLimit
src/core/core.scale.autoskip.js:62
↓ 1 callersMethodcalculateTotal
()
src/controllers/controller.doughnut.js:296
↓ 1 callersFunctioncallback
( fn: T | undefined, args: unknown[], thisArg?: TA )
src/helpers/helpers.core.ts:103
↓ 1 callersMethodcallback
(label)
src/scales/scale.radialLinear.js:388
↓ 1 callersFunctioncapBezierPoints
(points: SplinePoint[], area: ChartArea)
src/helpers/helpers.curve.ts:161
↓ 1 callersFunctioncapControlPoint
(pt: number, min: number, max: number)
src/helpers/helpers.curve.ts:157
↓ 1 callersFunctionclipArc
(ctx: CanvasRenderingContext2D, element: ArcElement, endAngle: number)
src/elements/element.arc.ts:41
↓ 1 callersFunctionclipBounds
(ctx, scale, clip, bounds)
src/plugins/plugin.filler/filler.drawing.js:167
↓ 1 callersFunctionclipHorizontal
(ctx, target, clipX)
src/plugins/plugin.filler/filler.drawing.js:98
↓ 1 callersFunctionclipSelf
(ctx: CanvasRenderingContext2D, element: ArcElement, endAngle: number)
src/elements/element.arc.ts:7
↓ 1 callersFunctionclipToIndexBounds
(area, iScale)
src/plugins/plugin.filler/filler.drawing.js:25
↓ 1 callersFunctionclipVertical
(ctx, target, clipY)
src/plugins/plugin.filler/filler.drawing.js:68
↓ 1 callersFunctioncloneIfNotShared
(cached, shared)
src/core/core.datasetController.js:230
↓ 1 callersFunctioncolor
(index)
docs/scripts/utils.js:118
↓ 1 callersFunctioncolorizeDefaultDataset
(dataset: ChartDataset, i: number)
src/plugins/plugin.colors.ts:35
↓ 1 callersFunctioncolorizeDoughnutDataset
(dataset: ChartDataset, i: number)
src/plugins/plugin.colors.ts:42
↓ 1 callersFunctioncolorizePolarAreaDataset
(dataset: ChartDataset, i: number)
src/plugins/plugin.colors.ts:48
↓ 1 callersFunctioncomputeBoundary
(source)
src/plugins/plugin.filler/filler.target.js:47
↓ 1 callersFunctioncomputeCircularBoundary
(source)
src/plugins/plugin.filler/filler.target.js:73
↓ 1 callersFunctioncomputeFitCategoryTraits
* 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 callersFunctioncomputeFlexCategoryTraits
* 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 callersFunctioncomputeLinearBoundary
(source)
src/plugins/plugin.filler/filler.target.js:57
↓ 1 callersFunctioncomputeMinSampleSize
* Computes the "optimal" sample size to maintain bars equally sized while preventing overlap. * @private
src/controllers/controller.bar.js:24
↓ 1 callersFunctioncomputeOuterLimit
(val)
src/elements/element.arc.ts:78
↓ 1 callersMethodcomputeTickLimit
* @protected
src/scales/scale.linearbase.js:240
↓ 1 callersMethodconfigure
(config)
src/core/core.animations.js:13
↓ 1 callersMethodconfigure
* Merges user-supplied and default dataset-level options * @private
src/core/core.datasetController.js:438
↓ 1 callersMethodconfigure
* @protected
src/core/core.scale.js:480
↓ 1 callersFunctioncontainsColorsDefinition
( descriptor: ColorsDescriptor )
src/plugins/plugin.colors.ts:84
↓ 1 callersFunctioncontainsColorsDefinitions
( descriptors: ColorsDescriptor[] | Record<string, ColorsDescriptor> )
src/plugins/plugin.colors.ts:70
↓ 1 callersFunctioncontainsDefaultColorsDefenitions
()
src/plugins/plugin.colors.ts:90
↓ 1 callersFunctionconvertObjectDataToArray
(data, meta)
src/core/core.datasetController.js:102
↓ 1 callersMethodcountVisibleElements
()
src/controllers/controller.polarArea.js:216
↓ 1 callersFunctioncreateArc
(spacingMode)
test/specs/element.arc.tests.js:308
↓ 1 callersFunctioncreateDataContext
(parent, index, element)
src/core/core.datasetController.js:195
↓ 1 callersFunctioncreateDatasetContext
(parent, index)
src/core/core.datasetController.js:182
↓ 1 callersFunctioncreateDescriptors
(chart, {plugins, localIds}, options, all)
src/core/core.plugins.js:156
↓ 1 callersFunctioncreatePointLabelContext
(parent, index, label)
src/scales/scale.radialLinear.js:330
↓ 1 callersFunctioncreatePointLabelItem
(scale, index, itemOpts)
src/scales/scale.radialLinear.js:139
↓ 1 callersFunctioncreateScale
(data, options, dimensions)
test/specs/scale.time.tests.js:5
↓ 1 callersFunctioncreateScaleContext
(parent, scale)
src/core/core.scale.js:107
↓ 1 callersFunctioncreateStack
(canStack, meta, chart)
src/core/core.datasetController.js:231
↓ 1 callersFunctioncreateTickContext
(parent, index, tick)
src/core/core.scale.js:114
↓ 1 callersFunctioncreateTitle
(chart, titleOpts)
src/plugins/plugin.title.js:108
↓ 1 callersFunctioncreateTooltipContext
(parent, tooltip, tooltipItems)
src/plugins/plugin.tooltip.js:348
↓ 1 callersFunctioncreateTooltipItem
* 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 callersMethoddatasetAnimationScopeKeys
* 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 callersMethoddatasetElementScopeKeys
* 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 callersMethoddatasetScopeKeys
* 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 callersFunctiondebounce
(fn: (...args: TArgs) => void, delay: number)
src/helpers/helpers.extras.ts:50
↓ 1 callersFunctiondecodeTargetIndex
(firstCh, index, target, count)
src/plugins/plugin.filler/filler.options.js:63
↓ 1 callersFunctiondecodedFillValues
(chart)
test/specs/plugin.filler.tests.js:3
↓ 1 callersFunctiondecorateText
( ctx: CanvasRenderingContext2D, x: number, y: number, line: string, opts: RenderTextOpts )
src/helpers/helpers.canvas.ts:407
↓ 1 callersFunctiondefaultClip
(xScale, yScale, allowedOverflow)
src/core/core.datasetController.js:23
↓ 1 callersMethoddescribe
* @param {string|object} scope * @param {object} [values]
src/core/core.defaults.js:105
↓ 1 callersMethoddetermineDataLimits
()
src/types/index.d.ts:1398
↓ 1 callersMethoddetermineDataLimits
()
src/core/core.scale.js:543
↓ 1 callersFunctiondetermineLastEvent
* @param {ChartEvent} e * @param {ChartEvent|null} lastEvent * @param {boolean} inChartArea * @param {boolean} isClick * @returns {ChartEvent|null
src/core/core.controller.js:93
↓ 1 callersFunctiondetermineLimits
(angle, pos, size, min, max)
src/scales/scale.radialLinear.js:27
↓ 1 callersFunctiondetermineMajorUnit
* @param {Unit} unit * @return {object}
src/scales/scale.time.js:126
↓ 1 callersFunctiondetermineMaxTicks
(scale)
src/core/core.scale.autoskip.js:49
↓ 1 callersFunctiondetermineUnitForFormatting
* 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 callersFunctiondetermineXAlign
(chart, options, size, yAlign)
src/plugins/plugin.tooltip.js:246
↓ 1 callersFunctiondetermineYAlign
(chart, size)
src/plugins/plugin.tooltip.js:223
↓ 1 callersFunctiondoFill
(ctx, cfg)
src/plugins/plugin.filler/filler.drawing.js:40
↓ 1 callersFunctiondoSplitByStyles
* @param {LineElement} line * @param {Segment[]} segments * @param {PointElement[]} points * @param {object} [segmentOptions] * @return {Segment[]
src/helpers/helpers.segment.js:279
↓ 1 callersFunctiondoesNotFitWithAlign
(xAlign, chart, options, size)
src/plugins/plugin.tooltip.js:234
↓ 1 callersFunctiondraw
(ctx, line, start, count)
src/elements/element.line.js:235
↓ 1 callersMethoddraw
()
src/core/core.controller.js:698
↓ 1 callersMethoddraw
(chartArea)
src/core/core.scale.js:1623
↓ 1 callersFunctiondrawArc
( ctx: CanvasRenderingContext2D, element: ArcElement, offset: number, spacing: number, circular: boo
src/elements/element.arc.ts:289
↓ 1 callersFunctiondrawBackdrop
(ctx: CanvasRenderingContext2D, opts: BackdropOptions)
src/helpers/helpers.canvas.ts:438
↓ 1 callersMethoddrawBackground
(pt, ctx, tooltipSize, options)
src/plugins/plugin.tooltip.js:961
↓ 1 callersMethoddrawBody
(pt, ctx, options)
src/plugins/plugin.tooltip.js:871
↓ 1 callersFunctiondrawBorder
( ctx: CanvasRenderingContext2D, element: ArcElement, offset: number, spacing: number, circular: boo
src/elements/element.arc.ts:312
↓ 1 callersMethoddrawCaret
(tooltipPoint, ctx, size, options)
src/plugins/plugin.tooltip.js:691
↓ 1 callersMethoddrawFooter
(pt, ctx, options)
src/plugins/plugin.tooltip.js:935
↓ 1 callersFunctiondrawMousePoint
(ctx, center)
test/fixtures/controller.doughnut/event-replay.js:1
↓ 1 callersFunctiondrawPointLabelBox
(ctx, opts, item)
src/scales/scale.radialLinear.js:231
↓ 1 callersFunctiondrawPointLabels
(scale, labelCount)
src/scales/scale.radialLinear.js:261
↓ 1 callersFunctiondrawRadiusLine
(scale, gridLineOpts, radius, labelCount, borderOpts)
src/scales/scale.radialLinear.js:307
↓ 1 callersMethoddrawTitle
* @protected
src/plugins/plugin.legend.js:443
↓ 1 callersMethoddrawTitle
(pt, ctx, options)
src/plugins/plugin.tooltip.js:756
↓ 1 callersFunctiondrawX
()
src/elements/element.line.js:127
↓ 1 callersFunctionendIsBefore
()
src/helpers/helpers.segment.js:93
↓ 1 callersMethodensureScalesHaveIDs
()
src/core/core.controller.js:304
↓ 1 callersFunctionfill
(ctx, cfg)
src/plugins/plugin.filler/filler.drawing.js:128
↓ 1 callersFunctionfilterByPosition
(array, position)
src/core/core.layouts.js:10
↓ 1 callersFunctionfilterDynamicPositionByAxis
(array, axis)
src/core/core.layouts.js:14
↓ 1 callersFunctionfindOrAddLabel
(labels, raw, index, addedLabels)
src/scales/scale.category.js:14
↓ 1 callersFunctionfindPoint
* @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 callersFunctionfindStartAndEnd
* Find start and end index of a line.
src/helpers/helpers.segment.js:157
↓ 1 callersFunctionfirstOuterArcStartAngle
(arc)
test/specs/element.arc.tests.js:329
↓ 1 callersMethodfit
()
src/core/core.scale.js:634
↓ 1 callersMethodfit
()
src/plugins/plugin.legend.js:123
↓ 1 callersFunctionfitBoxes
(boxes, chartArea, params, stacks)
src/core/core.layouts.js:179
↓ 1 callersFunctionfitWithPointLabels
* Helper function to fit a radial linear scale with point labels
src/scales/scale.radialLinear.js:49
← previousnext →501–600 of 1,409, ranked by callers