MCPcopy Create free account

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

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

↓ 1 callersFunctiongetAxisFromDefaultScaleID
(id, indexAxis)
src/core/core.config.js:12
↓ 1 callersMethodgetBaseValue
* @return {number}
src/core/core.scale.js:958
↓ 1 callersMethodgetBeforeBody
(tooltipItems, options)
src/plugins/plugin.tooltip.js:586
↓ 1 callersMethodgetBody
(tooltipItems, options)
src/plugins/plugin.tooltip.js:592
↓ 1 callersFunctiongetBoxSize
(labelOpts: LegendLabelOptions, fontSize: number)
src/plugins/plugin.legend.ts:112
↓ 1 callersFunctiongetCanvasPosition
* @param e * @param canvas * @returns Canvas position
src/helpers/helpers.dom.ts:79
↓ 1 callersMethodgetCaretPosition
(tooltipPoint, size, options)
src/plugins/plugin.tooltip.js:757
↓ 1 callersMethodgetCenterPoint
(useFinalPosition: boolean)
src/elements/element.arc.ts:448
↓ 1 callersFunctiongetChart
(data)
test/specs/core.scale.spec.js:19
↓ 1 callersFunctiongetChart
(key)
src/core/core.controller.js:67
↓ 1 callersFunctiongetChartBigData
(maxTicksLimit)
test/specs/core.scale.spec.js:35
↓ 1 callersFunctiongetChartWithScaleTitleStroke
()
test/specs/core.scale.spec.js:951
↓ 1 callersFunctiongetChartWithoutScaleTitleStroke
()
test/specs/core.scale.spec.js:981
↓ 1 callersFunctiongetColorizer
(chart: Chart)
src/plugins/plugin.colors.ts:54
↓ 1 callersFunctiongetCombinedMax
(maxPadding: ChartArea, chartArea: LayoutArea, a: keyof TRBL, b: keyof TRBL)
src/core/core.layouts.ts:153
↓ 1 callersFunctiongetContainerHeightFor
* Measures the content height the container has when the canvas is `height` pixels high. * A container that takes its height from its content grows w
src/helpers/helpers.dom.ts:174
↓ 1 callersFunctiongetContainerSize
(canvas: HTMLCanvasElement, width: number, height: number)
src/helpers/helpers.dom.ts:139
↓ 1 callersMethodgetDataTimestamps
* @protected
src/scales/scale.time.js:636
↓ 1 callersFunctiongetDatasetArea
(meta: ChartMeta, chartArea: ChartArea)
src/helpers/helpers.dataset.ts:7
↓ 1 callersFunctiongetDefaultScaleIDFromAxis
(axis, indexAxis)
src/core/core.config.js:22
↓ 1 callersFunctiongetDistanceMetricForAxis
* Get a distance metric function for two points based on the * axis mode setting * @param axis - the axis mode. x|y|xy|r
src/core/core.interaction.ts:123
↓ 1 callersFunctiongetEvenSpacing
* @param {number[]} arr
src/core/core.scale.autoskip.js:224
↓ 1 callersFunctiongetFirstScaleId
(chart, axis)
src/core/core.datasetController.js:177
↓ 1 callersMethodgetFooter
(tooltipItems, options)
src/plugins/plugin.tooltip.js:620
↓ 1 callersFunctiongetGroupedMetas
* Returns the grouped metasets of the given type on the index scale, in sorted order. * A hidden metaset is kept when its stack still has visible bar
src/controllers/controller.bar.ts:103
↓ 1 callersFunctiongetInnerLabels
(scaleOptions, data, labels)
test/specs/core.scale.spec.js:904
↓ 1 callersMethodgetLabelItems
* @return {import('../types.js').LabelItem[]}
src/core/core.scale.js:366
↓ 1 callersMethodgetLabelTimestamps
()
src/types/index.ts:3533
↓ 1 callersFunctiongetLabels
(scale)
test/specs/scale.logarithmic.spec.js:1
↓ 1 callersFunctiongetLabels
(scale)
test/specs/core.layouts.spec.js:1
↓ 1 callersFunctiongetLabels
(scale)
test/specs/scale.linear.spec.js:1
↓ 1 callersFunctiongetLabels
(scale)
test/specs/core.scale.spec.js:1
↓ 1 callersFunctiongetLabels
(scale)
test/specs/scale.time.spec.js:25
↓ 1 callersFunctiongetLabels
(scale)
test/specs/scale.radialLinear.spec.js:1
↓ 1 callersFunctiongetLabels
(scale)
test/specs/scale.category.spec.js:1
↓ 1 callersFunctiongetLabels
(scale)
test/specs/core.ticks.spec.js:1
↓ 1 callersFunctiongetLastIndexInStack
(stack, vScale, positive, type)
src/core/core.datasetController.js:141
↓ 1 callersFunctiongetLeftToRightAdapter
()
src/helpers/helpers.rtl.ts:34
↓ 1 callersFunctiongetLineByIndex
(chart: Chart, index: number)
src/plugins/plugin.filler/filler.target.ts:36
↓ 1 callersFunctiongetLineMethod
(options: AnyObject)
src/elements/element.line.ts:50
↓ 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:176
↓ 1 callersFunctiongetMargins
(horizontal: boolean, chartArea: LayoutArea)
src/core/core.layouts.ts:211
↓ 1 callersMethodgetMaxOffset
(arcs)
src/controllers/controller.doughnut.js:370
↓ 1 callersFunctiongetMaximumSize
( canvas: HTMLCanvasElement, bbWidth?: number, bbHeight?: number, aspectRatio?: number )
src/helpers/helpers.dom.ts:192
↓ 1 callersFunctiongetMeasurePoint
* The point the interaction modes measure an element by: the centre of the visible part * for a bar, the centre point for any other element.
src/plugins/plugin.tooltip.js:29
↓ 1 callersFunctiongetNearestCartesianItems
* Helper function to get the items nearest to the event position for a cartesian chart * @param chart - the chart to look at elements from * @param
src/core/core.interaction.ts:211
↓ 1 callersFunctiongetNearestRadialItems
* Helper function to get the items nearest to the event position for a radial chart * @param chart - the chart to look at elements from * @param pos
src/core/core.interaction.ts:182
↓ 1 callersFunctiongetNumberFormat
(locale: string, options?: Intl.NumberFormatOptions)
src/helpers/helpers.intl.ts:4
↓ 1 callersFunctiongetOpts
(options, all: boolean)
src/core/core.plugins.ts:138
↓ 1 callersFunctiongetOrCreateStack
(stacks, stackKey, indexValue)
src/core/core.datasetController.js:136
↓ 1 callersMethodgetPadding
* Returns an object with padding on the edges
src/types/layout.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:161
↓ 1 callersMethodgetPointPositionForValue
(index, value)
src/scales/scale.radialLinear.js:529
↓ 1 callersMethodgetRange
(axis: 'x' | 'y')
src/types/index.ts:1858
↓ 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:11
↓ 1 callersMethodgetScaleForId
* @param {string} scaleID * @return {Scale}
src/core/core.datasetController.js:343
↓ 1 callersFunctiongetScope
(key: ResolverObjectKey, parent: AnyObject)
src/helpers/helpers.config.ts:310
↓ 1 callersFunctiongetSegment
(segment: StyledSegment, points: PointElement[], bounds: Bounds)
src/helpers/helpers.segment.ts:57
↓ 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:53
↓ 1 callersFunctiongetTextAlignForAngle
(angle)
src/scales/scale.radialLinear.js:203
↓ 1 callersMethodgetTickLimit
()
src/scales/scale.linearbase.js:255
↓ 1 callersFunctiongetTicks
(grace)
test/specs/scale.linear.spec.js:724
↓ 1 callersMethodgetTitle
(context, options)
src/plugins/plugin.tooltip.js:571
↓ 1 callersFunctiongetUserBounds
(scale)
src/core/core.datasetController.js:128
↓ 1 callersMethodgetValueForDistanceFromCenter
(distance: number)
src/types/index.ts:3696
↓ 1 callersMethodgetVisibleDatasetCount
()
src/core/core.controller.js:938
↓ 1 callersFunctiongetX
(datasetIndex)
test/specs/controller.bar.spec.js:642
↓ 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:1216
↓ 1 callersFunctionhandleMaxPadding
(chartArea: LayoutArea)
src/core/core.layouts.ts:197
↓ 1 callersMethodhandleTickRangeOptions
()
src/scales/scale.logarithmic.js:132
↓ 1 callersFunctionhasFunction
src/core/core.config.js:519
↓ 1 callersFunctionhasOwn
(object, key)
test/specs/core.defaults.unit.spec.js:3
↓ 1 callersFunctionhasOwnType
(obj)
src/core/core.config.js:98
↓ 1 callersFunctionhasRadius
(radius: TRBLCorners)
src/elements/element.bar.ts:124
↓ 1 callersFunctionhint
(name)
test/specs/vitest.setup.node.unit.spec.js:41
↓ 1 callersFunctionimpliedScaleConfig
()
test/specs/core.config.spec.js:710
↓ 1 callersFunctioninflateRect
(rect: BarRect, amount: number, refRect: Partial<RoundedRect> = {})
src/elements/element.bar.ts:137
↓ 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:224
↓ 1 callersMethodinitialize
()
src/core/core.datasetController.js:292
↓ 1 callersFunctioninterpolatedLineTo
(ctx, target, point, property)
src/plugins/plugin.filler/filler.drawing.js:200
↓ 1 callersFunctionisChecked
(file)
scripts/check-ts-flags.js:49
↓ 1 callersFunctionisColorInstance
(obj)
test/specs/helpers.color.spec.js:4
↓ 1 callersFunctionisDescending
* Whether the ticks run from the largest value to the smallest, as a reversed * axis builds them. * @param {Tick[]} ticks
src/core/core.scale.autoskip.js:91
↓ 1 callersFunctionisIChartComponent
(proto: any)
src/core/core.typedRegistry.ts:110
↓ 1 callersMethodisIndexable
(key: string)
src/helpers/helpers.config.types.ts:40
↓ 1 callersFunctionisListened
(e: ChartEvent, opts: LegendOpts, chart: Chart)
src/plugins/plugin.legend.ts:772
↓ 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 callersFunctionisNotInOrder
(cur, prev, iAxis)
src/core/core.datasetController.js:237
↓ 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
← previousnext →701–800 of 1,573, ranked by callers