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
Function
afterDraw
(chart)
test/fixtures/plugin.legend/horizontal-rtl-hitbox.js:30
Function
afterDraw
(chart)
src/plugins/plugin.tooltip.js:1246
Method
afterDraw
* @desc Called after the `chart` has been drawn. Note that this hook will not be called * if the drawing has been previously cancelled. * @param
src/types/index.d.ts:1064
Function
afterEvent
(chart, args)
src/plugins/plugin.legend.js:630
Function
afterEvent
(chart, args)
src/plugins/plugin.tooltip.js:1264
Method
afterEvent
* @desc Called after the `event` has been consumed. Note that this hook * will not be called if the `event` has been previously discarded. * @pa
src/types/index.d.ts:1128
Method
afterFit
* Callback that runs after the scale fits to the canvas.
src/types/index.d.ts:1296
Method
afterFit
()
src/types/index.d.ts:1411
Function
afterFooter
()
test/specs/plugin.tooltip.tests.js:1903
Method
afterFooter
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2761
Function
afterInit
(chart)
test/fixtures/controller.doughnut/doughnut-hidden.js:36
Function
afterInit
(chart)
test/fixtures/controller.doughnut/doughnut-animation.js:45
Function
afterInit
(chart, _args, options)
src/plugins/plugin.tooltip.js:1228
Method
afterInit
* @desc Called after `chart` has been initialized and before the first update. * @param {Chart} chart - The chart instance. * @param {object} ar
src/types/index.d.ts:902
Function
afterLabel
()
test/specs/plugin.tooltip.tests.js:1891
Method
afterLabel
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2732
Method
afterLabel
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2753
Method
afterLayout
* @desc Called after the `chart` has been laid out. Note that this hook will not * be called if the layout update has been previously cancelled.
src/types/index.d.ts:1030
Method
afterRegister
()
src/types/index.d.ts:1598
Method
afterRender
* @desc Called after the `chart` has been fully rendered (and animation completed). Note * that this hook will not be called if the rendering has b
src/types/index.d.ts:1047
Method
afterSetDimensions
* Callback that runs after dimensions are set.
src/types/index.d.ts:1256
Method
afterSetDimensions
()
src/types/index.d.ts:1396
Method
afterTickToLabelConversion
* Callback that runs after ticks are converted into strings.
src/types/index.d.ts:1280
Method
afterTickToLabelConversion
()
src/types/index.d.ts:1405
Function
afterTitle
()
test/specs/plugin.tooltip.tests.js:1879
Method
afterTitle
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2746
Method
afterTooltipDraw
* @desc Called after drawing the `tooltip`. Note that this hook will not * be called if the tooltip drawing has been previously cancelled. * @pa
src/types/index.d.ts:2786
Method
afterUnregister
()
src/types/index.d.ts:1600
Function
afterUpdate
(chart)
src/plugins/plugin.legend.js:623
Method
afterUpdate
* @desc Called after `chart` has been updated and before rendering. Note that this * hook will not be called if the chart update has been previousl
src/types/index.d.ts:921
Method
afterUpdate
* Callback that runs at the end of the update process.
src/types/index.d.ts:1300
Method
afterUpdate
()
src/types/index.d.ts:1393
Method
alignBorderValue
(pixel)
src/core/core.scale.js:1028
Function
applyAnimationsDefaults
(defaults)
src/core/core.animations.defaults.js:4
Function
applyLayoutsDefaults
(defaults)
src/core/core.layouts.defaults.js:1
Function
applyScaleDefaults
(defaults)
src/core/core.scale.defaults.js:3
Method
aspectRatio
()
src/core/core.controller.js:197
Method
attached
()
src/core/core.controller.js:1022
Function
average
* Average mode places the tooltip at the average position of the elements shown
src/plugins/plugin.tooltip.js:21
Function
beforeBody
()
test/specs/plugin.tooltip.tests.js:1882
Method
beforeBody
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2748
Method
beforeBuildTicks
* @desc Called before scale builds its ticks. This hook is called separately for each scale in the chart. * @param {Chart} chart - The chart instan
src/types/index.d.ts:1014
Method
beforeBuildTicks
* Callback that runs before ticks are created.
src/types/index.d.ts:1268
Method
beforeBuildTicks
()
src/types/index.d.ts:1400
Method
beforeCalculateLabelRotation
* Callback that runs before tick rotation is determined.
src/types/index.d.ts:1284
Method
beforeCalculateLabelRotation
()
src/types/index.d.ts:1406
Method
beforeDataLimits
* @desc Called before scale data limits are calculated. This hook is called separately for each scale in the chart. * @param {Chart} chart - The ch
src/types/index.d.ts:998
Method
beforeDataLimits
* Callback that runs before data limits are determined.
src/types/index.d.ts:1260
Method
beforeDataLimits
()
src/types/index.d.ts:1397
Function
beforeDatasetDraw
(chart, args, options)
src/plugins/plugin.filler/index.js:83
Method
beforeDatasetDraw
* @desc Called before drawing the `chart` dataset at the given `args.index` (datasets * are drawn in the reverse order). If any plugin returns `fal
src/types/index.d.ts:1093
Method
beforeDatasetUpdate
* @desc Called before updating the `chart` dataset at the given `args.index`. If any plugin * returns `false`, the datasets update is cancelled unt
src/types/index.d.ts:970
Function
beforeDatasetsDraw
(chart, _args, options)
src/plugins/plugin.filler/index.js:68
Method
beforeDatasetsDraw
* @desc Called before drawing the `chart` datasets. If any plugin returns `false`, * the datasets drawing is cancelled until another `render` is tr
src/types/index.d.ts:1073
Method
beforeDatasetsUpdate
* @desc Called before updating the `chart` datasets. If any plugin returns `false`, * the datasets update is cancelled until another `update` is tr
src/types/index.d.ts:948
Method
beforeDestroy
* Called before the chart is being destroyed. * @param {Chart} chart - The chart instance. * @param {object} args - The call arguments. * @pa
src/types/index.d.ts:1143
Function
beforeDraw
(chart, _args, options)
src/plugins/plugin.filler/index.js:51
Method
beforeDraw
* @desc Called before drawing `chart` at every animation frame. If any plugin returns `false`, * the frame drawing is cancelled untilanother `rende
src/types/index.d.ts:1056
Method
beforeElementsUpdate
* @desc Called during the update process, before any chart elements have been created. * This can be used for data decimation by changing the data
src/types/index.d.ts:929
Method
beforeEvent
* @desc Called before processing the specified `event`. If any plugin returns `false`, * the event will be discarded. * @param {Chart} chart - T
src/types/index.d.ts:1116
Method
beforeFit
* Callback that runs before the scale fits to the canvas.
src/types/index.d.ts:1292
Method
beforeFit
()
src/types/index.d.ts:1409
Function
beforeFooter
()
test/specs/plugin.tooltip.tests.js:1897
Method
beforeFooter
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2759
Method
beforeInit
* @desc Called before initializing `chart`. * @param {Chart} chart - The chart instance. * @param {object} args - The call arguments. * @para
src/types/index.d.ts:895
Function
beforeLabel
()
test/specs/plugin.tooltip.tests.js:1885
Method
beforeLabel
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2730
Method
beforeLabel
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2751
Function
beforeLayout
(chart: Chart, _args, options: ColorsPluginOptions)
src/plugins/plugin.colors.ts:102
Method
beforeLayout
* Called before the layout process starts
src/types/layout.d.ts:46
Method
beforeLayout
()
src/core/core.scale.js:372
Method
beforeLayout
()
src/scales/scale.time.js:302
Method
beforeRegister
()
src/types/index.d.ts:1597
Method
beforeRender
* @desc Called before rendering `chart`. If any plugin returns `false`, * the rendering is cancelled until another `render` is triggered. * @par
src/types/index.d.ts:1039
Method
beforeSetDimensions
* Callback that runs before dimensions are set.
src/types/index.d.ts:1252
Method
beforeSetDimensions
()
src/types/index.d.ts:1394
Method
beforeTickToLabelConversion
* Callback that runs before ticks are converted into strings.
src/types/index.d.ts:1276
Method
beforeTickToLabelConversion
()
src/types/index.d.ts:1403
Function
beforeTitle
()
test/specs/plugin.tooltip.tests.js:1873
Method
beforeTitle
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2744
Method
beforeTooltipDraw
* @desc Called before drawing the `tooltip`. If any plugin returns `false`, * the tooltip drawing is cancelled until another `render` is triggered.
src/types/index.d.ts:2777
Method
beforeUnregister
()
src/types/index.d.ts:1599
Function
beforeUpdate
(chart, _args, options)
src/plugins/plugin.legend.js:615
Function
beforeUpdate
(chart, _args, options)
src/plugins/plugin.tooltip.js:1234
Function
beforeUpdate
(chart, _args, options)
src/plugins/plugin.title.js:139
Function
beforeUpdate
(chart, _args, options)
src/plugins/plugin.subtitle.js:26
Method
beforeUpdate
* @desc Called before updating `chart`. If any plugin returns `false`, the update * is cancelled (and thus subsequent render(s)) until another `upd
src/types/index.d.ts:912
Method
beforeUpdate
* Callback called before the update process starts.
src/types/index.d.ts:1248
Method
beforeUpdate
()
src/types/index.d.ts:1391
Function
boolean
(from, to, factor)
src/core/core.animation.js:7
Function
bubbles
(config)
docs/scripts/utils.js:50
Method
buildTicks
()
src/types/index.d.ts:1401
Method
buildTicks
()
src/scales/scale.category.js:97
Method
buildTicks
()
src/scales/scale.linearbase.js:244
Method
buildTicks
()
src/scales/scale.logarithmic.js:160
Method
buildTicks
* @return {object[]}
src/scales/scale.time.js:368
Method
buildTicks
()
docs/scripts/log2.js:21
Method
calculateCircumference
(value: number)
src/types/index.d.ts:365
Method
calculateLabelRotation
()
src/types/index.d.ts:1407
Method
calculateTotal
()
src/types/index.d.ts:364
← previous
next →
901–1,000 of 1,409, ranked by callers