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
Function
countLegendClicks
(events, legendEvents)
test/specs/plugin.legend.spec.js:2077
↓ 1 callers
Method
countVisibleElements
()
src/controllers/controller.polarArea.ts:220
↓ 1 callers
Function
coverAlignedText
* 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 callers
Function
createArc
(spacingMode)
test/specs/element.arc.spec.js:308
↓ 1 callers
Function
createChart
()
test/specs/core.datasetController.spec.js:109
↓ 1 callers
Function
createChart
()
test/specs/core.controller.spec.js:27
↓ 1 callers
Function
createChart
()
test/specs/scale.category.spec.js:1068
↓ 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: Chart, {plugins, localIds}, options, all: boolean)
src/core/core.plugins.ts:148
↓ 1 callers
Function
createLine
()
test/specs/element.line.spec.js:40
↓ 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.spec.js:3
↓ 1 callers
Function
createScaleContext
(parent, scale)
src/core/core.scale.js:107
↓ 1 callers
Function
createStack
(canStack, meta, chart)
src/core/core.datasetController.js:243
↓ 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:384
↓ 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:163
↓ 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:346
↓ 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:369
↓ 1 callers
Function
debounce
(fn: (...args: TArgs) => void, delay: number)
src/helpers/helpers.extras.ts:50
↓ 1 callers
Function
decimatedConfig
(dataset)
test/specs/plugin.decimation.spec.js:217
↓ 1 callers
Function
decodeTargetIndex
(firstCh, index, target, count)
src/plugins/plugin.filler/filler.options.ts:56
↓ 1 callers
Function
decodedFillValues
(chart)
test/specs/plugin.filler.spec.js:3
↓ 1 callers
Function
decorateText
( ctx: CanvasRenderingContext2D, x: number, y: number, line: string, opts: RenderTextOpts )
src/helpers/helpers.canvas.ts:409
↓ 1 callers
Function
defaultClip
(xScale, yScale, allowedOverflow)
src/core/core.datasetController.js:23
↓ 1 callers
Function
deriveScaleOptions
* 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 callers
Method
describe
(scope: string | object, values?: object)
src/core/core.defaults.ts:180
↓ 1 callers
Method
determineDataLimits
()
src/types/index.ts:1403
↓ 1 callers
Method
determineDataLimits
()
src/core/core.scale.js:548
↓ 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
* 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 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:282
↓ 1 callers
Function
determineYAlign
(chart, size)
src/plugins/plugin.tooltip.js:259
↓ 1 callers
Function
doFill
(ctx, cfg)
src/plugins/plugin.filler/filler.drawing.js:40
↓ 1 callers
Function
doSplitByStyles
(line: LineElement, segments: Segment[], points: PointElement[], segmentOptions?: AnyObject)
src/helpers/helpers.segment.ts:289
↓ 1 callers
Function
doesNotFitWithAlign
(xAlign, chart, options, size)
src/plugins/plugin.tooltip.js:270
↓ 1 callers
Function
draw
(chartArea: ChartArea)
src/core/core.layouts.ts:334
↓ 1 callers
Function
draw
(ctx: CanvasRenderingContext2D, line: LineElement, start?: number, count?: number)
src/elements/element.line.ts:247
↓ 1 callers
Method
draw
()
src/core/core.controller.js:777
↓ 1 callers
Method
draw
(chartArea)
src/core/core.scale.js:1628
↓ 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:440
↓ 1 callers
Method
drawBackground
(pt, ctx, tooltipSize, options)
src/plugins/plugin.tooltip.js:1019
↓ 1 callers
Method
drawBody
(pt, ctx, options)
src/plugins/plugin.tooltip.js:929
↓ 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:749
↓ 1 callers
Method
drawFooter
(pt, ctx, options)
src/plugins/plugin.tooltip.js:993
↓ 1 callers
Function
drawGroup
* Draws the vertical extent of a group of points that share a truncated x-coordinate
src/elements/element.line.ts:182
↓ 1 callers
Function
drawLegendItems
(chart)
test/specs/plugin.legend.spec.js:886
↓ 1 callers
Function
drawMousePoint
(ctx, center)
test/fixtures/controller.doughnut/event-replay.js:1
↓ 1 callers
Function
drawPie
(labels, position)
test/specs/plugin.legend.spec.js:779
↓ 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
(chartArea: ChartArea)
src/types/index.ts:1329
↓ 1 callers
Method
drawTitle
* @protected
src/plugins/plugin.legend.ts:616
↓ 1 callers
Method
drawTitle
(pt, ctx, options)
src/plugins/plugin.tooltip.js:814
↓ 1 callers
Method
ensureScalesHaveIDs
()
src/core/core.controller.js:313
↓ 1 callers
Function
evenTicks
(count, from, to)
test/specs/core.scale.autoskip.unit.spec.js:220
↓ 1 callers
Function
expectBases
(bases)
test/specs/controller.bar.spec.js:41
↓ 1 callers
Function
expectFinite
(values)
test/specs/plugin.legend.spec.js:802
↓ 1 callers
Function
expectFiniteIncreasing
(values)
test/specs/scale.linear.spec.js:1352
↓ 1 callers
Function
expectHitBoxToCover
(hitbox, symbol, text)
test/specs/plugin.legend.spec.js:982
↓ 1 callers
Function
expectInnerAlignment
(items)
test/specs/core.scale.spec.js:928
↓ 1 callers
Function
expectNothingActive
(chart)
test/specs/plugin.tooltip.spec.js:2159
↓ 1 callers
Function
expectNothingOfDataset0Active
(chart)
test/specs/core.controller.spec.js:3284
↓ 1 callers
Function
expectReset
(indices)
test/specs/core.datasetController.spec.js:683
↓ 1 callers
Function
fail
(diagnostics)
scripts/check-ts-flags.js:30
↓ 1 callers
Function
fill
(ctx, cfg)
src/plugins/plugin.filler/filler.drawing.js:128
↓ 1 callers
Function
filterByPosition
(array: LayoutBox[], position: LayoutPosition)
src/core/core.layouts.ts:58
↓ 1 callers
Function
filterDynamicPositionByAxis
(array: LayoutBox[], axis: string)
src/core/core.layouts.ts:62
↓ 1 callers
Function
findLabel
(labels, raw, fromEnd)
src/scales/scale.category.js:8
↓ 1 callers
Function
findOrAddLabel
(labels, raw, index)
src/scales/scale.category.js:31
↓ 1 callers
Function
findParsed
* 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 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.ts:182
↓ 1 callers
Function
firstOuterArcStartAngle
(arc)
test/specs/element.arc.spec.js:329
↓ 1 callers
Function
firstPointPixel
(chart)
test/specs/core.config.spec.js:635
↓ 1 callers
Method
fit
()
src/types/index.ts:1415
↓ 1 callers
Method
fit
()
src/core/core.scale.js:639
↓ 1 callers
Method
fit
()
src/plugins/plugin.legend.ts:305
↓ 1 callers
Function
fitBoxes
(boxes: LayoutBox[], chartArea: LayoutArea, params: LayoutParams, stacks: Record<string, LayoutStack>)
src/core/core.layouts.ts:227
↓ 1 callers
Function
fitWithPointLabels
* Helper function to fit a radial linear scale with point labels
src/scales/scale.radialLinear.js:49
↓ 1 callers
Function
fromNativeEvent
(event, chart)
src/platform/platform.dom.js:109
↓ 1 callers
Function
gaps
(indices)
test/specs/core.scale.autoskip.unit.spec.js:32
↓ 1 callers
Function
garbageCollect
* @param {object} caches * @param {number} length
src/core/core.scale.js:71
↓ 1 callers
Method
generateLabels
(chart)
src/controllers/controller.doughnut.js:95
↓ 1 callers
Method
generateTickLabels
* Convert ticks to label strings * @param {Tick[]} ticks
src/core/core.scale.js:574
↓ 1 callers
Function
generateTicks
* 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 callers
Function
generateTicks
* 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 callers
Method
getAfterBody
(tooltipItems, options)
src/plugins/plugin.tooltip.js:613
↓ 1 callers
Function
getAlignedHitBox
(x: number, textWidth: number, boxWidth: number, fontSize: number, textAlign: TextAlign, right: number)
src/plugins/plugin.legend.ts:129
↓ 1 callers
Function
getAllScaleValues
(scale: BarScale, type: string)
src/controllers/controller.bar.ts:84
↓ 1 callers
Function
getAreaCenter
* 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
← previous
next →
601–700 of 1,573, ranked by callers