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
Method
inRange
(mouseX, mouseY, useFinalPosition)
src/elements/element.bar.js:203
Method
inRange
(mouseX: number, mouseY: number, useFinalPosition?: boolean)
src/elements/element.point.ts:62
Method
inXRange
(mouseX: number, useFinalPosition?: boolean)
src/types/index.d.ts:1849
Method
inXRange
(mouseX, useFinalPosition)
src/elements/element.bar.js:207
Method
inXRange
(mouseX: number, useFinalPosition?: boolean)
src/elements/element.point.ts:68
Method
inYRange
(mouseY: number, useFinalPosition?: boolean)
src/types/index.d.ts:1850
Method
inYRange
(mouseY, useFinalPosition)
src/elements/element.bar.js:211
Method
inYRange
(mouseY: number, useFinalPosition?: boolean)
src/elements/element.point.ts:72
Function
index
* Returns items at the same index. If the options.intersect parameter is true, we only return items if we intersect something * If the options.inte
src/core/core.interaction.js:269
Function
init
()
test/types/date_adapter.ts:4
Function
init
(options)
test/specs/scale.time.tests.js:1287
Method
init
()
src/core/core.adapters.ts:100
Method
init
* @param {any} options * @since 3.0
src/core/core.scale.js:256
Method
init
(scaleOptions)
src/scales/scale.category.js:56
Method
init
(scaleOpts, opts = {})
src/scales/scale.time.js:266
Method
initOffsets
* @protected
src/scales/scale.timeseries.js:60
Method
initialize
()
src/controllers/controller.bubble.js:37
Method
initialize
()
src/controllers/controller.line.js:35
Method
initialize
()
src/controllers/controller.bar.js:379
Function
input
(context)
test/specs/helpers.options.tests.js:227
Method
install
* @desc Called when plugin is installed for this chart instance. This hook is also invoked for disabled plugins (options === false). * @param {Char
src/types/index.d.ts:872
Method
interpolate
(point)
src/plugins/plugin.filler/simpleArc.js:18
Method
interpolate
* Interpolate a point in this line at the same value on `property` as * the reference `point` provided * @param {PointElement} point - the referen
src/elements/element.line.js:351
Method
isAttached
* @param {HTMLCanvasElement} canvas * @returns {boolean} true if the canvas is attached to the platform, false if not.
src/platform/platform.base.js:72
Method
isFullSize
()
src/types/index.d.ts:1413
Method
isFullSize
* @return {boolean}
src/core/core.scale.js:767
Method
isIndexable
(key: string)
src/helpers/helpers.config.types.ts:40
Method
isNotInOrderComparedToPrev
()
src/core/core.datasetController.js:473
Function
iterateOptions
()
test/specs/core.controller.tests.js:1943
Function
label
()
test/specs/plugin.tooltip.tests.js:1888
Function
label
(tooltipItem)
src/plugins/plugin.tooltip.js:388
Method
label
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2731
Function
labelColor
(tooltipItem)
src/plugins/plugin.tooltip.js:404
Method
labelColor
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2734
Method
labelColor
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2755
Function
labelPointStyle
()
test/specs/plugin.tooltip.tests.js:1909
Function
labelPointStyle
(tooltipItem)
src/plugins/plugin.tooltip.js:419
Method
labelPointStyle
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2736
Method
labelPointStyle
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2757
Function
labelTextColor
()
test/specs/plugin.tooltip.tests.js:1906
Function
labelTextColor
()
src/plugins/plugin.tooltip.js:416
Method
labelTextColor
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2735
Method
labelTextColor
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2756
Function
labels
(config)
docs/scripts/utils.js:57
Method
last
()
src/types/index.d.ts:2029
Method
last
* Last non-skipped point on this line * @returns {PointElement|undefined}
src/elements/element.line.js:337
Function
leftForLtr
(x, itemWidth)
src/helpers/helpers.rtl.ts:26
Function
lineTo
(ctx, previous, target)
src/elements/element.line.js:21
Method
linkScales
()
src/controllers/controller.doughnut.js:143
Method
listener
(e, x, y)
src/core/core.controller.js:985
Function
logarithmic
* Formatter for logarithmic ticks * @method Chart.Ticks.formatters.logarithmic * @param tickValue {number} the value to be formatted * @param
src/core/core.ticks.js:71
Function
makeChart
()
test/specs/plugin.legend.tests.js:445
Method
makeSet
(idx)
src/core/core.controller.js:589
Function
mapper
test/specs/core.scale.tests.js:809
Function
maxLineWidth
(line)
src/plugins/plugin.tooltip.js:187
Method
method
(arg)
test/specs/helpers.config.tests.js:801
Function
months
(config)
docs/scripts/utils.js:91
Method
move
(arr)
src/core/core.datasetController.js:1000
Function
namedColor
(index)
docs/scripts/utils.js:147
Function
nearest
* nearest mode returns the element closest to the point * @function Chart.Interaction.modes.intersect * @param {Chart} chart - the chart we are
src/core/core.interaction.js:352
Function
nearest
* Gets the tooltip position nearest of the item nearest to the event position
src/plugins/plugin.tooltip.js:57
Function
newDate
(days)
docs/scripts/utils.js:151
Function
newDateString
(days)
docs/scripts/utils.js:155
Function
noop
()
src/helpers/helpers.core.ts:11
Function
number
(from, to, factor)
src/core/core.animation.js:22
Function
numbers
(config)
docs/scripts/utils.js:20
Function
numeric
* Formatter for numeric ticks * @method Chart.Ticks.formatters.numeric * @param tickValue {number} the value to be formatted * @param index {
src/core/core.ticks.js:28
Function
onAnimationProgress
(context)
src/core/core.controller.js:41
Function
onClick
()
test/specs/plugin.legend.tests.js:922
Function
onClick
(e, legendItem, legend)
src/plugins/plugin.legend.js:645
Method
onClick
(e, legendItem, legend)
src/controllers/controller.doughnut.js:125
Method
onClick
(e, legendItem, legend)
src/controllers/controller.polarArea.js:65
Method
onClick
* Called if the event is of type 'mouseup' or 'click'. Passed the event, an array of active elements, and the chart.
src/types/index.d.ts:1733
Method
onHover
* Called when any of the events fire. Passed the event, an array of active elements (bars, points, etc), and the chart.
src/types/index.d.ts:1728
Method
onHover
* A callback that is called when a 'mousemove' event is registered on top of a label item
src/types/index.d.ts:2463
Method
onLeave
* A callback that is called when a 'mousemove' event is registered outside of a previously hovered label item.
src/types/index.d.ts:2467
Function
onResize
(chart, newSize)
test/specs/core.controller.tests.js:635
Method
onResize
* Called when a resize occurs. Gets passed two arguments: the chart instance and the new size.
src/types/index.d.ts:1707
Function
onWindowResize
()
src/platform/platform.dom.js:164
Method
options
()
src/core/core.controller.js:221
Method
options
()
src/core/core.config.js:185
Method
override
(scope, values)
src/core/core.defaults.js:109
Method
override
* Override default date adapter methods. * Accepts type parameter to define options type. * @example * Chart._adapters._date.override<{myAdap
src/core/core.adapters.ts:87
Method
override
(scope: S)
src/helpers/helpers.config.types.ts:21
Function
ownKeys
* A trap for Object.getOwnPropertyNames and Object.getOwnPropertySymbols.
src/helpers/helpers.config.ts:94
Method
parse
* Override data parsing, since we are not using scales
src/controllers/controller.doughnut.js:148
Method
parse
()
src/core/core.adapters.ts:106
Method
parse
(raw, index)
src/scales/scale.linearbase.js:170
Method
parse
(raw, index)
src/scales/scale.logarithmic.js:103
Method
parse
* @param {*} raw * @param {number?} [index] * @return {number}
src/scales/scale.time.js:295
Method
parse
(raw, index)
docs/scripts/log2.js:10
Method
parseArrayData
* Parse array of arrays * @protected
src/controllers/controller.bubble.js:58
Method
parseArrayData
* Overriding array data parsing since we support mixed primitive/array * data for float bars * @protected
src/controllers/controller.bar.js:315
Function
parseISODate
(str)
docs/scripts/utils.js:159
Method
parseObjectData
(meta, data, start, count)
src/controllers/controller.radar.js:49
Method
parseObjectData
* Parse array of objects * @protected
src/controllers/controller.bubble.js:71
Method
parseObjectData
(meta, data, start, count)
src/controllers/controller.polarArea.js:109
Method
parseObjectData
* Overriding object data parsing since we support mixed primitive/array * value-scale data for float bars * @protected
src/controllers/controller.bar.js:324
Method
parsePrimitiveData
* Parse array of primitive values * @protected
src/controllers/controller.bubble.js:46
Method
parsePrimitiveData
* Overriding primitive data parsing since we support mixed primitive/array * data for float bars * @protected
src/controllers/controller.bar.js:306
← previous
next →
1,201–1,300 of 1,409, ranked by callers