MCPcopy Create free account

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

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

MethodgetLabelForValue
* @param {number} value * @return {string}
src/scales/scale.logarithmic.js:193
MethodgetLabelForValue
* @param {number} value * @return {string}
src/scales/scale.time.js:500
MethodgetLabels
* @return {string[]}
src/core/core.scale.js:358
MethodgetLineWidthForValue
(value)
src/core/core.scale.js:1456
MethodgetMaxOverflow
()
src/controllers/controller.bar.ts:468
MethodgetMaxOverflow
* @protected
src/controllers/controller.scatter.js:166
MethodgetMaxOverflow
* @protected
src/controllers/controller.bubble.js:93
MethodgetMaxOverflow
* @protected
src/controllers/controller.line.js:125
MethodgetMaximumSize
* Returns the maximum size in pixels of given canvas element. * @param element * @param width - content width of parent element * @param height
src/platform/platform.base.ts:64
MethodgetMinMax
()
src/controllers/controller.polarArea.ts:129
MethodgetMinMax
* @protected
src/core/core.datasetController.js:638
MethodgetMinMax
* @param {boolean} canStack * @return {{min: number, max: number}} * @protected * @since 3.0
src/core/core.scale.js:303
FunctiongetOwnPropertyDescriptor
* A trap for Object.getOwnPropertyDescriptor. * Also used by Object.hasOwnProperty.
src/helpers/helpers.config.ts:75
MethodgetPadding
* Get the padding needed for the scale * @return {{top: number, left: number, bottom: number, right: number}} the necessary padding * @private
src/core/core.scale.js:337
MethodgetPixelForDecimal
* Utility for getting the pixel location of a percentage of scale * The coordinate (0, 0) is at the upper-left corner of the canvas * @param {numb
src/core/core.scale.js:928
MethodgetPixelForTick
(index)
src/scales/scale.category.js:171
MethodgetPixelForValue
(value)
src/scales/scale.linear.js:44
MethodgetPixelForValue
(value)
src/scales/scale.logarithmic.js:220
MethodgetPixelForValue
* @param {number} value - Milliseconds since epoch (1 January 1970 00:00:00 UTC) * @return {number}
src/scales/scale.time.js:579
MethodgetPixelForValue
(value)
docs/scripts/log2.js:48
MethodgetPlugin
(id: string)
src/core/core.registry.ts:60
MethodgetPointLabelPosition
(index: number)
src/types/index.ts:3699
MethodgetPointLabelPosition
(index)
src/scales/scale.radialLinear.js:537
MethodgetPointPositionForValue
()
test/specs/helpers.core.unit.spec.js:564
MethodgetPointPositionForValue
()
test/specs/core.config.spec.js:108
FunctiongetPrototypeOf
* A trap for Object.getPrototypeOf.
src/helpers/helpers.config.ts:82
MethodgetRange
(axis: 'x' | 'y')
src/elements/element.bar.ts:258
MethodgetRange
()
src/elements/element.point.ts:102
MethodgetScale
(id: string)
src/core/core.registry.ts:64
MethodgetTicks
* Returns the scale tick objects * @return {Tick[]} * @since 2.7
src/core/core.scale.js:351
MethodgetValueForDistanceFromCenter
(distance)
src/scales/scale.radialLinear.js:502
MethodgetValueForPixel
* Used to get the data value from a given pixel. This is the inverse of getPixelForValue * The coordinate (0, 0) is at the upper-left corner of the
src/core/core.scale.js:906
MethodgetValueForPixel
(pixel)
src/scales/scale.linear.js:48
MethodgetValueForPixel
* @param {number} pixel * @return {number}
src/scales/scale.timeseries.js:170
MethodgetValueForPixel
(pixel)
src/scales/scale.category.js:179
MethodgetValueForPixel
(pixel)
src/scales/scale.logarithmic.js:232
MethodgetValueForPixel
* @param {number} pixel * @return {number}
src/scales/scale.time.js:589
MethodgetValueForPixel
(pixel)
docs/scripts/log2.js:57
Methodgetter
()
test/specs/helpers.config.unit.spec.js:75
Methodgetter
(i)
src/controllers/controller.doughnut.js:155
Functionhas
* A trap for the in operator.
src/helpers/helpers.config.ts:89
MethodinRange
(mouseX: number, mouseY: number, useFinalPosition?: boolean)
src/elements/element.bar.ts:214
MethodinRange
(chartX: number, chartY: number, useFinalPosition: boolean)
src/elements/element.arc.ts:429
MethodinRange
(mouseX: number, mouseY: number, useFinalPosition?: boolean)
src/elements/element.point.ts:62
MethodinXRange
(mouseX: number, useFinalPosition?: boolean)
src/types/index.ts:1855
MethodinXRange
(mouseX: number, useFinalPosition?: boolean)
src/elements/element.bar.ts:218
MethodinXRange
(mouseX: number, useFinalPosition?: boolean)
src/elements/element.point.ts:68
MethodinYRange
(mouseY: number, useFinalPosition?: boolean)
src/types/index.ts:1856
MethodinYRange
(mouseY: number, useFinalPosition?: boolean)
src/elements/element.bar.ts:222
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.ts:344
Functioninit
()
test/types/date_adapter.ts:4
Functioninit
(options)
test/specs/scale.time.spec.js:1332
Methodinit
()
src/core/core.adapters.ts:99
Methodinit
* @param {any} options * @since 3.0
src/core/core.scale.js:256
Methodinit
(scaleOptions)
src/scales/scale.category.js:74
Methodinit
(scaleOpts, opts = {})
src/scales/scale.time.js:272
MethodinitOffsets
* @protected
src/scales/scale.timeseries.js:60
Methodinitialize
()
src/controllers/controller.bar.ts:494
Methodinitialize
()
src/controllers/controller.bubble.js:47
Methodinitialize
()
src/controllers/controller.line.js:35
Functioninput
(context)
test/specs/helpers.options.unit.spec.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.ts:877
Methodinterpolate
(point)
src/plugins/plugin.filler/simpleArc.ts:22
Methodinterpolate
* Interpolate a point in this line at the same value on `property` as * the reference `point` provided * @param point - the reference point * @p
src/elements/element.line.ts:380
MethodisAttached
* @param canvas * @returns true if the canvas is attached to the platform, false if not.
src/platform/platform.base.ts:77
MethodisFullSize
()
src/types/index.ts:1418
MethodisFullSize
* @return {boolean}
src/core/core.scale.js:772
FunctionisPlainObject
(value)
test/specs/core.config.spec.js:590
FunctioniterateOptions
()
test/specs/core.controller.spec.js:2503
Functionlabel
()
test/specs/plugin.tooltip.spec.js:2313
Functionlabel
(tooltipItem)
src/plugins/plugin.tooltip.js:424
Methodlabel
(this: Model, tooltipItem: Item)
src/types/index.ts:2743
FunctionlabelColor
(tooltipItem)
src/plugins/plugin.tooltip.js:440
MethodlabelColor
(this: Model, tooltipItem: Item)
src/types/index.ts:2746
MethodlabelColor
(this: Model, tooltipItem: Item)
src/types/index.ts:2767
FunctionlabelPointStyle
()
test/specs/plugin.tooltip.spec.js:2519
FunctionlabelPointStyle
(tooltipItem)
src/plugins/plugin.tooltip.js:455
MethodlabelPointStyle
(this: Model, tooltipItem: Item)
src/types/index.ts:2748
MethodlabelPointStyle
(this: Model, tooltipItem: Item)
src/types/index.ts:2769
FunctionlabelTextColor
()
test/specs/plugin.tooltip.spec.js:2516
FunctionlabelTextColor
()
src/plugins/plugin.tooltip.js:452
MethodlabelTextColor
(this: Model, tooltipItem: Item)
src/types/index.ts:2747
MethodlabelTextColor
(this: Model, tooltipItem: Item)
src/types/index.ts:2768
Functionlabels
(config)
docs/scripts/utils.js:57
Methodlast
()
src/types/index.ts:2035
Methodlast
* Last non-skipped point on this line
src/elements/element.line.ts:367
FunctionleftForLtr
(x, itemWidth)
src/helpers/helpers.rtl.ts:28
FunctionlineTo
(ctx: CanvasRenderingContext2D | Path2D, _previous: PointElement, target: PointElement)
src/elements/element.line.ts:44
MethodlinkScales
()
src/controllers/controller.doughnut.js:143
Methodlistener
(e, x, y)
src/core/core.controller.js:1068
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.spec.js:614
MethodmakeSet
(idx)
src/core/core.controller.js:668
Functionmapper
test/specs/core.scale.spec.js:890
FunctionmaxLineWidth
(line)
src/plugins/plugin.tooltip.js:223
Functionmethod
()
test/specs/vitest.setup.node.unit.spec.js:52
Functionmonths
(config)
docs/scripts/utils.js:91
Methodmove
(arr)
src/core/core.datasetController.js:1085
FunctionnamedColor
(index)
docs/scripts/utils.js:147
← previousnext →1,301–1,400 of 1,573, ranked by callers