MCPcopy Create free account

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

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

MethodgetValueForPixel
(pixel)
src/scales/scale.logarithmic.js:222
MethodgetValueForPixel
* @param {number} pixel * @return {number}
src/scales/scale.time.js:580
MethodgetValueForPixel
(pixel)
docs/scripts/log2.js:57
Methodgetter
()
test/specs/helpers.config.tests.js:75
Methodgetter
(i)
src/controllers/controller.doughnut.js:155
Functionhas
* A trap for the in operator.
src/helpers/helpers.config.ts:87
MethodinRange
(chartX: number, chartY: number, useFinalPosition: boolean)
src/elements/element.arc.ts:429
MethodinRange
(mouseX, mouseY, useFinalPosition)
src/elements/element.bar.js:203
MethodinRange
(mouseX: number, mouseY: number, useFinalPosition?: boolean)
src/elements/element.point.ts:62
MethodinXRange
(mouseX: number, useFinalPosition?: boolean)
src/types/index.d.ts:1854
MethodinXRange
(mouseX, useFinalPosition)
src/elements/element.bar.js:207
MethodinXRange
(mouseX: number, useFinalPosition?: boolean)
src/elements/element.point.ts:68
MethodinYRange
(mouseY: number, useFinalPosition?: boolean)
src/types/index.d.ts:1855
MethodinYRange
(mouseY, useFinalPosition)
src/elements/element.bar.js:211
MethodinYRange
(mouseY: number, useFinalPosition?: boolean)
src/elements/element.point.ts:72
Functionindex
* 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
Functioninit
()
test/types/date_adapter.ts:4
Functioninit
(options)
test/specs/scale.time.tests.js:1326
Methodinit
()
src/core/core.adapters.ts:100
Methodinit
* @param {any} options * @since 3.0
src/core/core.scale.js:256
Methodinit
(scaleOptions)
src/scales/scale.category.js:56
Methodinit
(scaleOpts, opts = {})
src/scales/scale.time.js:266
MethodinitOffsets
* @protected
src/scales/scale.timeseries.js:60
Methodinitialize
()
src/controllers/controller.bubble.js:37
Methodinitialize
()
src/controllers/controller.line.js:35
Methodinitialize
()
src/controllers/controller.bar.js:379
Functioninput
(context)
test/specs/helpers.options.tests.js:227
Methodinstall
* @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
Methodinterpolate
(point)
src/plugins/plugin.filler/simpleArc.js:18
Methodinterpolate
* 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
MethodisAttached
* @param {HTMLCanvasElement} canvas * @returns {boolean} true if the canvas is attached to the platform, false if not.
src/platform/platform.base.js:72
MethodisFullSize
()
src/types/index.d.ts:1418
MethodisFullSize
* @return {boolean}
src/core/core.scale.js:772
MethodisIndexable
(key: string)
src/helpers/helpers.config.types.ts:40
MethodisNotInOrderComparedToPrev
()
src/core/core.datasetController.js:473
FunctioniterateOptions
()
test/specs/core.controller.tests.js:2145
Functionlabel
()
test/specs/plugin.tooltip.tests.js:1943
Functionlabel
(tooltipItem)
src/plugins/plugin.tooltip.js:388
Methodlabel
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2737
FunctionlabelColor
(tooltipItem)
src/plugins/plugin.tooltip.js:404
MethodlabelColor
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2740
MethodlabelColor
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2761
FunctionlabelPointStyle
()
test/specs/plugin.tooltip.tests.js:1964
FunctionlabelPointStyle
(tooltipItem)
src/plugins/plugin.tooltip.js:419
MethodlabelPointStyle
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2742
MethodlabelPointStyle
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2763
FunctionlabelTextColor
()
test/specs/plugin.tooltip.tests.js:1961
FunctionlabelTextColor
()
src/plugins/plugin.tooltip.js:416
MethodlabelTextColor
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2741
MethodlabelTextColor
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2762
Functionlabels
(config)
docs/scripts/utils.js:57
Methodlast
()
src/types/index.d.ts:2034
Methodlast
* Last non-skipped point on this line * @returns {PointElement|undefined}
src/elements/element.line.js:337
FunctionleftForLtr
(x, itemWidth)
src/helpers/helpers.rtl.ts:26
FunctionlineTo
(ctx, previous, target)
src/elements/element.line.js:21
MethodlinkScales
()
src/controllers/controller.doughnut.js:143
Methodlistener
(e, x, y)
src/core/core.controller.js:989
Functionlogarithmic
* Formatter for logarithmic ticks * @method Chart.Ticks.formatters.logarithmic * @param tickValue {number} the value to be formatted * @param
src/core/core.ticks.js:94
FunctionmakeChart
()
test/specs/plugin.legend.tests.js:506
MethodmakeSet
(idx)
src/core/core.controller.js:593
Functionmapper
test/specs/core.scale.tests.js:809
FunctionmaxLineWidth
(line)
src/plugins/plugin.tooltip.js:187
Methodmethod
(arg)
test/specs/helpers.config.tests.js:801
Functionmonths
(config)
docs/scripts/utils.js:91
Methodmove
(arr)
src/core/core.datasetController.js:1000
FunctionnamedColor
(index)
docs/scripts/utils.js:147
Functionnearest
* 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
Functionnearest
* Gets the tooltip position nearest of the item nearest to the event position
src/plugins/plugin.tooltip.js:57
FunctionnewDate
(days)
docs/scripts/utils.js:151
FunctionnewDateString
(days)
docs/scripts/utils.js:155
Functionnoop
()
src/helpers/helpers.core.ts:11
Functionnumber
(from, to, factor)
src/core/core.animation.js:22
Functionnumbers
(config)
docs/scripts/utils.js:20
Functionnumeric
* 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
FunctiononAnimationProgress
(context)
src/core/core.controller.js:41
FunctiononClick
()
test/specs/plugin.legend.tests.js:1017
FunctiononClick
(e, legendItem, legend)
src/plugins/plugin.legend.js:645
MethodonClick
(e, legendItem, legend)
src/controllers/controller.doughnut.js:125
MethodonClick
(e, legendItem, legend)
src/controllers/controller.polarArea.js:65
MethodonClick
* 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
MethodonHover
* 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
MethodonHover
* A callback that is called when a 'mousemove' event is registered on top of a label item
src/types/index.d.ts:2468
MethodonLeave
* 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
FunctiononResize
(chart, newSize)
test/specs/core.controller.tests.js:635
MethodonResize
* Called when a resize occurs. Gets passed two arguments: the chart instance and the new size.
src/types/index.d.ts:1712
FunctiononWindowResize
()
src/platform/platform.dom.js:164
Methodoptions
()
src/core/core.controller.js:221
Methodoptions
()
src/core/core.config.js:185
Methodoverride
(scope, values)
src/core/core.defaults.js:109
Methodoverride
* Override default date adapter methods. * Accepts type parameter to define options type. * @example * Chart._adapters._date.override<{myAdap
src/core/core.adapters.ts:87
Methodoverride
(scope: S)
src/helpers/helpers.config.types.ts:21
FunctionownKeys
* A trap for Object.getOwnPropertyNames and Object.getOwnPropertySymbols.
src/helpers/helpers.config.ts:94
Methodparse
* Override data parsing, since we are not using scales
src/controllers/controller.doughnut.js:148
Methodparse
()
src/core/core.adapters.ts:106
Methodparse
(raw, index)
src/scales/scale.linearbase.js:175
Methodparse
(raw, index)
src/scales/scale.logarithmic.js:103
Methodparse
* @param {*} raw * @param {number?} [index] * @return {number}
src/scales/scale.time.js:295
Methodparse
(raw, index)
docs/scripts/log2.js:10
MethodparseArrayData
* Parse array of arrays * @protected
src/controllers/controller.bubble.js:58
MethodparseArrayData
* Overriding array data parsing since we support mixed primitive/array * data for float bars * @protected
src/controllers/controller.bar.js:315
← previousnext →1,201–1,300 of 1,416, ranked by callers