Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartjs/Chart.js
/ functions
Functions
1,416 in github.com/chartjs/Chart.js
⨍
Functions
1,416
◇
Types & classes
268
Method
getValueForPixel
(pixel)
src/scales/scale.logarithmic.js:222
Method
getValueForPixel
* @param {number} pixel * @return {number}
src/scales/scale.time.js:580
Method
getValueForPixel
(pixel)
docs/scripts/log2.js:57
Method
getter
()
test/specs/helpers.config.tests.js:75
Method
getter
(i)
src/controllers/controller.doughnut.js:155
Function
has
* A trap for the in operator.
src/helpers/helpers.config.ts:87
Method
inRange
(chartX: number, chartY: number, useFinalPosition: boolean)
src/elements/element.arc.ts:429
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:1854
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:1855
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:1326
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:877
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:1418
Method
isFullSize
* @return {boolean}
src/core/core.scale.js:772
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:2145
Function
label
()
test/specs/plugin.tooltip.tests.js:1943
Function
label
(tooltipItem)
src/plugins/plugin.tooltip.js:388
Method
label
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2737
Function
labelColor
(tooltipItem)
src/plugins/plugin.tooltip.js:404
Method
labelColor
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2740
Method
labelColor
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2761
Function
labelPointStyle
()
test/specs/plugin.tooltip.tests.js:1964
Function
labelPointStyle
(tooltipItem)
src/plugins/plugin.tooltip.js:419
Method
labelPointStyle
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2742
Method
labelPointStyle
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2763
Function
labelTextColor
()
test/specs/plugin.tooltip.tests.js:1961
Function
labelTextColor
()
src/plugins/plugin.tooltip.js:416
Method
labelTextColor
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2741
Method
labelTextColor
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2762
Function
labels
(config)
docs/scripts/utils.js:57
Method
last
()
src/types/index.d.ts:2034
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:989
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:94
Function
makeChart
()
test/specs/plugin.legend.tests.js:506
Method
makeSet
(idx)
src/core/core.controller.js:593
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:49
Function
onAnimationProgress
(context)
src/core/core.controller.js:41
Function
onClick
()
test/specs/plugin.legend.tests.js:1017
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:1738
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:1733
Method
onHover
* A callback that is called when a 'mousemove' event is registered on top of a label item
src/types/index.d.ts:2468
Method
onLeave
* A callback that is called when a 'mousemove' event is registered outside of a previously hovered label item, * or when the pointer leaves the can
src/types/index.d.ts:2473
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:1712
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:175
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
← previous
next →
1,201–1,300 of 1,416, ranked by callers