MCPcopy Create free account

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

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

↓ 1 callersFunctionroutedNames
(scope)
test/specs/core.defaults.unit.spec.js:44
↓ 1 callersFunctionscaleClip
* @typedef { import('./core.controller.js').default } Chart * @typedef { import('./core.scale.js').default } Scale
src/core/core.datasetController.js:12
↓ 1 callersFunctionserialize
(value)
test/specs/core.config.spec.js:592
↓ 1 callersFunctionsetBorderSkipped
(properties: BarProperties, options: BarEdgeOptions, stack: BarStack | undefined, index: number)
src/controllers/controller.bar.ts:328
↓ 1 callersFunctionsetBoxDims
(box: LayoutBoxItem, left: number, top: number, width: number, height: number)
src/core/core.layouts.ts:257
↓ 1 callersMethodsetCenterPoint
(leftMovement: number, rightMovement: number, topMovement: number, bottomMovement: number)
src/types/index.ts:3693
↓ 1 callersMethodsetCenterPoint
(leftMovement, rightMovement, topMovement, bottomMovement)
src/scales/scale.radialLinear.js:476
↓ 1 callersMethodsetDimensions
()
src/core/core.scale.js:514
↓ 1 callersMethodsetDimensions
()
src/plugins/plugin.legend.ts:274
↓ 1 callersMethodsetHoverStyle
(element, datasetIndex, index)
src/core/core.datasetController.js:991
↓ 1 callersFunctionsetInflateAmount
(properties: BarProperties, {inflateAmount}: BarEdgeOptions, ratio: number)
src/controllers/controller.bar.ts:378
↓ 1 callersFunctionsetLayoutDims
* store dimensions used instead of available chartArea in fitBoxes
src/core/core.layouts.ts:113
↓ 1 callersFunctionsetMajorTicks
* @param {TimeScale} scale * @param {object[]} ticks * @param {object} map * @param {Unit} majorUnit * @return {object[]}
src/scales/scale.time.js:162
↓ 1 callersFunctionsetRenderOpts
(ctx: CanvasRenderingContext2D, opts: RenderTextOpts)
src/helpers/helpers.canvas.ts:387
↓ 1 callersFunctionshouldStart
({between, compare}: PropertyFns, inside: boolean, startBound: number, prevValue: number, value: number)
src/helpers/helpers.segment.ts:40
↓ 1 callersFunctionshouldStop
({between, compare}: PropertyFns, inside: boolean, endBound: number, prevValue: number, value: number)
src/helpers/helpers.segment.ts:44
↓ 1 callersFunctionskipMajors
* @param {Tick[]} ticks * @param {Tick[]} newTicks * @param {number[]} majorIndices * @param {number} spacing
src/core/core.scale.autoskip.js:193
↓ 1 callersFunctionsliceCenter
(chart, index)
test/specs/plugin.tooltip.spec.js:2108
↓ 1 callersFunctionslope
({p0, p1})
test/fixtures/controller.line/segments/slope.js:1
↓ 1 callersFunctionslope
({p0, p1})
test/fixtures/plugin.filler/line/segments/slope.js:1
↓ 1 callersFunctionsolidSegments
* Compute solid segments from Points, when spanGaps === false * @param points - the points * @param start - start index * @param max - max index (c
src/helpers/helpers.segment.ts:223
↓ 1 callersFunctionsortByWeight
(array: LayoutBox[], reverse?: boolean)
src/core/core.layouts.ts:66
↓ 1 callersFunctionsplineCurve
( firstPoint: SplinePoint, middlePoint: SplinePoint, afterPoint: SplinePoint, t: number )
src/helpers/helpers.curve.ts:12
↓ 1 callersFunctionsplineCurveMonotone
(points: SplinePoint[], indexAxis: 'x' | 'y' = 'x')
src/helpers/helpers.curve.ts:122
↓ 1 callersFunctionsplitByStyles
(line: LineElement, segments: Segment[], points: PointElement[], segmentOptions?: AnyObject)
src/helpers/helpers.segment.ts:282
↓ 1 callersFunctionsplitScaleConfig
* The scale options of a chart, in two parts. Per scale id: * - `stored[id]`, the stored entry: a clone of `axis` and what the chart gave; * - `sour
src/core/core.config.js:112
↓ 1 callersFunctionstackValues
(chart)
test/specs/core.datasetController.spec.js:741
↓ 1 callersFunctionstartEnd
(v: string, start: string, end: string)
src/controllers/controller.bar.ts:374
↓ 1 callersFunctionstartExp
(min, max)
src/scales/scale.logarithmic.js:23
↓ 1 callersFunctionsteps
(min, max, rangeExp)
src/scales/scale.logarithmic.js:16
↓ 1 callersMethodstop
()
src/core/core.controller.js:264
↓ 1 callersFunctionstrokePathDirect
(ctx: CanvasRenderingContext2D, line: LineElement, start?: number, count?: number)
src/elements/element.line.ts:231
↓ 1 callersFunctionstrokePathWithCache
(ctx: CanvasRenderingContext2D, line: LineElement, start?: number, count?: number)
src/elements/element.line.ts:219
↓ 1 callersFunctionstyleChanged
(style: AnyObject, prevStyle: AnyObject)
src/helpers/helpers.segment.ts:362
↓ 1 callersFunctionsubGetTarget
( resolver: ResolverCache, prop: string, value: unknown )
src/helpers/helpers.config.ts:381
↓ 1 callersFunctionswap
(orig: string, v1: string, v2: string)
src/controllers/controller.bar.ts:370
↓ 1 callersFunctiontestSlice
(slice, count)
test/specs/plugin.tooltip.spec.js:1403
↓ 1 callersFunctiontitleAlign
(align, position, reverse)
src/core/core.scale.js:122
↓ 1 callersFunctiontitleArgs
(scale, offset, position, align)
src/core/core.scale.js:131
↓ 1 callersFunctiontitleX
(position, legendPosition)
test/specs/plugin.legend.spec.js:81
↓ 1 callersFunctiontoAxis
* @param {ValueRange} scale * @param {number | string} value
src/core/core.scale.autoskip.js:146
↓ 1 callersFunctiontoClip
(value)
src/core/core.datasetController.js:38
↓ 1 callersFunctiontoFontString
(font: FontSpec)
src/helpers/helpers.canvas.ts:25
↓ 1 callersFunctiontoPercentage
(value: number | string, dimension: number)
src/helpers/helpers.core.ts:86
↓ 1 callersFunctiontoRadiusCorners
(value)
src/elements/element.arc.ts:59
↓ 1 callersFunctionunlistenDevicePixelRatioChanges
(chart)
src/platform/platform.dom.js:184
↓ 1 callersMethodupdate
* @param {string} mode
src/core/core.datasetController.js:726
↓ 1 callersMethodupdateConfig
* Updates config with platform specific requirements * @param config
src/platform/platform.base.ts:85
↓ 1 callersFunctionupdateDims
(chartArea: LayoutArea, params: LayoutParams, layout: LayoutBox, stacks: Record<string, LayoutStack>)
src/core/core.layouts.ts:164
↓ 1 callersMethodupdateElements
(bars: BarElement[], start: number, count: number, mode: UpdateMode)
src/controllers/controller.bar.ts:508
↓ 1 callersMethodupdateElements
(points, start, count, mode)
src/controllers/controller.scatter.js:121
↓ 1 callersMethodupdateElements
(arcs, start, count, mode)
src/controllers/controller.doughnut.js:256
↓ 1 callersMethodupdateElements
(arcs: ArcElement[], start: number, count: number, mode: UpdateMode)
src/controllers/controller.polarArea.ts:165
↓ 1 callersMethodupdateElements
(points, start, count, mode)
src/controllers/controller.bubble.js:128
↓ 1 callersMethodupdateElements
(points, start, count, mode)
src/controllers/controller.line.js:76
↓ 1 callersMethodupdateElements
(points: PointElement[], start: number, count: number, mode: UpdateMode)
src/controllers/controller.radar.ts:75
↓ 1 callersFunctionupdateLimits
(limits, orig, angle, hLimits, vLimits)
src/scales/scale.radialLinear.js:118
↓ 1 callersFunctionupdateMinAndPrev
()
src/controllers/controller.bar.ts:154
↓ 1 callersFunctionupdatePos
(pos: keyof TRBL)
src/core/core.layouts.ts:200
↓ 1 callersMethodupdateRangeFromParsed
* @protected
src/core/core.datasetController.js:623
↓ 1 callersFunctionuseOffsetPos
(x: number, y: number, target: HTMLElement | EventTarget)
src/helpers/helpers.dom.ts:71
↓ 1 callersFunctionvalidIndex
(index, max)
src/scales/scale.category.js:40
↓ 1 callersFunctionvalue
(...args)
src/helpers/helpers.collection.ts:187
↓ 1 callersFunctionvalueScale
({start, range, length, tickSize, offset = false})
test/specs/core.scale.autoskip.unit.spec.js:176
↓ 1 callersFunctionvalueTicks
(from, to, stepSize)
test/specs/core.scale.autoskip.unit.spec.js:188
↓ 1 callersMethodwait
()
src/core/core.animation.ts:125
↓ 1 callersFunctionwrapBoxes
(boxes: LayoutBoxItem[])
src/core/core.layouts.ts:76
↓ 1 callersFunctionxy
(ctx, xr, yr)
test/fixtures/controller.line/segments/range.js:9
↓ 1 callersFunctionyForAngle
(y, h, angle)
test/specs/scale.radialLinear.spec.js:662
↓ 1 callersFunctionyForAngle
(y, h, angle)
src/scales/scale.radialLinear.js:222
FunctionApp
()
test/integration/react-browser/src/App.tsx:7
FunctionAppAuto
()
test/integration/react-browser/src/AppAuto.tsx:5
Method_add
(type, listener)
src/core/core.controller.js:1063
Function_angleDiff
(a: number, b: number)
src/helpers/helpers.math.ts:155
Method_applyBounds
* @param {object} bounds
src/scales/scale.time.js:327
Function_bezierCurveTo
( ctx: CanvasRenderingContext2D, previous: SplinePoint, target: SplinePoint, flip?: boolean )
src/helpers/helpers.canvas.ts:369
Function_deprecated
(scope: string, value: unknown, previous: string, current: string)
src/helpers/helpers.core.ts:329
Method_derivedOptions
* What the scales take from the defaults, `{scales: {[id]: object}}`: a * clone built from the sources of the last update when it is first read.
src/core/core.config.js:277
Method_generate
* Generates all timestamps defined in the data. * Important: this method can return ticks outside the min and max range, it's the * responsibi
src/scales/scale.timeseries.js:119
Function_getLabelForValue
(value)
src/scales/scale.category.js:42
Method_isDataVisible
* A bar hidden by `chart.toggleDataVisibility` collapses to its base.
src/controllers/controller.bar.ts:490
Method_isDataVisible
* An arc hidden by `chart.toggleDataVisibility` has no circumference. * @protected
src/controllers/controller.doughnut.js:336
Method_isDataVisible
* An arc hidden by `chart.toggleDataVisibility` has no radius. * @protected
src/controllers/controller.polarArea.ts:114
Function_mergerIf
(key: string, target: AnyObject, source: AnyObject)
src/helpers/helpers.core.ts:311
Method_onDataPop
()
src/core/core.datasetController.js:1148
Method_onDataPop
()
src/helpers/helpers.collection.ts:125
Method_onDataPush
()
src/core/core.datasetController.js:1143
Method_onDataPush
(...item: T[])
src/helpers/helpers.collection.ts:124
Method_onDataShift
()
src/core/core.datasetController.js:1154
Method_onDataShift
()
src/helpers/helpers.collection.ts:126
Method_onDataSplice
(start, count)
src/core/core.datasetController.js:1158
Method_onDataSplice
(index: number, deleteCount: number, ...items: T[])
src/helpers/helpers.collection.ts:127
Method_onDataUnshift
()
src/core/core.datasetController.js:1168
Method_onDataUnshift
(...item: T[])
src/helpers/helpers.collection.ts:128
Function_parseObjectDataRadialScale
( meta: ChartMeta<'line' | 'scatter'>, data: AnyObject[], start: number, count: number )
src/helpers/helpers.config.ts:445
Method_remove
(type, listener)
src/core/core.controller.js:1091
Method_removeDatasetHoverStyle
* @private
src/core/core.datasetController.js:998
Method_setDatasetHoverStyle
* @private
src/core/core.datasetController.js:1009
Method_skip
()
src/core/core.datasetController.js:649
Function_steppedLineTo
( ctx: CanvasRenderingContext2D, previous: Point, target: Point, flip?: boolean, mode?: string )
src/helpers/helpers.canvas.ts:344
← previousnext →901–1,000 of 1,573, ranked by callers