Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartjs/Chart.js
/ functions
Functions
1,409 in github.com/chartjs/Chart.js
⨍
Functions
1,409
◇
Types & classes
268
Method
drawTitle
* @protected
src/scales/scale.radialLinear.js:683
Function
easeInBack
(t: number)
src/helpers/helpers.easing.ts:82
Function
easeInOutBack
(t: number)
src/helpers/helpers.easing.ts:92
Function
easeInOutElastic
(t: number)
src/helpers/helpers.easing.ts:73
Function
easeOutBack
(t: number)
src/helpers/helpers.easing.ts:87
Function
easeOutBounce
(t: number)
src/helpers/helpers.easing.ts:102
Method
endOf
()
src/core/core.adapters.ts:126
Function
evaluationFunc
(element, datasetIndex, index)
src/core/core.interaction.js:121
Method
eventFilter
(plugin)
src/core/core.controller.js:1170
Method
external
* See external tooltip section.
src/types/index.d.ts:2804
Function
f0
()
test/specs/helpers.core.tests.js:248
Function
fastPathSegment
* Create path from points, grouping by truncated x-coordinate * Points need to be in order by x-coordinate for this to work efficiently * @param {Ca
src/elements/element.line.js:118
Method
fillLineOfText
(line)
src/plugins/plugin.tooltip.js:880
Method
first
* First non-skipped point on this line * @returns {PointElement|undefined}
src/elements/element.line.js:327
Method
fit
()
src/types/index.d.ts:1410
Method
fit
()
src/types/index.d.ts:2419
Method
fit
()
src/scales/scale.radialLinear.js:466
Function
fontString
(pixelSize: number, fontStyle: string, fontFamily: string)
src/helpers/helpers.extras.ts:7
Function
footer
()
test/specs/plugin.tooltip.tests.js:1900
Method
footer
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2760
Function
format
(timestamp)
test/types/date_adapter.ts:11
Method
format
* Returns the formatted date in the specified `format` for a given `timestamp`. * @param timestamp - the timestamp to format * @param format - t
src/core/core.adapters.ts:34
Method
format
()
src/core/core.adapters.ts:110
Method
format
* @param {number} value * @param {string|undefined} format * @return {string}
src/scales/scale.time.js:510
Method
formats
()
src/core/core.adapters.ts:102
Function
generateLabels
(chart)
src/plugins/plugin.legend.js:675
Method
generateLabels
(chart)
src/controllers/controller.polarArea.js:38
Method
generateTickLabels
(ticks: Tick[])
src/types/index.d.ts:1404
Method
generateTickLabels
(ticks)
src/scales/scale.radialLinear.js:454
Method
generateTickLabels
* @param {object[]} ticks
src/scales/scale.time.js:549
Function
get
* A trap for getting property values.
src/helpers/helpers.config.ts:64
Method
get
(id: string)
src/types/index.d.ts:1570
Method
get
* @param {string} id * @returns {object?}
src/core/core.typedRegistry.js:59
Method
get
* @param {string} scope
src/core/core.defaults.js:97
Method
getActiveElements
* Get active (hovered) elements * @returns array
src/core/core.controller.js:1088
Method
getActiveElements
* Get active elements in the tooltip * @returns {Array} Array of elements that are active in the tooltip
src/plugins/plugin.tooltip.js:1097
Method
getBasePixel
()
test/types/extensions/scale.ts:11
Method
getBasePixel
* Returns the pixel for the minimum chart value * The coordinate (0, 0) is at the upper-left corner of the canvas * @return {number}
src/core/core.scale.js:943
Method
getBasePixel
()
src/scales/scale.category.js:155
Method
getBasePosition
(index: number)
src/types/index.d.ts:3687
Method
getBasePosition
(index)
src/scales/scale.radialLinear.js:533
Method
getCenterPoint
(useFinalPosition)
src/elements/element.bar.js:215
Method
getCenterPoint
(useFinalPosition?: boolean)
src/elements/element.point.ts:76
Function
getConfig
()
test/types/scriptable_core_chart_options.ts:3
Method
getController
* @param {string} id * @returns {typeof DatasetController}
src/core/core.registry.js:65
Method
getDataElement
* @protected
src/core/core.datasetController.js:586
Method
getDecimalForPixel
* @param {number} pixel * @return {number}
src/core/core.scale.js:933
Method
getDecimalForValue
* @param {number} value - Milliseconds since epoch (1 January 1970 00:00:00 UTC) * @return {number}
src/scales/scale.timeseries.js:162
Method
getDevicePixelRatio
* @returns {number} the current devicePixelRatio of the device this platform is connected to.
src/platform/platform.base.js:48
Method
getElement
* @param {string} id * @returns {typeof Element}
src/core/core.registry.js:73
Function
getGradient
(context)
test/fixtures/controller.line/segments/gradient.js:1
Method
getLabelAndValue
* @protected
src/controllers/controller.radar.js:39
Method
getLabelAndValue
* @protected
src/controllers/controller.scatter.js:42
Method
getLabelAndValue
(index)
src/controllers/controller.doughnut.js:320
Method
getLabelAndValue
* @protected
src/controllers/controller.bubble.js:96
Method
getLabelAndValue
(index)
src/controllers/controller.polarArea.js:97
Method
getLabelAndValue
* @protected
src/core/core.datasetController.js:687
Method
getLabelForValue
* Used to get the label to display in the tooltip for the given value * @param {*} value * @return {string}
src/core/core.scale.js:877
Method
getLabelForValue
(value)
src/scales/scale.category.js:116
Method
getLabelForValue
(value)
src/scales/scale.linearbase.js:310
Method
getLabelForValue
* @param {number} value * @return {string}
src/scales/scale.logarithmic.js:192
Method
getLabelForValue
* @param {number} value * @return {string}
src/scales/scale.time.js:495
Method
getLabels
* @return {string[]}
src/core/core.scale.js:358
Method
getLineWidthForValue
(value)
src/core/core.scale.js:1451
Method
getMaxOverflow
* @protected
src/controllers/controller.scatter.js:156
Method
getMaxOverflow
* @protected
src/controllers/controller.bubble.js:83
Method
getMaxOverflow
* @protected
src/controllers/controller.line.js:125
Method
getMaxOverflow
* @return {number|boolean} * @protected
src/controllers/controller.bar.js:357
Method
getMaximumSize
* Returns the maximum size in pixels of given canvas element. * @param {HTMLCanvasElement} element * @param {number} [width] - content width of pa
src/platform/platform.base.js:59
Method
getMinMax
* @protected
src/controllers/controller.polarArea.js:123
Method
getMinMax
* @protected
src/core/core.datasetController.js:622
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:73
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:920
Method
getPixelForTick
(index)
src/scales/scale.category.js:143
Method
getPixelForValue
(value)
src/scales/scale.linear.js:44
Method
getPixelForValue
(value)
src/scales/scale.logarithmic.js:210
Method
getPixelForValue
* @param {number} value - Milliseconds since epoch (1 January 1970 00:00:00 UTC) * @return {number}
src/scales/scale.time.js:570
Method
getPixelForValue
(value)
docs/scripts/log2.js:48
Method
getPlugin
* @param {string} id * @returns {object}
src/core/core.registry.js:81
Method
getPointLabelPosition
(index: number)
src/types/index.d.ts:3686
Method
getPointLabelPosition
(index)
src/scales/scale.radialLinear.js:537
Function
getPrototypeOf
* A trap for Object.getPrototypeOf.
src/helpers/helpers.config.ts:80
Method
getRange
(axis)
src/elements/element.bar.js:223
Method
getRange
()
src/elements/element.point.ts:102
Method
getScale
* @param {string} id * @returns {typeof Scale}
src/core/core.registry.js:89
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:898
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:151
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
← previous
next →
1,101–1,200 of 1,409, ranked by callers