MCPcopy Create free account

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

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

FunctionafterDraw
(chart)
test/fixtures/plugin.legend/horizontal-rtl-hitbox.js:30
FunctionafterDraw
(chart)
src/plugins/plugin.tooltip.js:1246
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:1064
FunctionafterEvent
(chart, args)
src/plugins/plugin.legend.js:630
FunctionafterEvent
(chart, args)
src/plugins/plugin.tooltip.js:1264
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:1128
MethodafterFit
* Callback that runs after the scale fits to the canvas.
src/types/index.d.ts:1296
MethodafterFit
()
src/types/index.d.ts:1411
FunctionafterFooter
()
test/specs/plugin.tooltip.tests.js:1903
MethodafterFooter
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2761
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:1228
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:902
FunctionafterLabel
()
test/specs/plugin.tooltip.tests.js:1891
MethodafterLabel
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2732
MethodafterLabel
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2753
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:1030
MethodafterRegister
()
src/types/index.d.ts:1598
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:1047
MethodafterSetDimensions
* Callback that runs after dimensions are set.
src/types/index.d.ts:1256
MethodafterSetDimensions
()
src/types/index.d.ts:1396
MethodafterTickToLabelConversion
* Callback that runs after ticks are converted into strings.
src/types/index.d.ts:1280
MethodafterTickToLabelConversion
()
src/types/index.d.ts:1405
FunctionafterTitle
()
test/specs/plugin.tooltip.tests.js:1879
MethodafterTitle
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2746
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:2786
MethodafterUnregister
()
src/types/index.d.ts:1600
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:921
MethodafterUpdate
* Callback that runs at the end of the update process.
src/types/index.d.ts:1300
MethodafterUpdate
()
src/types/index.d.ts:1393
MethodalignBorderValue
(pixel)
src/core/core.scale.js:1028
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:1022
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:1882
MethodbeforeBody
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2748
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:1014
MethodbeforeBuildTicks
* Callback that runs before ticks are created.
src/types/index.d.ts:1268
MethodbeforeBuildTicks
()
src/types/index.d.ts:1400
MethodbeforeCalculateLabelRotation
* Callback that runs before tick rotation is determined.
src/types/index.d.ts:1284
MethodbeforeCalculateLabelRotation
()
src/types/index.d.ts:1406
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:998
MethodbeforeDataLimits
* Callback that runs before data limits are determined.
src/types/index.d.ts:1260
MethodbeforeDataLimits
()
src/types/index.d.ts:1397
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:1093
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:970
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:1073
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:948
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:1143
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:1056
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:929
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:1116
MethodbeforeFit
* Callback that runs before the scale fits to the canvas.
src/types/index.d.ts:1292
MethodbeforeFit
()
src/types/index.d.ts:1409
FunctionbeforeFooter
()
test/specs/plugin.tooltip.tests.js:1897
MethodbeforeFooter
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2759
MethodbeforeInit
* @desc Called before initializing `chart`. * @param {Chart} chart - The chart instance. * @param {object} args - The call arguments. * @para
src/types/index.d.ts:895
FunctionbeforeLabel
()
test/specs/plugin.tooltip.tests.js:1885
MethodbeforeLabel
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2730
MethodbeforeLabel
(this: Model, tooltipItem: Item)
src/types/index.d.ts:2751
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.time.js:302
MethodbeforeRegister
()
src/types/index.d.ts:1597
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:1039
MethodbeforeSetDimensions
* Callback that runs before dimensions are set.
src/types/index.d.ts:1252
MethodbeforeSetDimensions
()
src/types/index.d.ts:1394
MethodbeforeTickToLabelConversion
* Callback that runs before ticks are converted into strings.
src/types/index.d.ts:1276
MethodbeforeTickToLabelConversion
()
src/types/index.d.ts:1403
FunctionbeforeTitle
()
test/specs/plugin.tooltip.tests.js:1873
MethodbeforeTitle
(this: Model, tooltipItems: Item[])
src/types/index.d.ts:2744
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:2777
MethodbeforeUnregister
()
src/types/index.d.ts:1599
FunctionbeforeUpdate
(chart, _args, options)
src/plugins/plugin.legend.js:615
FunctionbeforeUpdate
(chart, _args, options)
src/plugins/plugin.tooltip.js:1234
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:912
MethodbeforeUpdate
* Callback called before the update process starts.
src/types/index.d.ts:1248
MethodbeforeUpdate
()
src/types/index.d.ts:1391
Functionboolean
(from, to, factor)
src/core/core.animation.js:7
Functionbubbles
(config)
docs/scripts/utils.js:50
MethodbuildTicks
()
src/types/index.d.ts:1401
MethodbuildTicks
()
src/scales/scale.category.js:97
MethodbuildTicks
()
src/scales/scale.linearbase.js:244
MethodbuildTicks
()
src/scales/scale.logarithmic.js:160
MethodbuildTicks
* @return {object[]}
src/scales/scale.time.js:368
MethodbuildTicks
()
docs/scripts/log2.js:21
MethodcalculateCircumference
(value: number)
src/types/index.d.ts:365
MethodcalculateLabelRotation
()
src/types/index.d.ts:1407
MethodcalculateTotal
()
src/types/index.d.ts:364
← previousnext →901–1,000 of 1,409, ranked by callers