Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartjs/Chart.js
/ functions
Functions
1,573 in github.com/chartjs/Chart.js
⨍
Functions
1,573
◇
Types & classes
306
↓ 1 callers
Function
getAxisFromDefaultScaleID
(id, indexAxis)
src/core/core.config.js:12
↓ 1 callers
Method
getBaseValue
* @return {number}
src/core/core.scale.js:958
↓ 1 callers
Method
getBeforeBody
(tooltipItems, options)
src/plugins/plugin.tooltip.js:586
↓ 1 callers
Method
getBody
(tooltipItems, options)
src/plugins/plugin.tooltip.js:592
↓ 1 callers
Function
getBoxSize
(labelOpts: LegendLabelOptions, fontSize: number)
src/plugins/plugin.legend.ts:112
↓ 1 callers
Function
getCanvasPosition
* @param e * @param canvas * @returns Canvas position
src/helpers/helpers.dom.ts:79
↓ 1 callers
Method
getCaretPosition
(tooltipPoint, size, options)
src/plugins/plugin.tooltip.js:757
↓ 1 callers
Method
getCenterPoint
(useFinalPosition: boolean)
src/elements/element.arc.ts:448
↓ 1 callers
Function
getChart
(data)
test/specs/core.scale.spec.js:19
↓ 1 callers
Function
getChart
(key)
src/core/core.controller.js:67
↓ 1 callers
Function
getChartBigData
(maxTicksLimit)
test/specs/core.scale.spec.js:35
↓ 1 callers
Function
getChartWithScaleTitleStroke
()
test/specs/core.scale.spec.js:951
↓ 1 callers
Function
getChartWithoutScaleTitleStroke
()
test/specs/core.scale.spec.js:981
↓ 1 callers
Function
getColorizer
(chart: Chart)
src/plugins/plugin.colors.ts:54
↓ 1 callers
Function
getCombinedMax
(maxPadding: ChartArea, chartArea: LayoutArea, a: keyof TRBL, b: keyof TRBL)
src/core/core.layouts.ts:153
↓ 1 callers
Function
getContainerHeightFor
* 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 callers
Function
getContainerSize
(canvas: HTMLCanvasElement, width: number, height: number)
src/helpers/helpers.dom.ts:139
↓ 1 callers
Method
getDataTimestamps
* @protected
src/scales/scale.time.js:636
↓ 1 callers
Function
getDatasetArea
(meta: ChartMeta, chartArea: ChartArea)
src/helpers/helpers.dataset.ts:7
↓ 1 callers
Function
getDefaultScaleIDFromAxis
(axis, indexAxis)
src/core/core.config.js:22
↓ 1 callers
Function
getDistanceMetricForAxis
* 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 callers
Function
getEvenSpacing
* @param {number[]} arr
src/core/core.scale.autoskip.js:224
↓ 1 callers
Function
getFirstScaleId
(chart, axis)
src/core/core.datasetController.js:177
↓ 1 callers
Method
getFooter
(tooltipItems, options)
src/plugins/plugin.tooltip.js:620
↓ 1 callers
Function
getGroupedMetas
* 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 callers
Function
getInnerLabels
(scaleOptions, data, labels)
test/specs/core.scale.spec.js:904
↓ 1 callers
Method
getLabelItems
* @return {import('../types.js').LabelItem[]}
src/core/core.scale.js:366
↓ 1 callers
Method
getLabelTimestamps
()
src/types/index.ts:3533
↓ 1 callers
Function
getLabels
(scale)
test/specs/scale.logarithmic.spec.js:1
↓ 1 callers
Function
getLabels
(scale)
test/specs/core.layouts.spec.js:1
↓ 1 callers
Function
getLabels
(scale)
test/specs/scale.linear.spec.js:1
↓ 1 callers
Function
getLabels
(scale)
test/specs/core.scale.spec.js:1
↓ 1 callers
Function
getLabels
(scale)
test/specs/scale.time.spec.js:25
↓ 1 callers
Function
getLabels
(scale)
test/specs/scale.radialLinear.spec.js:1
↓ 1 callers
Function
getLabels
(scale)
test/specs/scale.category.spec.js:1
↓ 1 callers
Function
getLabels
(scale)
test/specs/core.ticks.spec.js:1
↓ 1 callers
Function
getLastIndexInStack
(stack, vScale, positive, type)
src/core/core.datasetController.js:141
↓ 1 callers
Function
getLeftToRightAdapter
()
src/helpers/helpers.rtl.ts:34
↓ 1 callers
Function
getLineByIndex
(chart: Chart, index: number)
src/plugins/plugin.filler/filler.target.ts:36
↓ 1 callers
Function
getLineMethod
(options: AnyObject)
src/elements/element.line.ts:50
↓ 1 callers
Function
getLinesBelow
* @param {Scale} scale * @param {number} index * @return {LineElement[]}
src/plugins/plugin.filler/filler.target.stack.js:37
↓ 1 callers
Function
getMajorIndices
* @param {Tick[]} ticks
src/core/core.scale.autoskip.js:176
↓ 1 callers
Function
getMargins
(horizontal: boolean, chartArea: LayoutArea)
src/core/core.layouts.ts:211
↓ 1 callers
Method
getMaxOffset
(arcs)
src/controllers/controller.doughnut.js:370
↓ 1 callers
Function
getMaximumSize
( canvas: HTMLCanvasElement, bbWidth?: number, bbHeight?: number, aspectRatio?: number )
src/helpers/helpers.dom.ts:192
↓ 1 callers
Function
getMeasurePoint
* 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 callers
Function
getNearestCartesianItems
* 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 callers
Function
getNearestRadialItems
* 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 callers
Function
getNumberFormat
(locale: string, options?: Intl.NumberFormatOptions)
src/helpers/helpers.intl.ts:4
↓ 1 callers
Function
getOpts
(options, all: boolean)
src/core/core.plugins.ts:138
↓ 1 callers
Function
getOrCreateStack
(stacks, stackKey, indexValue)
src/core/core.datasetController.js:136
↓ 1 callers
Method
getPadding
* Returns an object with padding on the edges
src/types/layout.ts:54
↓ 1 callers
Function
getPixelForGridLine
* @param {Scale} scale * @param {number} index * @param {boolean} offsetGridLines
src/core/core.scale.js:40
↓ 1 callers
Method
getPixelForValue
(value)
src/scales/scale.category.js:161
↓ 1 callers
Method
getPointPositionForValue
(index, value)
src/scales/scale.radialLinear.js:529
↓ 1 callers
Method
getRange
(axis: 'x' | 'y')
src/types/index.ts:1858
↓ 1 callers
Function
getRatioAndOffset
* @typedef { import('../core/core.controller.js').default } Chart
src/controllers/controller.doughnut.js:10
↓ 1 callers
Function
getRightToLeftAdapter
(rectX: number, width: number)
src/helpers/helpers.rtl.ts:11
↓ 1 callers
Method
getScaleForId
* @param {string} scaleID * @return {Scale}
src/core/core.datasetController.js:343
↓ 1 callers
Function
getScope
(key: ResolverObjectKey, parent: AnyObject)
src/helpers/helpers.config.ts:310
↓ 1 callers
Function
getSegment
(segment: StyledSegment, points: PointElement[], bounds: Bounds)
src/helpers/helpers.segment.ts:57
↓ 1 callers
Function
getSizeForArea
(scale: Scale, chartArea: ChartArea, field: keyof ChartArea)
src/helpers/helpers.dataset.ts:3
↓ 1 callers
Function
getStackKey
(indexScale, valueScale, meta)
src/core/core.datasetController.js:124
↓ 1 callers
Function
getStartAndCountOfVisiblePointsSimplified
(meta, points)
src/plugins/plugin.decimation.js:176
↓ 1 callers
Function
getStyle
(el: HTMLElement, property: string)
src/helpers/helpers.dom.ts:53
↓ 1 callers
Function
getTextAlignForAngle
(angle)
src/scales/scale.radialLinear.js:203
↓ 1 callers
Method
getTickLimit
()
src/scales/scale.linearbase.js:255
↓ 1 callers
Function
getTicks
(grace)
test/specs/scale.linear.spec.js:724
↓ 1 callers
Method
getTitle
(context, options)
src/plugins/plugin.tooltip.js:571
↓ 1 callers
Function
getUserBounds
(scale)
src/core/core.datasetController.js:128
↓ 1 callers
Method
getValueForDistanceFromCenter
(distance: number)
src/types/index.ts:3696
↓ 1 callers
Method
getVisibleDatasetCount
()
src/core/core.controller.js:938
↓ 1 callers
Function
getX
(datasetIndex)
test/specs/controller.bar.spec.js:642
↓ 1 callers
Method
handleEvent
* 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 callers
Function
handleMaxPadding
(chartArea: LayoutArea)
src/core/core.layouts.ts:197
↓ 1 callers
Method
handleTickRangeOptions
()
src/scales/scale.logarithmic.js:132
↓ 1 callers
Function
hasFunction
src/core/core.config.js:519
↓ 1 callers
Function
hasOwn
(object, key)
test/specs/core.defaults.unit.spec.js:3
↓ 1 callers
Function
hasOwnType
(obj)
src/core/core.config.js:98
↓ 1 callers
Function
hasRadius
(radius: TRBLCorners)
src/elements/element.bar.ts:124
↓ 1 callers
Function
hint
(name)
test/specs/vitest.setup.node.unit.spec.js:41
↓ 1 callers
Function
impliedScaleConfig
()
test/specs/core.config.spec.js:710
↓ 1 callers
Function
inflateRect
(rect: BarRect, amount: number, refRect: Partial<RoundedRect> = {})
src/elements/element.bar.ts:137
↓ 1 callers
Method
init
* Will called with chart options after adapter creation.
src/core/core.adapters.ts:17
↓ 1 callers
Function
initCanvas
* 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 callers
Function
initConfig
(config)
src/core/core.config.js:224
↓ 1 callers
Method
initialize
()
src/core/core.datasetController.js:292
↓ 1 callers
Function
interpolatedLineTo
(ctx, target, point, property)
src/plugins/plugin.filler/filler.drawing.js:200
↓ 1 callers
Function
isChecked
(file)
scripts/check-ts-flags.js:49
↓ 1 callers
Function
isColorInstance
(obj)
test/specs/helpers.color.spec.js:4
↓ 1 callers
Function
isDescending
* 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 callers
Function
isIChartComponent
(proto: any)
src/core/core.typedRegistry.ts:110
↓ 1 callers
Method
isIndexable
(key: string)
src/helpers/helpers.config.types.ts:40
↓ 1 callers
Function
isListened
(e: ChartEvent, opts: LegendOpts, chart: Chart)
src/plugins/plugin.legend.ts:772
↓ 1 callers
Function
isMajor
(tickVal)
src/scales/scale.logarithmic.js:11
↓ 1 callers
Function
isNonPrimitive
* Verifies that attempting to coerce n to string or number won't throw a TypeError.
src/helpers/helpers.math.ts:63
↓ 1 callers
Function
isNotInOrder
(cur, prev, iAxis)
src/core/core.datasetController.js:237
↓ 1 callers
Function
isNotOverlapped
(item, area)
src/scales/scale.radialLinear.js:166
↓ 1 callers
Function
isNullOrEmpty
src/platform/platform.dom.js:33
↓ 1 callers
Function
isNumberFinite
* Returns true if `value` is a finite number, else returns false * @param value - The value to test.
src/helpers/helpers.core.ts:61
← previous
next →
701–800 of 1,573, ranked by callers