MCPcopy Create free account

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

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

Functionpassive
()
src/helpers/helpers.dom.ts:253
Methodpath
* Append all segments of this line to current path. * @param {CanvasRenderingContext2D|Path2D} ctx * @param {number} [start] * @param {number} [
src/elements/element.line.js:406
FunctionpathSegment
* Create path from points, grouping by truncated x-coordinate * Points need to be in order by x-coordinate for this to work efficiently * @param {Ca
src/elements/element.line.js:71
MethodpathSegment
(ctx, bounds, opts)
src/plugins/plugin.filler/simpleArc.js:11
MethodpathSegment
* Append a segment of this line to current path. * @param {CanvasRenderingContext2D} ctx * @param {object} segment * @param {number} segment.sta
src/elements/element.line.js:394
Methodplatform
()
src/core/core.config.js:165
Methodplugins
()
src/core/core.config.js:193
Functionpoint
* Point mode returns all elements that hit test based on the event position * of the event * @function Chart.Interaction.modes.intersect * @p
src/core/core.interaction.js:336
Functionpoints
(config)
docs/scripts/utils.js:44
Functionprogress
(animation)
test/specs/core.animator.tests.js:5
Functionrand
(min, max)
docs/scripts/utils.js:13
Methodregister
(...items)
src/core/core.controller.js:112
Methodregister
* @param {IChartComponent} item * @returns {string} The scope where items defaults were registered to.
src/core/core.typedRegistry.js:24
Methodregistry
()
src/core/core.controller.js:229
MethodreleaseContext
* Called at chart destruction time, releases any resources associated to the context * previously returned by the acquireContext() method. * @para
src/platform/platform.base.js:24
FunctionreleaseObserver
(chart, type, observer)
src/platform/platform.dom.js:231
Methodremove
(...args)
src/core/core.registry.js:29
Methodremove
* Remove chart from Animator * @param {Chart} chart
src/core/core.animator.js:208
FunctionremoveBox
* Remove a layoutItem from a chart * @param {Chart} chart - the chart to remove the box from * @param {LayoutItem} layoutItem - the item to remove
src/core/core.layouts.js:318
MethodremoveEventListener
* Removes the specified listener previously registered with addEventListener. * @param {Chart} chart - Chart from which to remove the listener * @
src/platform/platform.base.js:43
FunctionremoveListener
(chart, type, listener)
src/platform/platform.dom.js:103
Functionreplacer
(key, value)
src/helpers/helpers.segment.js:354
Functionreset
(chart, _args, options)
src/plugins/plugin.tooltip.js:1240
Methodreset
* Resets the chart back to its state before the initial animation
src/core/core.controller.js:470
Methodreset
()
src/core/core.datasetController.js:345
Methodroute
* Routes the named defaults to fallback to another scope/name. * This routing is useful when those target values, like defaults.color, are changed r
src/core/core.defaults.js:130
Functionrun
(chart)
test/fixtures/plugin.colors/dynamic-datasets-force-override.js:35
Functionrun
(chart)
test/fixtures/plugin.colors/dynamic-datasets-default.js:34
Functionrun
(chart)
test/fixtures/controller.doughnut/doughnut-set-active-elements.js:22
Functionrun
(chart)
test/fixtures/controller.doughnut/doughnut-hidden-single.js:37
Functionrun
(chart)
test/fixtures/controller.doughnut/event-replay.js:29
Functionrun
(chart)
test/fixtures/controller.doughnut/doughnut-full-to-semi.js:28
Functionrun
(chart)
test/fixtures/controller.line/stacking/stack-cache.js:51
Functionrun
(chart)
test/fixtures/controller.line/stacking/updates.js:35
Functionrun
()
test/fixtures/controller.line/fill/no-border.js:37
Functionrun
(chart)
test/fixtures/plugin.filler/line/points-outside-canvas-update.js:29
Functionrun
(chart)
test/fixtures/controller.scatter/showLine/changed.js:29
Functionrun
(chart)
test/fixtures/controller.bar/stacking/issue-9105.js:44
Functionrun
(chart)
test/fixtures/controller.bar/stacking/replace-data.js:41
Functionrun
(chart)
test/fixtures/controller.bar/stacking/remove-dataset.js:97
Functionrun
(chart)
test/fixtures/core.interaction/nearest-partial-bar.js:34
Functionrun
(chart)
test/fixtures/core.interaction/nearest-point-behind-scale.js:40
Functionrun
(chart)
test/fixtures/core.interaction/drawActiveElementsOnTop-false.js:36
Functionrun
(chart)
test/fixtures/controller.polarArea/pointLabels/overlapping.js:23
Functionrun
(chart)
test/fixtures/controller.bubble/padding-update.js:20
Functionrun
(chart)
test/fixtures/controller.bubble/hover-radius-zero.js:39
Functionrun
(chart)
test/fixtures/plugin.legend/padding/add-column.js:33
Methodsegments
()
src/elements/element.line.js:319
Functionset
()
test/specs/helpers.config.tests.js:516
Functionset
* A trap for setting property values.
src/helpers/helpers.config.ts:101
Methodset
* @param {string|object} scope * @param {object} [values]
src/core/core.defaults.js:90
MethodsetActiveElements
* Set active (hovered) elements * @param {array} activeElements New active data points
src/core/core.controller.js:1096
MethodsetActiveElements
* Set active elements in the tooltip * @param {array} activeElements Array of active datasetIndex/index pairs. * @param {object} eventPosition Syn
src/plugins/plugin.tooltip.js:1106
MethodsetDimensions
()
src/types/index.d.ts:1395
MethodsetDimensions
()
src/scales/scale.radialLinear.js:426
MethodsetMax
src/scales/scale.linearbase.js:187
MethodsetMax
src/scales/scale.logarithmic.js:137
MethodsetMin
src/scales/scale.linearbase.js:186
MethodsetMin
src/scales/scale.logarithmic.js:136
FunctionsetWidth
(w)
src/helpers/helpers.rtl.ts:14
MethodskipNull
(meta)
src/controllers/controller.bar.js:443
Functionsorter
* @param {number} a * @param {number} b
src/scales/scale.time.js:37
Functionsrand
(seed)
docs/scripts/utils.js:9
Functionstart
(chart, _args, options)
src/plugins/plugin.legend.js:601
Functionstart
(chart, _args, options)
src/plugins/plugin.title.js:129
Functionstart
(chart, _args, options)
src/plugins/plugin.subtitle.js:9
Methodstart
* Start animating (all charts) * @param {Chart} chart
src/core/core.animator.js:163
MethodstartOf
()
src/core/core.adapters.ts:122
Functionstop
(chart)
src/plugins/plugin.legend.js:607
Functionstop
(chart)
src/plugins/plugin.title.js:133
Functionstop
(chart)
src/plugins/plugin.subtitle.js:21
Methodstop
* Stop all animations for the chart * @param {Chart} chart
src/core/core.animator.js:189
MethodtestMethod
()
test/types/extensions/scale.ts:15
FunctiontextAlign
(align)
src/helpers/helpers.rtl.ts:17
Functiontitle
()
test/specs/plugin.tooltip.tests.js:1876
Functiontitle
(tooltipItems)
src/plugins/plugin.tooltip.js:364
Methodtitle
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2745
MethodtoBase64Image
(...args)
src/core/core.controller.js:957
FunctiontoDegrees
(radians: number)
src/helpers/helpers.math.ts:99
MethodtooltipPosition
(useFinalPosition: boolean)
src/elements/element.arc.ts:466
Functiontransparentize
(value, opacity)
docs/scripts/utils.js:122
Methodtype
()
src/core/core.config.js:169
FunctionunevenChart
()
test/specs/controller.bar.tests.js:1703
Methoduninstall
* Called after chart is destroyed on all plugins that were installed for that chart. This hook is also invoked for disabled plugins (options === false
src/types/index.d.ts:1158
Methodunregister
(...items)
src/core/core.controller.js:117
Methodunregister
* @param {IChartComponent} item
src/core/core.typedRegistry.js:66
Functionupdate
* Fits boxes of the given chart into the given size by having each box measure itself * then running a fitting algorithm * @param {Chart} chart -
src/core/core.layouts.js:345
Methodupdate
(mode)
src/controllers/controller.radar.js:53
Methodupdate
(mode)
src/controllers/controller.scatter.js:56
Methodupdate
* @param {string} mode
src/controllers/controller.doughnut.js:211
Methodupdate
(mode)
src/controllers/controller.bubble.js:111
Methodupdate
(mode)
src/controllers/controller.line.js:41
Methodupdate
(mode)
src/controllers/controller.polarArea.js:113
Methodupdate
(mode)
src/controllers/controller.bar.js:388
Methodupdate
(cfg, to, date)
src/core/core.animation.js:51
Methodupdate
* Update `target` properties to new values, using configured animations * @param {object} target - object to update * @param {object} values - new
src/core/core.animations.js:118
Methodupdate
()
src/core/core.config.js:197
Methodupdate
* @param {number} maxWidth - the max width in pixels * @param {number} maxHeight - the max height in pixels * @param {{top: number, left: number,
src/core/core.scale.js:393
Methodupdate
(maxWidth, maxHeight, margins)
src/plugins/plugin.legend.js:82
Methodupdate
(maxWidth, maxHeight)
src/plugins/plugin.title.js:29
← previousnext →1,301–1,400 of 1,409, ranked by callers