MCPcopy Create free account

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

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

↓ 1 callersFunctionstartExp
(min, max)
src/scales/scale.logarithmic.js:23
↓ 1 callersFunctionstartIsBefore
()
src/helpers/helpers.segment.js:92
↓ 1 callersFunctionsteps
(min, max, rangeExp)
src/scales/scale.logarithmic.js:16
↓ 1 callersMethodstop
()
src/core/core.controller.js:259
↓ 1 callersFunctionstrokePathDirect
(ctx, line, start, count)
src/elements/element.line.js:219
↓ 1 callersFunctionstrokePathWithCache
(ctx, line, start, count)
src/elements/element.line.js:207
↓ 1 callersFunctionstyleChanged
(style, prevStyle)
src/helpers/helpers.segment.js:349
↓ 1 callersFunctionsubGetTarget
( resolver: ResolverCache, prop: string, value: unknown )
src/helpers/helpers.config.ts:373
↓ 1 callersFunctionswap
(orig, v1, v2)
src/controllers/controller.bar.js:244
↓ 1 callersFunctiontestSlice
(slice, count)
test/specs/plugin.tooltip.tests.js:1192
↓ 1 callersFunctiontitleAlign
(align, position, reverse)
src/core/core.scale.js:122
↓ 1 callersFunctiontitleArgs
(scale, offset, position, align)
src/core/core.scale.js:131
↓ 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:710
↓ 1 callersMethodupdateConfig
* Updates config with platform specific requirements * @param {import('../core/core.config.js').default} config
src/platform/platform.base.js:80
↓ 1 callersFunctionupdateDims
(chartArea, params, layout, stacks)
src/core/core.layouts.js:116
↓ 1 callersMethodupdateElements
(points, start, count, mode)
src/controllers/controller.radar.js:81
↓ 1 callersMethodupdateElements
(points, start, count, mode)
src/controllers/controller.scatter.js:111
↓ 1 callersMethodupdateElements
(arcs, start, count, mode)
src/controllers/controller.doughnut.js:256
↓ 1 callersMethodupdateElements
(points, start, count, mode)
src/controllers/controller.bubble.js:118
↓ 1 callersMethodupdateElements
(points, start, count, mode)
src/controllers/controller.line.js:76
↓ 1 callersMethodupdateElements
(arcs, start, count, mode)
src/controllers/controller.polarArea.js:161
↓ 1 callersMethodupdateElements
(bars, start, count, mode)
src/controllers/controller.bar.js:393
↓ 1 callersMethodupdateElements
(element, start, count, mode)
src/core/core.datasetController.js:1022
↓ 1 callersFunctionupdateLimits
(limits, orig, angle, hLimits, vLimits)
src/scales/scale.radialLinear.js:118
↓ 1 callersFunctionupdateMinAndPrev
()
src/controllers/controller.bar.js:29
↓ 1 callersFunctionupdatePos
(pos)
src/core/core.layouts.js:152
↓ 1 callersMethodupdateRangeFromParsed
* @protected
src/core/core.datasetController.js:607
↓ 1 callersFunctionuseOffsetPos
(x: number, y: number, target: HTMLElement | EventTarget)
src/helpers/helpers.dom.ts:65
↓ 1 callersFunctionvalidIndex
(index, max)
src/scales/scale.category.js:23
↓ 1 callersFunctionvalue
(...args)
src/helpers/helpers.collection.ts:137
↓ 1 callersMethodwait
()
src/core/core.animation.js:105
↓ 1 callersFunctionwrapBoxes
(boxes)
src/core/core.layouts.js:28
↓ 1 callersFunctionxy
(ctx, xr, yr)
test/fixtures/controller.line/segments/range.js:9
↓ 1 callersFunctionyForAngle
(y, h, angle)
test/specs/scale.radialLinear.tests.js:635
↓ 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
FunctionSeedReporter
(baseReporterDecorator)
test/seed-reporter.cjs:1
Method_add
(type, listener)
src/core/core.controller.js:980
Function_angleDiff
(a: number, b: number)
src/helpers/helpers.math.ts:152
Method_applyBounds
* @param {object} bounds
src/scales/scale.time.js:321
Function_bezierCurveTo
( ctx: CanvasRenderingContext2D, previous: SplinePoint, target: SplinePoint, flip?: boolean )
src/helpers/helpers.canvas.ts:367
Function_deprecated
(scope: string, value: unknown, previous: string, current: string)
src/helpers/helpers.core.ts:328
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:25
Function_merger
(key: string, target: AnyObject, source: AnyObject, options: AnyObject)
src/helpers/helpers.core.ts:220
Function_mergerIf
(key: string, target: AnyObject, source: AnyObject)
src/helpers/helpers.core.ts:310
Method_onDataPop
()
src/core/core.datasetController.js:1056
Method_onDataPop
()
src/helpers/helpers.collection.ts:104
Method_onDataPush
()
src/core/core.datasetController.js:1051
Method_onDataPush
(...item: T[])
src/helpers/helpers.collection.ts:103
Method_onDataShift
()
src/core/core.datasetController.js:1060
Method_onDataShift
()
src/helpers/helpers.collection.ts:105
Method_onDataSplice
(start, count)
src/core/core.datasetController.js:1064
Method_onDataSplice
(index: number, deleteCount: number, ...items: T[])
src/helpers/helpers.collection.ts:106
Method_onDataUnshift
()
src/core/core.datasetController.js:1074
Method_onDataUnshift
(...item: T[])
src/helpers/helpers.collection.ts:107
Function_parseObjectDataRadialScale
( meta: ChartMeta<'line' | 'scatter'>, data: AnyObject[], start: number, count: number )
src/helpers/helpers.config.ts:437
Method_remove
(type, listener)
src/core/core.controller.js:1008
Method_removeDatasetHoverStyle
* @private
src/core/core.datasetController.js:940
Method_setDatasetHoverStyle
* @private
src/core/core.datasetController.js:951
Method_skip
()
src/core/core.datasetController.js:633
Function_steppedLineTo
( ctx: CanvasRenderingContext2D, previous: Point, target: Point, flip?: boolean, mode?: string )
src/helpers/helpers.canvas.ts:342
MethodacquireContext
(item)
src/platform/platform.basic.js:14
MethodacquireContext
* Called at chart construction time, returns a context2d instance implementing * the [W3C Canvas 2D Context API standard]{@link https://www.w3.org/T
src/platform/platform.base.js:16
Methodadd
* @param {...any} args
src/core/core.registry.js:25
Methodadd
* Add animations * @param {Chart} chart * @param {Animation[]} items - animations
src/core/core.animator.js:144
Methodadd
()
src/core/core.adapters.ts:114
FunctionaddBox
* Register a box to a chart. * A box is simply a reference to an object that requires layout. eg. Scales, Legend, Title. * @param {Chart} chart -
src/core/core.layouts.js:291
MethodaddControllers
* @param {...typeof DatasetController} args
src/core/core.registry.js:36
MethodaddElements
* @param {...typeof Element} args
src/core/core.registry.js:43
MethodaddEventListener
* Registers the specified listener on the given chart. * @param {Chart} chart - Chart from which to listen for event * @param {string} type - The
src/platform/platform.base.js:35
FunctionaddNormalRectPath
* Add a path of a rectangle to the current sub-path * @param {CanvasRenderingContext2D} ctx Context * @param {*} rect Bounding rect
src/elements/element.bar.js:123
MethodaddPlugins
* @param {...any} args
src/core/core.registry.js:50
MethodaddScales
* @param {...typeof Scale} args
src/core/core.registry.js:57
MethodafterAutoSkip
()
src/scales/scale.time.js:401
FunctionafterBody
()
test/specs/plugin.tooltip.tests.js:1894
MethodafterBody
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2749
MethodafterBuildTicks
* @desc Called after scale has build its ticks. This hook is called separately for each scale in the chart. * @param {Chart} chart - The chart inst
src/types/index.d.ts:1022
MethodafterBuildTicks
* Callback that runs after ticks are created. Useful for filtering ticks.
src/types/index.d.ts:1272
MethodafterBuildTicks
()
src/types/index.d.ts:1402
MethodafterCalculateLabelRotation
* Callback that runs after tick rotation is determined.
src/types/index.d.ts:1288
MethodafterCalculateLabelRotation
()
src/types/index.d.ts:1408
MethodafterDataLimits
* @desc Called after scale data limits are calculated. This hook is called separately for each scale in the chart. * @param {Chart} chart - The cha
src/types/index.d.ts:1006
MethodafterDataLimits
* Callback that runs after data limits are determined.
src/types/index.d.ts:1264
MethodafterDataLimits
()
src/types/index.d.ts:1399
MethodafterDatasetDraw
* @desc Called after the `chart` datasets at the given `args.index` have been drawn * (datasets are drawn in the reverse order). Note that this hoo
src/types/index.d.ts:1104
MethodafterDatasetUpdate
* @desc Called after the `chart` datasets at the given `args.index` has been updated. Note * that this hook will not be called if the datasets upda
src/types/index.d.ts:981
MethodafterDatasetsDraw
* @desc Called after the `chart` datasets have been drawn. Note that this hook * will not be called if the datasets drawing has been previously can
src/types/index.d.ts:1081
FunctionafterDatasetsUpdate
(chart, _args, options)
src/plugins/plugin.filler/index.js:15
MethodafterDatasetsUpdate
* @desc Called after the `chart` datasets have been updated. Note that this hook * will not be called if the datasets update has been previously ca
src/types/index.d.ts:958
MethodafterDestroy
* Called after the chart has been destroyed. * @param {Chart} chart - The chart instance. * @param {object} args - The call arguments. * @par
src/types/index.d.ts:1150
FunctionafterDraw
()
test/specs/core.animator.tests.js:29
FunctionafterDraw
(chart)
test/fixtures/core.scale/ticks/rotated-multi-line.js:31
FunctionafterDraw
(chart)
test/fixtures/core.scale/ticks/rotated-long.js:31
← previousnext →801–900 of 1,409, ranked by callers