Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartjs/Chart.js
/ functions
Functions
1,573 in github.com/chartjs/Chart.js
⨍
Functions
1,573
◇
Types & classes
306
Method
getLabelForValue
* @param {number} value * @return {string}
src/scales/scale.logarithmic.js:193
Method
getLabelForValue
* @param {number} value * @return {string}
src/scales/scale.time.js:500
Method
getLabels
* @return {string[]}
src/core/core.scale.js:358
Method
getLineWidthForValue
(value)
src/core/core.scale.js:1456
Method
getMaxOverflow
()
src/controllers/controller.bar.ts:468
Method
getMaxOverflow
* @protected
src/controllers/controller.scatter.js:166
Method
getMaxOverflow
* @protected
src/controllers/controller.bubble.js:93
Method
getMaxOverflow
* @protected
src/controllers/controller.line.js:125
Method
getMaximumSize
* 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
Method
getMinMax
()
src/controllers/controller.polarArea.ts:129
Method
getMinMax
* @protected
src/core/core.datasetController.js:638
Method
getMinMax
* @param {boolean} canStack * @return {{min: number, max: number}} * @protected * @since 3.0
src/core/core.scale.js:303
Function
getOwnPropertyDescriptor
* A trap for Object.getOwnPropertyDescriptor. * Also used by Object.hasOwnProperty.
src/helpers/helpers.config.ts:75
Method
getPadding
* 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
Method
getPixelForDecimal
* 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
Method
getPixelForTick
(index)
src/scales/scale.category.js:171
Method
getPixelForValue
(value)
src/scales/scale.linear.js:44
Method
getPixelForValue
(value)
src/scales/scale.logarithmic.js:220
Method
getPixelForValue
* @param {number} value - Milliseconds since epoch (1 January 1970 00:00:00 UTC) * @return {number}
src/scales/scale.time.js:579
Method
getPixelForValue
(value)
docs/scripts/log2.js:48
Method
getPlugin
(id: string)
src/core/core.registry.ts:60
Method
getPointLabelPosition
(index: number)
src/types/index.ts:3699
Method
getPointLabelPosition
(index)
src/scales/scale.radialLinear.js:537
Method
getPointPositionForValue
()
test/specs/helpers.core.unit.spec.js:564
Method
getPointPositionForValue
()
test/specs/core.config.spec.js:108
Function
getPrototypeOf
* A trap for Object.getPrototypeOf.
src/helpers/helpers.config.ts:82
Method
getRange
(axis: 'x' | 'y')
src/elements/element.bar.ts:258
Method
getRange
()
src/elements/element.point.ts:102
Method
getScale
(id: string)
src/core/core.registry.ts:64
Method
getTicks
* Returns the scale tick objects * @return {Tick[]} * @since 2.7
src/core/core.scale.js:351
Method
getValueForDistanceFromCenter
(distance)
src/scales/scale.radialLinear.js:502
Method
getValueForPixel
* 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
Method
getValueForPixel
(pixel)
src/scales/scale.linear.js:48
Method
getValueForPixel
* @param {number} pixel * @return {number}
src/scales/scale.timeseries.js:170
Method
getValueForPixel
(pixel)
src/scales/scale.category.js:179
Method
getValueForPixel
(pixel)
src/scales/scale.logarithmic.js:232
Method
getValueForPixel
* @param {number} pixel * @return {number}
src/scales/scale.time.js:589
Method
getValueForPixel
(pixel)
docs/scripts/log2.js:57
Method
getter
()
test/specs/helpers.config.unit.spec.js:75
Method
getter
(i)
src/controllers/controller.doughnut.js:155
Function
has
* A trap for the in operator.
src/helpers/helpers.config.ts:89
Method
inRange
(mouseX: number, mouseY: number, useFinalPosition?: boolean)
src/elements/element.bar.ts:214
Method
inRange
(chartX: number, chartY: number, useFinalPosition: boolean)
src/elements/element.arc.ts:429
Method
inRange
(mouseX: number, mouseY: number, useFinalPosition?: boolean)
src/elements/element.point.ts:62
Method
inXRange
(mouseX: number, useFinalPosition?: boolean)
src/types/index.ts:1855
Method
inXRange
(mouseX: number, useFinalPosition?: boolean)
src/elements/element.bar.ts:218
Method
inXRange
(mouseX: number, useFinalPosition?: boolean)
src/elements/element.point.ts:68
Method
inYRange
(mouseY: number, useFinalPosition?: boolean)
src/types/index.ts:1856
Method
inYRange
(mouseY: number, useFinalPosition?: boolean)
src/elements/element.bar.ts:222
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.ts:344
Function
init
()
test/types/date_adapter.ts:4
Function
init
(options)
test/specs/scale.time.spec.js:1332
Method
init
()
src/core/core.adapters.ts:99
Method
init
* @param {any} options * @since 3.0
src/core/core.scale.js:256
Method
init
(scaleOptions)
src/scales/scale.category.js:74
Method
init
(scaleOpts, opts = {})
src/scales/scale.time.js:272
Method
initOffsets
* @protected
src/scales/scale.timeseries.js:60
Method
initialize
()
src/controllers/controller.bar.ts:494
Method
initialize
()
src/controllers/controller.bubble.js:47
Method
initialize
()
src/controllers/controller.line.js:35
Function
input
(context)
test/specs/helpers.options.unit.spec.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.ts:877
Method
interpolate
(point)
src/plugins/plugin.filler/simpleArc.ts:22
Method
interpolate
* 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
Method
isAttached
* @param canvas * @returns true if the canvas is attached to the platform, false if not.
src/platform/platform.base.ts:77
Method
isFullSize
()
src/types/index.ts:1418
Method
isFullSize
* @return {boolean}
src/core/core.scale.js:772
Function
isPlainObject
(value)
test/specs/core.config.spec.js:590
Function
iterateOptions
()
test/specs/core.controller.spec.js:2503
Function
label
()
test/specs/plugin.tooltip.spec.js:2313
Function
label
(tooltipItem)
src/plugins/plugin.tooltip.js:424
Method
label
(this: Model, tooltipItem: Item)
src/types/index.ts:2743
Function
labelColor
(tooltipItem)
src/plugins/plugin.tooltip.js:440
Method
labelColor
(this: Model, tooltipItem: Item)
src/types/index.ts:2746
Method
labelColor
(this: Model, tooltipItem: Item)
src/types/index.ts:2767
Function
labelPointStyle
()
test/specs/plugin.tooltip.spec.js:2519
Function
labelPointStyle
(tooltipItem)
src/plugins/plugin.tooltip.js:455
Method
labelPointStyle
(this: Model, tooltipItem: Item)
src/types/index.ts:2748
Method
labelPointStyle
(this: Model, tooltipItem: Item)
src/types/index.ts:2769
Function
labelTextColor
()
test/specs/plugin.tooltip.spec.js:2516
Function
labelTextColor
()
src/plugins/plugin.tooltip.js:452
Method
labelTextColor
(this: Model, tooltipItem: Item)
src/types/index.ts:2747
Method
labelTextColor
(this: Model, tooltipItem: Item)
src/types/index.ts:2768
Function
labels
(config)
docs/scripts/utils.js:57
Method
last
()
src/types/index.ts:2035
Method
last
* Last non-skipped point on this line
src/elements/element.line.ts:367
Function
leftForLtr
(x, itemWidth)
src/helpers/helpers.rtl.ts:28
Function
lineTo
(ctx: CanvasRenderingContext2D | Path2D, _previous: PointElement, target: PointElement)
src/elements/element.line.ts:44
Method
linkScales
()
src/controllers/controller.doughnut.js:143
Method
listener
(e, x, y)
src/core/core.controller.js:1068
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.spec.js:614
Method
makeSet
(idx)
src/core/core.controller.js:668
Function
mapper
test/specs/core.scale.spec.js:890
Function
maxLineWidth
(line)
src/plugins/plugin.tooltip.js:223
Function
method
()
test/specs/vitest.setup.node.unit.spec.js:52
Function
months
(config)
docs/scripts/utils.js:91
Method
move
(arr)
src/core/core.datasetController.js:1085
Function
namedColor
(index)
docs/scripts/utils.js:147
← previous
next →
1,301–1,400 of 1,573, ranked by callers