MCPcopy Create free account

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

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

FunctionafterDatasetsUpdate
(chart, _args, options)
src/plugins/plugin.filler/index.js:15
MethodafterDatasetsUpdate
* @desc Called after the `chart` datasets have been updated. Note that this hook * will not be called if the datasets update has been previously ca
src/types/index.d.ts:963
MethodafterDestroy
* Called after the chart has been destroyed. * @param {Chart} chart - The chart instance. * @param {object} args - The call arguments. * @par
src/types/index.d.ts:1155
FunctionafterDraw
()
test/specs/core.animator.tests.js:29
FunctionafterDraw
(chart)
test/fixtures/core.scale/ticks/rotated-multi-line.js:31
FunctionafterDraw
(chart)
test/fixtures/core.scale/ticks/rotated-long.js:31
FunctionafterDraw
(chart)
test/fixtures/plugin.legend/horizontal-rtl-hitbox.js:30
FunctionafterDraw
(chart)
src/plugins/plugin.tooltip.js:1247
MethodafterDraw
* @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:1069
FunctionafterEvent
(chart, args)
src/plugins/plugin.legend.js:630
FunctionafterEvent
(chart, args)
src/plugins/plugin.tooltip.js:1265
MethodafterEvent
* @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:1133
MethodafterFit
* Callback that runs after the scale fits to the canvas.
src/types/index.d.ts:1301
MethodafterFit
()
src/types/index.d.ts:1416
FunctionafterFooter
()
test/specs/plugin.tooltip.tests.js:1958
MethodafterFooter
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2767
FunctionafterInit
(chart)
test/fixtures/controller.doughnut/doughnut-hidden.js:36
FunctionafterInit
(chart)
test/fixtures/controller.doughnut/doughnut-animation.js:45
FunctionafterInit
(chart, _args, options)
src/plugins/plugin.tooltip.js:1229
MethodafterInit
* @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:907
FunctionafterLabel
()
test/specs/plugin.tooltip.tests.js:1946
MethodafterLabel
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2738
MethodafterLabel
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2759
MethodafterLayout
* @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:1035
MethodafterRegister
()
src/types/index.d.ts:1603
MethodafterRender
* @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:1052
MethodafterSetDimensions
* Callback that runs after dimensions are set.
src/types/index.d.ts:1261
MethodafterSetDimensions
()
src/types/index.d.ts:1401
MethodafterTickToLabelConversion
* Callback that runs after ticks are converted into strings.
src/types/index.d.ts:1285
MethodafterTickToLabelConversion
()
src/types/index.d.ts:1410
FunctionafterTitle
()
test/specs/plugin.tooltip.tests.js:1934
MethodafterTitle
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2752
MethodafterTooltipDraw
* @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:2792
MethodafterUnregister
()
src/types/index.d.ts:1605
FunctionafterUpdate
(chart)
src/plugins/plugin.legend.js:623
MethodafterUpdate
* @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:926
MethodafterUpdate
* Callback that runs at the end of the update process.
src/types/index.d.ts:1305
MethodafterUpdate
()
src/types/index.d.ts:1398
MethodalignBorderValue
(pixel)
src/core/core.scale.js:1033
FunctionapplyAnimationsDefaults
(defaults)
src/core/core.animations.defaults.js:4
FunctionapplyLayoutsDefaults
(defaults)
src/core/core.layouts.defaults.js:1
FunctionapplyScaleDefaults
(defaults)
src/core/core.scale.defaults.js:3
MethodaspectRatio
()
src/core/core.controller.js:197
Methodattached
()
src/core/core.controller.js:1026
Functionaverage
* Average mode places the tooltip at the average position of the elements shown
src/plugins/plugin.tooltip.js:21
FunctionbeforeBody
()
test/specs/plugin.tooltip.tests.js:1937
MethodbeforeBody
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2754
MethodbeforeBuildTicks
* @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:1019
MethodbeforeBuildTicks
* Callback that runs before ticks are created.
src/types/index.d.ts:1273
MethodbeforeBuildTicks
()
src/types/index.d.ts:1405
MethodbeforeCalculateLabelRotation
* Callback that runs before tick rotation is determined.
src/types/index.d.ts:1289
MethodbeforeCalculateLabelRotation
()
src/types/index.d.ts:1411
MethodbeforeDataLimits
* @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:1003
MethodbeforeDataLimits
* Callback that runs before data limits are determined.
src/types/index.d.ts:1265
MethodbeforeDataLimits
()
src/types/index.d.ts:1402
FunctionbeforeDatasetDraw
(chart, args, options)
src/plugins/plugin.filler/index.js:83
MethodbeforeDatasetDraw
* @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:1098
MethodbeforeDatasetUpdate
* @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:975
FunctionbeforeDatasetsDraw
(chart, _args, options)
src/plugins/plugin.filler/index.js:68
MethodbeforeDatasetsDraw
* @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:1078
MethodbeforeDatasetsUpdate
* @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:953
MethodbeforeDestroy
* 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:1148
FunctionbeforeDraw
(chart, _args, options)
src/plugins/plugin.filler/index.js:51
MethodbeforeDraw
* @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:1061
MethodbeforeElementsUpdate
* @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:934
MethodbeforeEvent
* @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:1121
MethodbeforeFit
* Callback that runs before the scale fits to the canvas.
src/types/index.d.ts:1297
MethodbeforeFit
()
src/types/index.d.ts:1414
FunctionbeforeFooter
()
test/specs/plugin.tooltip.tests.js:1952
MethodbeforeFooter
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2765
MethodbeforeInit
* @desc Called before initializing `chart`. * @param {Chart} chart - The chart instance. * @param {object} args - The call arguments. * @para
src/types/index.d.ts:900
FunctionbeforeLabel
()
test/specs/plugin.tooltip.tests.js:1940
MethodbeforeLabel
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2736
MethodbeforeLabel
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2757
FunctionbeforeLayout
(chart: Chart, _args, options: ColorsPluginOptions)
src/plugins/plugin.colors.ts:102
MethodbeforeLayout
* Called before the layout process starts
src/types/layout.d.ts:46
MethodbeforeLayout
()
src/core/core.scale.js:372
MethodbeforeLayout
()
src/scales/scale.category.js:70
MethodbeforeLayout
()
src/scales/scale.time.js:302
MethodbeforeRegister
()
src/types/index.d.ts:1602
MethodbeforeRender
* @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:1044
MethodbeforeSetDimensions
* Callback that runs before dimensions are set.
src/types/index.d.ts:1257
MethodbeforeSetDimensions
()
src/types/index.d.ts:1399
MethodbeforeTickToLabelConversion
* Callback that runs before ticks are converted into strings.
src/types/index.d.ts:1281
MethodbeforeTickToLabelConversion
()
src/types/index.d.ts:1408
FunctionbeforeTitle
()
test/specs/plugin.tooltip.tests.js:1928
MethodbeforeTitle
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2750
MethodbeforeTooltipDraw
* @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:2783
MethodbeforeUnregister
()
src/types/index.d.ts:1604
FunctionbeforeUpdate
()
test/specs/core.controller.tests.js:1101
FunctionbeforeUpdate
(chart, _args, options)
src/plugins/plugin.legend.js:615
FunctionbeforeUpdate
(chart, _args, options)
src/plugins/plugin.tooltip.js:1235
FunctionbeforeUpdate
(chart, _args, options)
src/plugins/plugin.title.js:139
FunctionbeforeUpdate
(chart, _args, options)
src/plugins/plugin.subtitle.js:26
MethodbeforeUpdate
* @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:917
MethodbeforeUpdate
* Callback called before the update process starts.
src/types/index.d.ts:1253
MethodbeforeUpdate
()
src/types/index.d.ts:1396
Functionboolean
(from, to, factor)
src/core/core.animation.js:7
Functionbubbles
(config)
docs/scripts/utils.js:50
MethodbuildTicks
()
src/types/index.d.ts:1406
← previousnext →901–1,000 of 1,416, ranked by callers