MCPcopy Create free account

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

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

↓ 1 callersMethodformats
* Returns a map of time formats for the supported formatting units defined * in Unit as well as 'datetime' representing a detailed date/time string
src/core/core.adapters.ts:22
↓ 1 callersFunctionfromNativeEvent
(event, chart)
src/platform/platform.dom.js:109
↓ 1 callersFunctiongarbageCollect
* @param {object} caches * @param {number} length
src/core/core.scale.js:71
↓ 1 callersMethodgenerateLabels
(chart)
src/controllers/controller.doughnut.js:95
↓ 1 callersMethodgenerateTickLabels
* Convert ticks to label strings * @param {Tick[]} ticks
src/core/core.scale.js:569
↓ 1 callersFunctiongenerateTicks
* Generate a set of linear ticks for an axis * 1. If generationOptions.min, generationOptions.max, and generationOptions.step are defined: * if (
src/scales/scale.linearbase.js:25
↓ 1 callersFunctiongenerateTicks
* Generate a set of logarithmic ticks * @param generationOptions the options used to generate the ticks * @param dataRange the range of the data *
src/scales/scale.logarithmic.js:42
↓ 1 callersMethodgetAfterBody
(tooltipItems, options)
src/plugins/plugin.tooltip.js:575
↓ 1 callersFunctiongetAllScaleValues
(scale, type)
src/controllers/controller.bar.js:7
↓ 1 callersFunctiongetAxisFromDataset
(id, axis, dataset)
src/core/core.config.js:55
↓ 1 callersFunctiongetAxisFromDefaultScaleID
(id, indexAxis)
src/core/core.config.js:11
↓ 1 callersMethodgetBaseValue
* @return {number}
src/core/core.scale.js:950
↓ 1 callersMethodgetBeforeBody
(tooltipItems, options)
src/plugins/plugin.tooltip.js:548
↓ 1 callersMethodgetBody
(tooltipItems, options)
src/plugins/plugin.tooltip.js:554
↓ 1 callersFunctiongetCanvasPosition
* @param e * @param canvas * @returns Canvas position
src/helpers/helpers.dom.ts:73
↓ 1 callersMethodgetCaretPosition
(tooltipPoint, size, options)
src/plugins/plugin.tooltip.js:699
↓ 1 callersMethodgetCenterPoint
(useFinalPosition: boolean)
src/elements/element.arc.ts:448
↓ 1 callersFunctiongetChart
(data)
test/specs/core.scale.tests.js:21
↓ 1 callersFunctiongetChart
(key)
src/core/core.controller.js:67
↓ 1 callersFunctiongetChartBigData
(maxTicksLimit)
test/specs/core.scale.tests.js:37
↓ 1 callersFunctiongetChartWithScaleTitleStroke
()
test/specs/core.scale.tests.js:821
↓ 1 callersFunctiongetChartWithoutScaleTitleStroke
()
test/specs/core.scale.tests.js:851
↓ 1 callersFunctiongetColorizer
(chart: Chart)
src/plugins/plugin.colors.ts:54
↓ 1 callersFunctiongetCombinedMax
(maxPadding, chartArea, a, b)
src/core/core.layouts.js:105
↓ 1 callersFunctiongetContainerSize
(canvas: HTMLCanvasElement, width: number, height: number)
src/helpers/helpers.dom.ts:133
↓ 1 callersMethodgetDataTimestamps
* @protected
src/scales/scale.time.js:627
↓ 1 callersFunctiongetDatasetArea
(meta: ChartMeta, chartArea: ChartArea)
src/helpers/helpers.dataset.ts:7
↓ 1 callersFunctiongetDefaultScaleIDFromAxis
(axis, indexAxis)
src/core/core.config.js:21
↓ 1 callersFunctiongetDistanceMetricForAxis
* Get a distance metric function for two points based on the * axis mode setting * @param {string} axis - the axis mode. x|y|xy|r
src/core/core.interaction.js:94
↓ 1 callersFunctiongetEvenSpacing
* @param {number[]} arr
src/core/core.scale.autoskip.js:156
↓ 1 callersFunctiongetFirstScaleId
(chart, axis)
src/core/core.datasetController.js:177
↓ 1 callersMethodgetFooter
(tooltipItems, options)
src/plugins/plugin.tooltip.js:582
↓ 1 callersMethodgetLabelAndValue
* @protected
src/controllers/controller.bar.js:364
↓ 1 callersMethodgetLabelItems
(chartArea?: ChartArea)
src/types/index.d.ts:1390
↓ 1 callersMethodgetLabelItems
* @return {import('../types.js').LabelItem[]}
src/core/core.scale.js:366
↓ 1 callersMethodgetLabelTimestamps
()
src/types/index.d.ts:3520
↓ 1 callersFunctiongetLabels
(scale)
test/specs/scale.logarithmic.tests.js:1
↓ 1 callersFunctiongetLabels
(scale)
test/specs/core.layouts.tests.js:1
↓ 1 callersFunctiongetLabels
(scale)
test/specs/scale.linear.tests.js:1
↓ 1 callersFunctiongetLabels
(scale)
test/specs/core.scale.tests.js:1
↓ 1 callersFunctiongetLabels
(scale)
test/specs/core.ticks.tests.js:1
↓ 1 callersFunctiongetLabels
(scale)
test/specs/scale.radialLinear.tests.js:1
↓ 1 callersFunctiongetLabels
(scale)
test/specs/scale.time.tests.js:27
↓ 1 callersFunctiongetLabels
(scale)
test/specs/scale.category.tests.js:1
↓ 1 callersFunctiongetLastIndexInStack
(stack, vScale, positive, type)
src/core/core.datasetController.js:141
↓ 1 callersFunctiongetLeftToRightAdapter
()
src/helpers/helpers.rtl.ts:32
↓ 1 callersFunctiongetLineByIndex
* @param {Chart} chart * @param {number} index
src/plugins/plugin.filler/filler.target.js:41
↓ 1 callersFunctiongetLineMethod
* @returns {any}
src/elements/element.line.js:28
↓ 1 callersFunctiongetLinesBelow
* @param {Scale} scale * @param {number} index * @return {LineElement[]}
src/plugins/plugin.filler/filler.target.stack.js:37
↓ 1 callersFunctiongetMajorIndices
* @param {Tick[]} ticks
src/core/core.scale.autoskip.js:85
↓ 1 callersFunctiongetMargins
(horizontal, chartArea)
src/core/core.layouts.js:163
↓ 1 callersMethodgetMaxOffset
(arcs)
src/controllers/controller.doughnut.js:362
↓ 1 callersFunctiongetMaximumSize
( canvas: HTMLCanvasElement, bbWidth?: number, bbHeight?: number, aspectRatio?: number )
src/helpers/helpers.dom.ts:163
↓ 1 callersFunctiongetNearestCartesianItems
* Helper function to get the items nearest to the event position for a cartesian chart * @param {Chart} chart - the chart to look at elements from *
src/core/core.interaction.js:168
↓ 1 callersFunctiongetNearestRadialItems
* Helper function to get the items nearest to the event position for a radial chart * @param {Chart} chart - the chart to look at elements from * @p
src/core/core.interaction.js:142
↓ 1 callersFunctiongetNumberFormat
(locale: string, options?: Intl.NumberFormatOptions)
src/helpers/helpers.intl.ts:4
↓ 1 callersFunctiongetOpts
(options, all)
src/core/core.plugins.js:146
↓ 1 callersFunctiongetOrCreateStack
(stacks, stackKey, indexValue)
src/core/core.datasetController.js:136
↓ 1 callersMethodgetPadding
* Returns an object with padding on the edges
src/types/layout.d.ts:54
↓ 1 callersFunctiongetPixelForGridLine
* @param {Scale} scale * @param {number} index * @param {boolean} offsetGridLines
src/core/core.scale.js:40
↓ 1 callersMethodgetPixelForValue
(value)
src/scales/scale.category.js:133
↓ 1 callersMethodgetPointPositionForValue
(index, value)
src/scales/scale.radialLinear.js:529
↓ 1 callersMethodgetRange
(axis: 'x' | 'y')
src/types/index.d.ts:1852
↓ 1 callersFunctiongetRatioAndOffset
* @typedef { import('../core/core.controller.js').default } Chart
src/controllers/controller.doughnut.js:10
↓ 1 callersFunctiongetRightToLeftAdapter
(rectX: number, width: number)
src/helpers/helpers.rtl.ts:9
↓ 1 callersMethodgetScaleForId
* @param {string} scaleID * @return {Scale}
src/core/core.datasetController.js:331
↓ 1 callersFunctiongetScope
(key: ResolverObjectKey, parent: AnyObject)
src/helpers/helpers.config.ts:306
↓ 1 callersFunctiongetSegment
(segment, points, bounds)
src/helpers/helpers.segment.js:35
↓ 1 callersFunctiongetSizeForArea
(scale: Scale, chartArea: ChartArea, field: keyof ChartArea)
src/helpers/helpers.dataset.ts:3
↓ 1 callersFunctiongetStackKey
(indexScale, valueScale, meta)
src/core/core.datasetController.js:124
↓ 1 callersFunctiongetStartAndCountOfVisiblePointsSimplified
(meta, points)
src/plugins/plugin.decimation.js:176
↓ 1 callersFunctiongetStyle
(el: HTMLElement, property: string)
src/helpers/helpers.dom.ts:48
↓ 1 callersFunctiongetTextAlignForAngle
(angle)
src/scales/scale.radialLinear.js:203
↓ 1 callersMethodgetTickLimit
()
src/scales/scale.linearbase.js:213
↓ 1 callersMethodgetTitle
(context, options)
src/plugins/plugin.tooltip.js:533
↓ 1 callersFunctiongetUserBounds
(scale)
src/core/core.datasetController.js:128
↓ 1 callersMethodgetUserBounds
* @return {{min: number, max: number, minDefined: boolean, maxDefined: boolean}} * @protected * @since 3.0
src/core/core.scale.js:283
↓ 1 callersMethodgetValueForDistanceFromCenter
(distance: number)
src/types/index.d.ts:3683
↓ 1 callersMethodgetVisibleDatasetCount
()
src/core/core.controller.js:859
↓ 1 callersMethodhandleEvent
* Handle an event * @param {ChartEvent} e - The event to handle * @param {boolean} [replay] - This is a replayed event (from update) * @param {b
src/plugins/plugin.tooltip.js:1139
↓ 1 callersFunctionhandleMaxPadding
(chartArea)
src/core/core.layouts.js:149
↓ 1 callersMethodhandleTickRangeOptions
()
src/scales/scale.logarithmic.js:131
↓ 1 callersFunctionhasFunction
src/core/core.config.js:402
↓ 1 callersFunctionhasRadius
(radius)
src/elements/element.bar.js:114
↓ 1 callersFunctionidMatchesAxis
(id)
src/core/core.config.js:25
↓ 1 callersFunctioninflateRect
(rect, amount, refRect = {})
src/elements/element.bar.js:127
↓ 1 callersMethodinit
* Will called with chart options after adapter creation.
src/core/core.adapters.ts:17
↓ 1 callersFunctioninitCanvas
* Initializes the canvas style and render size without modifying the canvas display size, * since responsiveness is handled by the controller.resize(
src/platform/platform.dom.js:41
↓ 1 callersFunctioninitConfig
(config)
src/core/core.config.js:129
↓ 1 callersMethodinitialize
()
src/core/core.datasetController.js:280
↓ 1 callersFunctioninterpolatedLineTo
(ctx, target, point, property)
src/plugins/plugin.filler/filler.drawing.js:200
↓ 1 callersFunctionisColorInstance
(obj)
test/specs/helpers.color.tests.js:4
↓ 1 callersFunctionisIChartComponent
(proto)
src/core/core.typedRegistry.js:115
↓ 1 callersFunctionisListened
(type, opts)
src/plugins/plugin.legend.js:582
↓ 1 callersFunctionisMajor
(tickVal)
src/scales/scale.logarithmic.js:11
↓ 1 callersFunctionisNonPrimitive
* Verifies that attempting to coerce n to string or number won't throw a TypeError.
src/helpers/helpers.math.ts:63
↓ 1 callersFunctionisNotOverlapped
(item, area)
src/scales/scale.radialLinear.js:166
↓ 1 callersFunctionisNullOrEmpty
src/platform/platform.dom.js:33
↓ 1 callersFunctionisNumberFinite
* Returns true if `value` is a finite number, else returns false * @param value - The value to test.
src/helpers/helpers.core.ts:61
↓ 1 callersMethodisPluginEnabled
* Check if a plugin with the specific ID is registered and enabled * @param {string} pluginId - The ID of the plugin of which to check if it is ena
src/core/core.controller.js:1138
← previousnext →601–700 of 1,409, ranked by callers