MCPcopy Create free account

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

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

↓ 1 callersFunctioncountLegendClicks
(events, legendEvents)
test/specs/plugin.legend.spec.js:2077
↓ 1 callersMethodcountVisibleElements
()
src/controllers/controller.polarArea.ts:220
↓ 1 callersFunctioncoverAlignedText
* Widen and move the hit box of a vertical legend item so that it covers the * symbol and the aligned text, then mirror it for right-to-left. * @par
src/plugins/plugin.legend.ts:197
↓ 1 callersFunctioncreateArc
(spacingMode)
test/specs/element.arc.spec.js:308
↓ 1 callersFunctioncreateChart
()
test/specs/core.datasetController.spec.js:109
↓ 1 callersFunctioncreateChart
()
test/specs/core.controller.spec.js:27
↓ 1 callersFunctioncreateChart
()
test/specs/scale.category.spec.js:1068
↓ 1 callersFunctioncreateDataContext
(parent, index, element)
src/core/core.datasetController.js:195
↓ 1 callersFunctioncreateDatasetContext
(parent, index)
src/core/core.datasetController.js:182
↓ 1 callersFunctioncreateDescriptors
(chart: Chart, {plugins, localIds}, options, all: boolean)
src/core/core.plugins.ts:148
↓ 1 callersFunctioncreateLine
()
test/specs/element.line.spec.js:40
↓ 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.spec.js:3
↓ 1 callersFunctioncreateScaleContext
(parent, scale)
src/core/core.scale.js:107
↓ 1 callersFunctioncreateStack
(canStack, meta, chart)
src/core/core.datasetController.js:243
↓ 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:384
↓ 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:163
↓ 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:346
↓ 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:369
↓ 1 callersFunctiondebounce
(fn: (...args: TArgs) => void, delay: number)
src/helpers/helpers.extras.ts:50
↓ 1 callersFunctiondecimatedConfig
(dataset)
test/specs/plugin.decimation.spec.js:217
↓ 1 callersFunctiondecodeTargetIndex
(firstCh, index, target, count)
src/plugins/plugin.filler/filler.options.ts:56
↓ 1 callersFunctiondecodedFillValues
(chart)
test/specs/plugin.filler.spec.js:3
↓ 1 callersFunctiondecorateText
( ctx: CanvasRenderingContext2D, x: number, y: number, line: string, opts: RenderTextOpts )
src/helpers/helpers.canvas.ts:409
↓ 1 callersFunctiondefaultClip
(xScale, yScale, allowedOverflow)
src/core/core.datasetController.js:23
↓ 1 callersFunctionderiveScaleOptions
* The derived object, `{scales: {[id]: …}}`: per scale id, a clone of the * defaults the scale takes from the chart type (unless only a dataset impli
src/core/core.config.js:178
↓ 1 callersMethoddescribe
(scope: string | object, values?: object)
src/core/core.defaults.ts:180
↓ 1 callersMethoddetermineDataLimits
()
src/types/index.ts:1403
↓ 1 callersMethoddetermineDataLimits
()
src/core/core.scale.js:548
↓ 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
* The number of labels that fit: over the part of the axis the ticks cover, * and never more than over the whole axis. The part is read from * `_sta
src/core/core.scale.autoskip.js:112
↓ 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:282
↓ 1 callersFunctiondetermineYAlign
(chart, size)
src/plugins/plugin.tooltip.js:259
↓ 1 callersFunctiondoFill
(ctx, cfg)
src/plugins/plugin.filler/filler.drawing.js:40
↓ 1 callersFunctiondoSplitByStyles
(line: LineElement, segments: Segment[], points: PointElement[], segmentOptions?: AnyObject)
src/helpers/helpers.segment.ts:289
↓ 1 callersFunctiondoesNotFitWithAlign
(xAlign, chart, options, size)
src/plugins/plugin.tooltip.js:270
↓ 1 callersFunctiondraw
(chartArea: ChartArea)
src/core/core.layouts.ts:334
↓ 1 callersFunctiondraw
(ctx: CanvasRenderingContext2D, line: LineElement, start?: number, count?: number)
src/elements/element.line.ts:247
↓ 1 callersMethoddraw
()
src/core/core.controller.js:777
↓ 1 callersMethoddraw
(chartArea)
src/core/core.scale.js:1628
↓ 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:440
↓ 1 callersMethoddrawBackground
(pt, ctx, tooltipSize, options)
src/plugins/plugin.tooltip.js:1019
↓ 1 callersMethoddrawBody
(pt, ctx, options)
src/plugins/plugin.tooltip.js:929
↓ 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:749
↓ 1 callersMethoddrawFooter
(pt, ctx, options)
src/plugins/plugin.tooltip.js:993
↓ 1 callersFunctiondrawGroup
* Draws the vertical extent of a group of points that share a truncated x-coordinate
src/elements/element.line.ts:182
↓ 1 callersFunctiondrawLegendItems
(chart)
test/specs/plugin.legend.spec.js:886
↓ 1 callersFunctiondrawMousePoint
(ctx, center)
test/fixtures/controller.doughnut/event-replay.js:1
↓ 1 callersFunctiondrawPie
(labels, position)
test/specs/plugin.legend.spec.js:779
↓ 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
(chartArea: ChartArea)
src/types/index.ts:1329
↓ 1 callersMethoddrawTitle
* @protected
src/plugins/plugin.legend.ts:616
↓ 1 callersMethoddrawTitle
(pt, ctx, options)
src/plugins/plugin.tooltip.js:814
↓ 1 callersMethodensureScalesHaveIDs
()
src/core/core.controller.js:313
↓ 1 callersFunctionevenTicks
(count, from, to)
test/specs/core.scale.autoskip.unit.spec.js:220
↓ 1 callersFunctionexpectBases
(bases)
test/specs/controller.bar.spec.js:41
↓ 1 callersFunctionexpectFinite
(values)
test/specs/plugin.legend.spec.js:802
↓ 1 callersFunctionexpectFiniteIncreasing
(values)
test/specs/scale.linear.spec.js:1352
↓ 1 callersFunctionexpectHitBoxToCover
(hitbox, symbol, text)
test/specs/plugin.legend.spec.js:982
↓ 1 callersFunctionexpectInnerAlignment
(items)
test/specs/core.scale.spec.js:928
↓ 1 callersFunctionexpectNothingActive
(chart)
test/specs/plugin.tooltip.spec.js:2159
↓ 1 callersFunctionexpectNothingOfDataset0Active
(chart)
test/specs/core.controller.spec.js:3284
↓ 1 callersFunctionexpectReset
(indices)
test/specs/core.datasetController.spec.js:683
↓ 1 callersFunctionfail
(diagnostics)
scripts/check-ts-flags.js:30
↓ 1 callersFunctionfill
(ctx, cfg)
src/plugins/plugin.filler/filler.drawing.js:128
↓ 1 callersFunctionfilterByPosition
(array: LayoutBox[], position: LayoutPosition)
src/core/core.layouts.ts:58
↓ 1 callersFunctionfilterDynamicPositionByAxis
(array: LayoutBox[], axis: string)
src/core/core.layouts.ts:62
↓ 1 callersFunctionfindLabel
(labels, raw, fromEnd)
src/scales/scale.category.js:8
↓ 1 callersFunctionfindOrAddLabel
(labels, raw, index)
src/scales/scale.category.js:31
↓ 1 callersFunctionfindParsed
* Returns the first parsed item of the meta whose index-axis value is `value`. * Sorted data (category labels, time series) is looked up by position
src/controllers/controller.bar.ts:125
↓ 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.ts:182
↓ 1 callersFunctionfirstOuterArcStartAngle
(arc)
test/specs/element.arc.spec.js:329
↓ 1 callersFunctionfirstPointPixel
(chart)
test/specs/core.config.spec.js:635
↓ 1 callersMethodfit
()
src/types/index.ts:1415
↓ 1 callersMethodfit
()
src/core/core.scale.js:639
↓ 1 callersMethodfit
()
src/plugins/plugin.legend.ts:305
↓ 1 callersFunctionfitBoxes
(boxes: LayoutBox[], chartArea: LayoutArea, params: LayoutParams, stacks: Record<string, LayoutStack>)
src/core/core.layouts.ts:227
↓ 1 callersFunctionfitWithPointLabels
* Helper function to fit a radial linear scale with point labels
src/scales/scale.radialLinear.js:49
↓ 1 callersFunctionfromNativeEvent
(event, chart)
src/platform/platform.dom.js:109
↓ 1 callersFunctiongaps
(indices)
test/specs/core.scale.autoskip.unit.spec.js:32
↓ 1 callersFunctiongarbageCollect
* @param {object} caches * @param {number} length
src/core/core.scale.js:71
↓ 1 callersMethodgenerateLabels
(chart)
src/controllers/controller.doughnut.js:95
↓ 1 callersMethodgenerateTickLabels
* Convert ticks to label strings * @param {Tick[]} ticks
src/core/core.scale.js:574
↓ 1 callersFunctiongenerateTicks
* Generate a set of linear ticks for an axis * 1. If generationOptions.min, generationOptions.max, and generationOptions.step are defined: * if (
src/scales/scale.linearbase.js:42
↓ 1 callersFunctiongenerateTicks
* Generate a set of logarithmic ticks * @param generationOptions the options used to generate the ticks * @param dataRange the range of the data *
src/scales/scale.logarithmic.js:42
↓ 1 callersMethodgetAfterBody
(tooltipItems, options)
src/plugins/plugin.tooltip.js:613
↓ 1 callersFunctiongetAlignedHitBox
(x: number, textWidth: number, boxWidth: number, fontSize: number, textAlign: TextAlign, right: number)
src/plugins/plugin.legend.ts:129
↓ 1 callersFunctiongetAllScaleValues
(scale: BarScale, type: string)
src/controllers/controller.bar.ts:84
↓ 1 callersFunctiongetAreaCenter
* The point to measure to for an element that knows its visible part (a bar): the centre of * the part inside the chart area, or null when no part is
src/core/core.interaction.ts:30
← previousnext →601–700 of 1,573, ranked by callers