Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartjs/Chart.js
/ functions
Functions
1,409 in github.com/chartjs/Chart.js
⨍
Functions
1,409
◇
Types & classes
268
↓ 1 callers
Method
formats
* 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 callers
Function
fromNativeEvent
(event, chart)
src/platform/platform.dom.js:109
↓ 1 callers
Function
garbageCollect
* @param {object} caches * @param {number} length
src/core/core.scale.js:71
↓ 1 callers
Method
generateLabels
(chart)
src/controllers/controller.doughnut.js:95
↓ 1 callers
Method
generateTickLabels
* Convert ticks to label strings * @param {Tick[]} ticks
src/core/core.scale.js:569
↓ 1 callers
Function
generateTicks
* 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 callers
Function
generateTicks
* 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 callers
Method
getAfterBody
(tooltipItems, options)
src/plugins/plugin.tooltip.js:575
↓ 1 callers
Function
getAllScaleValues
(scale, type)
src/controllers/controller.bar.js:7
↓ 1 callers
Function
getAxisFromDataset
(id, axis, dataset)
src/core/core.config.js:55
↓ 1 callers
Function
getAxisFromDefaultScaleID
(id, indexAxis)
src/core/core.config.js:11
↓ 1 callers
Method
getBaseValue
* @return {number}
src/core/core.scale.js:950
↓ 1 callers
Method
getBeforeBody
(tooltipItems, options)
src/plugins/plugin.tooltip.js:548
↓ 1 callers
Method
getBody
(tooltipItems, options)
src/plugins/plugin.tooltip.js:554
↓ 1 callers
Function
getCanvasPosition
* @param e * @param canvas * @returns Canvas position
src/helpers/helpers.dom.ts:73
↓ 1 callers
Method
getCaretPosition
(tooltipPoint, size, options)
src/plugins/plugin.tooltip.js:699
↓ 1 callers
Method
getCenterPoint
(useFinalPosition: boolean)
src/elements/element.arc.ts:448
↓ 1 callers
Function
getChart
(data)
test/specs/core.scale.tests.js:21
↓ 1 callers
Function
getChart
(key)
src/core/core.controller.js:67
↓ 1 callers
Function
getChartBigData
(maxTicksLimit)
test/specs/core.scale.tests.js:37
↓ 1 callers
Function
getChartWithScaleTitleStroke
()
test/specs/core.scale.tests.js:821
↓ 1 callers
Function
getChartWithoutScaleTitleStroke
()
test/specs/core.scale.tests.js:851
↓ 1 callers
Function
getColorizer
(chart: Chart)
src/plugins/plugin.colors.ts:54
↓ 1 callers
Function
getCombinedMax
(maxPadding, chartArea, a, b)
src/core/core.layouts.js:105
↓ 1 callers
Function
getContainerSize
(canvas: HTMLCanvasElement, width: number, height: number)
src/helpers/helpers.dom.ts:133
↓ 1 callers
Method
getDataTimestamps
* @protected
src/scales/scale.time.js:627
↓ 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:21
↓ 1 callers
Function
getDistanceMetricForAxis
* 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 callers
Function
getEvenSpacing
* @param {number[]} arr
src/core/core.scale.autoskip.js:156
↓ 1 callers
Function
getFirstScaleId
(chart, axis)
src/core/core.datasetController.js:177
↓ 1 callers
Method
getFooter
(tooltipItems, options)
src/plugins/plugin.tooltip.js:582
↓ 1 callers
Method
getLabelAndValue
* @protected
src/controllers/controller.bar.js:364
↓ 1 callers
Method
getLabelItems
(chartArea?: ChartArea)
src/types/index.d.ts:1390
↓ 1 callers
Method
getLabelItems
* @return {import('../types.js').LabelItem[]}
src/core/core.scale.js:366
↓ 1 callers
Method
getLabelTimestamps
()
src/types/index.d.ts:3520
↓ 1 callers
Function
getLabels
(scale)
test/specs/scale.logarithmic.tests.js:1
↓ 1 callers
Function
getLabels
(scale)
test/specs/core.layouts.tests.js:1
↓ 1 callers
Function
getLabels
(scale)
test/specs/scale.linear.tests.js:1
↓ 1 callers
Function
getLabels
(scale)
test/specs/core.scale.tests.js:1
↓ 1 callers
Function
getLabels
(scale)
test/specs/core.ticks.tests.js:1
↓ 1 callers
Function
getLabels
(scale)
test/specs/scale.radialLinear.tests.js:1
↓ 1 callers
Function
getLabels
(scale)
test/specs/scale.time.tests.js:27
↓ 1 callers
Function
getLabels
(scale)
test/specs/scale.category.tests.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:32
↓ 1 callers
Function
getLineByIndex
* @param {Chart} chart * @param {number} index
src/plugins/plugin.filler/filler.target.js:41
↓ 1 callers
Function
getLineMethod
* @returns {any}
src/elements/element.line.js:28
↓ 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:85
↓ 1 callers
Function
getMargins
(horizontal, chartArea)
src/core/core.layouts.js:163
↓ 1 callers
Method
getMaxOffset
(arcs)
src/controllers/controller.doughnut.js:362
↓ 1 callers
Function
getMaximumSize
( canvas: HTMLCanvasElement, bbWidth?: number, bbHeight?: number, aspectRatio?: number )
src/helpers/helpers.dom.ts:163
↓ 1 callers
Function
getNearestCartesianItems
* 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 callers
Function
getNearestRadialItems
* 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 callers
Function
getNumberFormat
(locale: string, options?: Intl.NumberFormatOptions)
src/helpers/helpers.intl.ts:4
↓ 1 callers
Function
getOpts
(options, all)
src/core/core.plugins.js:146
↓ 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.d.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:133
↓ 1 callers
Method
getPointPositionForValue
(index, value)
src/scales/scale.radialLinear.js:529
↓ 1 callers
Method
getRange
(axis: 'x' | 'y')
src/types/index.d.ts:1852
↓ 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:9
↓ 1 callers
Method
getScaleForId
* @param {string} scaleID * @return {Scale}
src/core/core.datasetController.js:331
↓ 1 callers
Function
getScope
(key: ResolverObjectKey, parent: AnyObject)
src/helpers/helpers.config.ts:306
↓ 1 callers
Function
getSegment
(segment, points, bounds)
src/helpers/helpers.segment.js:35
↓ 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:48
↓ 1 callers
Function
getTextAlignForAngle
(angle)
src/scales/scale.radialLinear.js:203
↓ 1 callers
Method
getTickLimit
()
src/scales/scale.linearbase.js:213
↓ 1 callers
Method
getTitle
(context, options)
src/plugins/plugin.tooltip.js:533
↓ 1 callers
Function
getUserBounds
(scale)
src/core/core.datasetController.js:128
↓ 1 callers
Method
getUserBounds
* @return {{min: number, max: number, minDefined: boolean, maxDefined: boolean}} * @protected * @since 3.0
src/core/core.scale.js:283
↓ 1 callers
Method
getValueForDistanceFromCenter
(distance: number)
src/types/index.d.ts:3683
↓ 1 callers
Method
getVisibleDatasetCount
()
src/core/core.controller.js:859
↓ 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:1139
↓ 1 callers
Function
handleMaxPadding
(chartArea)
src/core/core.layouts.js:149
↓ 1 callers
Method
handleTickRangeOptions
()
src/scales/scale.logarithmic.js:131
↓ 1 callers
Function
hasFunction
src/core/core.config.js:402
↓ 1 callers
Function
hasRadius
(radius)
src/elements/element.bar.js:114
↓ 1 callers
Function
idMatchesAxis
(id)
src/core/core.config.js:25
↓ 1 callers
Function
inflateRect
(rect, amount, refRect = {})
src/elements/element.bar.js:127
↓ 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:129
↓ 1 callers
Method
initialize
()
src/core/core.datasetController.js:280
↓ 1 callers
Function
interpolatedLineTo
(ctx, target, point, property)
src/plugins/plugin.filler/filler.drawing.js:200
↓ 1 callers
Function
isColorInstance
(obj)
test/specs/helpers.color.tests.js:4
↓ 1 callers
Function
isIChartComponent
(proto)
src/core/core.typedRegistry.js:115
↓ 1 callers
Function
isListened
(type, opts)
src/plugins/plugin.legend.js:582
↓ 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
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
↓ 1 callers
Method
isPluginEnabled
* 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
← previous
next →
601–700 of 1,409, ranked by callers