Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartjs/Chart.js
/ functions
Functions
1,409 in github.com/chartjs/Chart.js
⨍
Functions
1,409
◇
Types & classes
268
Function
passive
()
src/helpers/helpers.dom.ts:253
Method
path
* Append all segments of this line to current path. * @param {CanvasRenderingContext2D|Path2D} ctx * @param {number} [start] * @param {number} [
src/elements/element.line.js:406
Function
pathSegment
* 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
Method
pathSegment
(ctx, bounds, opts)
src/plugins/plugin.filler/simpleArc.js:11
Method
pathSegment
* 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
Method
platform
()
src/core/core.config.js:165
Method
plugins
()
src/core/core.config.js:193
Function
point
* 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
Function
points
(config)
docs/scripts/utils.js:44
Function
progress
(animation)
test/specs/core.animator.tests.js:5
Function
rand
(min, max)
docs/scripts/utils.js:13
Method
register
(...items)
src/core/core.controller.js:112
Method
register
* @param {IChartComponent} item * @returns {string} The scope where items defaults were registered to.
src/core/core.typedRegistry.js:24
Method
registry
()
src/core/core.controller.js:229
Method
releaseContext
* 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
Function
releaseObserver
(chart, type, observer)
src/platform/platform.dom.js:231
Method
remove
(...args)
src/core/core.registry.js:29
Method
remove
* Remove chart from Animator * @param {Chart} chart
src/core/core.animator.js:208
Function
removeBox
* 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
Method
removeEventListener
* Removes the specified listener previously registered with addEventListener. * @param {Chart} chart - Chart from which to remove the listener * @
src/platform/platform.base.js:43
Function
removeListener
(chart, type, listener)
src/platform/platform.dom.js:103
Function
replacer
(key, value)
src/helpers/helpers.segment.js:354
Function
reset
(chart, _args, options)
src/plugins/plugin.tooltip.js:1240
Method
reset
* Resets the chart back to its state before the initial animation
src/core/core.controller.js:470
Method
reset
()
src/core/core.datasetController.js:345
Method
route
* 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
Function
run
(chart)
test/fixtures/plugin.colors/dynamic-datasets-force-override.js:35
Function
run
(chart)
test/fixtures/plugin.colors/dynamic-datasets-default.js:34
Function
run
(chart)
test/fixtures/controller.doughnut/doughnut-set-active-elements.js:22
Function
run
(chart)
test/fixtures/controller.doughnut/doughnut-hidden-single.js:37
Function
run
(chart)
test/fixtures/controller.doughnut/event-replay.js:29
Function
run
(chart)
test/fixtures/controller.doughnut/doughnut-full-to-semi.js:28
Function
run
(chart)
test/fixtures/controller.line/stacking/stack-cache.js:51
Function
run
(chart)
test/fixtures/controller.line/stacking/updates.js:35
Function
run
()
test/fixtures/controller.line/fill/no-border.js:37
Function
run
(chart)
test/fixtures/plugin.filler/line/points-outside-canvas-update.js:29
Function
run
(chart)
test/fixtures/controller.scatter/showLine/changed.js:29
Function
run
(chart)
test/fixtures/controller.bar/stacking/issue-9105.js:44
Function
run
(chart)
test/fixtures/controller.bar/stacking/replace-data.js:41
Function
run
(chart)
test/fixtures/controller.bar/stacking/remove-dataset.js:97
Function
run
(chart)
test/fixtures/core.interaction/nearest-partial-bar.js:34
Function
run
(chart)
test/fixtures/core.interaction/nearest-point-behind-scale.js:40
Function
run
(chart)
test/fixtures/core.interaction/drawActiveElementsOnTop-false.js:36
Function
run
(chart)
test/fixtures/controller.polarArea/pointLabels/overlapping.js:23
Function
run
(chart)
test/fixtures/controller.bubble/padding-update.js:20
Function
run
(chart)
test/fixtures/controller.bubble/hover-radius-zero.js:39
Function
run
(chart)
test/fixtures/plugin.legend/padding/add-column.js:33
Method
segments
()
src/elements/element.line.js:319
Function
set
()
test/specs/helpers.config.tests.js:516
Function
set
* A trap for setting property values.
src/helpers/helpers.config.ts:101
Method
set
* @param {string|object} scope * @param {object} [values]
src/core/core.defaults.js:90
Method
setActiveElements
* Set active (hovered) elements * @param {array} activeElements New active data points
src/core/core.controller.js:1096
Method
setActiveElements
* 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
Method
setDimensions
()
src/types/index.d.ts:1395
Method
setDimensions
()
src/scales/scale.radialLinear.js:426
Method
setMax
src/scales/scale.linearbase.js:187
Method
setMax
src/scales/scale.logarithmic.js:137
Method
setMin
src/scales/scale.linearbase.js:186
Method
setMin
src/scales/scale.logarithmic.js:136
Function
setWidth
(w)
src/helpers/helpers.rtl.ts:14
Method
skipNull
(meta)
src/controllers/controller.bar.js:443
Function
sorter
* @param {number} a * @param {number} b
src/scales/scale.time.js:37
Function
srand
(seed)
docs/scripts/utils.js:9
Function
start
(chart, _args, options)
src/plugins/plugin.legend.js:601
Function
start
(chart, _args, options)
src/plugins/plugin.title.js:129
Function
start
(chart, _args, options)
src/plugins/plugin.subtitle.js:9
Method
start
* Start animating (all charts) * @param {Chart} chart
src/core/core.animator.js:163
Method
startOf
()
src/core/core.adapters.ts:122
Function
stop
(chart)
src/plugins/plugin.legend.js:607
Function
stop
(chart)
src/plugins/plugin.title.js:133
Function
stop
(chart)
src/plugins/plugin.subtitle.js:21
Method
stop
* Stop all animations for the chart * @param {Chart} chart
src/core/core.animator.js:189
Method
testMethod
()
test/types/extensions/scale.ts:15
Function
textAlign
(align)
src/helpers/helpers.rtl.ts:17
Function
title
()
test/specs/plugin.tooltip.tests.js:1876
Function
title
(tooltipItems)
src/plugins/plugin.tooltip.js:364
Method
title
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2745
Method
toBase64Image
(...args)
src/core/core.controller.js:957
Function
toDegrees
(radians: number)
src/helpers/helpers.math.ts:99
Method
tooltipPosition
(useFinalPosition: boolean)
src/elements/element.arc.ts:466
Function
transparentize
(value, opacity)
docs/scripts/utils.js:122
Method
type
()
src/core/core.config.js:169
Function
unevenChart
()
test/specs/controller.bar.tests.js:1703
Method
uninstall
* 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
Method
unregister
(...items)
src/core/core.controller.js:117
Method
unregister
* @param {IChartComponent} item
src/core/core.typedRegistry.js:66
Function
update
* 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
Method
update
(mode)
src/controllers/controller.radar.js:53
Method
update
(mode)
src/controllers/controller.scatter.js:56
Method
update
* @param {string} mode
src/controllers/controller.doughnut.js:211
Method
update
(mode)
src/controllers/controller.bubble.js:111
Method
update
(mode)
src/controllers/controller.line.js:41
Method
update
(mode)
src/controllers/controller.polarArea.js:113
Method
update
(mode)
src/controllers/controller.bar.js:388
Method
update
(cfg, to, date)
src/core/core.animation.js:51
Method
update
* 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
Method
update
()
src/core/core.config.js:197
Method
update
* @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
Method
update
(maxWidth, maxHeight, margins)
src/plugins/plugin.legend.js:82
Method
update
(maxWidth, maxHeight)
src/plugins/plugin.title.js:29
← previous
next →
1,301–1,400 of 1,409, ranked by callers