MCPcopy Create free account

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

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

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:1849
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:1850
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:1287
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:872
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:1413
MethodisFullSize
* @return {boolean}
src/core/core.scale.js:767
MethodisIndexable
(key: string)
src/helpers/helpers.config.types.ts:40
MethodisNotInOrderComparedToPrev
()
src/core/core.datasetController.js:473
FunctioniterateOptions
()
test/specs/core.controller.tests.js:1943
Functionlabel
()
test/specs/plugin.tooltip.tests.js:1888
Functionlabel
(tooltipItem)
src/plugins/plugin.tooltip.js:388
Methodlabel
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2731
FunctionlabelColor
(tooltipItem)
src/plugins/plugin.tooltip.js:404
MethodlabelColor
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2734
MethodlabelColor
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2755
FunctionlabelPointStyle
()
test/specs/plugin.tooltip.tests.js:1909
FunctionlabelPointStyle
(tooltipItem)
src/plugins/plugin.tooltip.js:419
MethodlabelPointStyle
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2736
MethodlabelPointStyle
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2757
FunctionlabelTextColor
()
test/specs/plugin.tooltip.tests.js:1906
FunctionlabelTextColor
()
src/plugins/plugin.tooltip.js:416
MethodlabelTextColor
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2735
MethodlabelTextColor
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2756
Functionlabels
(config)
docs/scripts/utils.js:57
Methodlast
()
src/types/index.d.ts:2029
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:985
Functionlogarithmic
* Formatter for logarithmic ticks * @method Chart.Ticks.formatters.logarithmic * @param tickValue {number} the value to be formatted * @param
src/core/core.ticks.js:71
FunctionmakeChart
()
test/specs/plugin.legend.tests.js:445
MethodmakeSet
(idx)
src/core/core.controller.js:589
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:28
FunctiononAnimationProgress
(context)
src/core/core.controller.js:41
FunctiononClick
()
test/specs/plugin.legend.tests.js:922
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:1733
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:1728
MethodonHover
* A callback that is called when a 'mousemove' event is registered on top of a label item
src/types/index.d.ts:2463
MethodonLeave
* A callback that is called when a 'mousemove' event is registered outside of a previously hovered label item.
src/types/index.d.ts:2467
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:1707
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:170
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
FunctionparseISODate
(str)
docs/scripts/utils.js:159
MethodparseObjectData
(meta, data, start, count)
src/controllers/controller.radar.js:49
MethodparseObjectData
* Parse array of objects * @protected
src/controllers/controller.bubble.js:71
MethodparseObjectData
(meta, data, start, count)
src/controllers/controller.polarArea.js:109
MethodparseObjectData
* Overriding object data parsing since we support mixed primitive/array * value-scale data for float bars * @protected
src/controllers/controller.bar.js:324
MethodparsePrimitiveData
* Parse array of primitive values * @protected
src/controllers/controller.bubble.js:46
MethodparsePrimitiveData
* Overriding primitive data parsing since we support mixed primitive/array * data for float bars * @protected
src/controllers/controller.bar.js:306
← previousnext →1,201–1,300 of 1,409, ranked by callers