Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tradingview/lightweight-charts
/ functions
Functions
4,839 in github.com/tradingview/lightweight-charts
⨍
Functions
4,839
◇
Types & classes
1,320
↓ 2 callers
Method
recalculateIndicesWithData
()
src/model/time-scale.ts:314
↓ 2 callers
Method
recalculateIndicesWithData
()
src/model/time-scale.ts:923
↓ 2 callers
Function
recalculateOverlapping
(views: IPriceAxisView[], direction: 1 | -1, scaleHeight: number, rendererOptions: Readonly<PriceAxisViewRende
src/gui/price-axis-widget.ts:77
↓ 2 callers
Method
recalculatePriceRange
(visibleBars: RangeImpl<TimePointIndex>)
src/model/price-scale.ts:834
↓ 2 callers
Function
registerTestCases
(testCases: TestCase[], screenshoter: Screenshoter, outDir: string, groupName: string)
tests/e2e/graphics/graphics-test-cases.ts:85
↓ 2 callers
Method
removeElement
()
src/gui/attribution-logo-widget.ts:29
↓ 2 callers
Method
removeExpiringAlert
(id: string)
plugin-examples/src/plugins/expiring-price-alerts/expiring-price-alerts.ts:105
↓ 2 callers
Method
rendererOptionsProvider
()
src/model/chart-model.ts:460
↓ 2 callers
Function
reorderFieldInArray
(arr)
tests/e2e/graphics/test-cases/api/series-markers.js:11
↓ 2 callers
Method
requestUpdate
()
src/plugins/image-watermark/primitive.ts:86
↓ 2 callers
Method
requestUpdate
()
tests/e2e/graphics/test-cases/plugins/pane-primitives.js:82
↓ 2 callers
Method
reset
()
src/model/text-width-cache.ts:19
↓ 2 callers
Method
resetPriceScale
(pane: Pane, priceScale: PriceScale)
src/model/chart-model.ts:472
↓ 2 callers
Function
retryTest
(retries: number, fn: TestFn)
tests/e2e/helpers/retry-tests.ts:2
↓ 2 callers
Function
rgbaToGrayscale
(rgbValue: Rgba)
src/model/colors.ts:50
↓ 2 callers
Method
rightOffset
()
src/model/time-scale.ts:616
↓ 2 callers
Function
runForFiles
(cmd, files)
scripts/githooks/pre-commit/lint.js:54
↓ 2 callers
Function
runInteractionsOnPage
(page: Page)
tests/e2e/helpers/perform-interactions.ts:289
↓ 2 callers
Function
runTestCase
(testCase: TestCase)
tests/e2e/interactions/interactions-test-cases.ts:70
↓ 2 callers
Function
runTestCase
(testCase: TestCase)
tests/e2e/coverage/coverage-test-cases.ts:173
↓ 2 callers
Function
samplePoint
(i: number)
plugin-examples/src/sample-data.ts:17
↓ 2 callers
Function
samplePoint
(i: number)
indicator-examples/src/sample-data.ts:12
↓ 2 callers
Function
samplePoint
website/tutorials/webcomponents/assets/wc-example.js:70
↓ 2 callers
Function
samplePoint
website/tutorials/demos/realtime-updates.js:9
↓ 2 callers
Function
samplePoint
website/tutorials/vuejs/assets/web-component.js:175
↓ 2 callers
Method
scalePriceTo
(pane: Pane, priceScale: PriceScale, x: number)
src/model/chart-model.ts:475
↓ 2 callers
Method
scaleTo
(x: Coordinate)
src/model/time-scale.ts:764
↓ 2 callers
Method
scrollPriceTo
(pane: Pane, priceScale: PriceScale, x: number)
src/model/chart-model.ts:470
↓ 2 callers
Method
scrollToOffsetAnimated
(offset: number, animationDuration: number = Constants.DefaultAnimationDuration)
src/model/time-scale.ts:828
↓ 2 callers
Function
seriesRowsFirstAndLastTime
(seriesRows: SeriesPlotRow<TSeriesType>[] | undefined, bh: IHorzScaleBehavior<HorzScaleItem>)
src/model/data-layer.ts:83
↓ 2 callers
Function
serveLocalFiles
( filesToServe: Map<string, string>, port: number, hostname: string )
tests/e2e/serve-local-files.ts:10
↓ 2 callers
Method
setAndSaveCurrentPosition
(x: Coordinate, y: Coordinate, event: TouchMouseEventData | null, pane: Pane, skipEvent?: boolean)
src/model/chart-model.ts:888
↓ 2 callers
Function
setChartInterval
(interval)
website/tutorials/demos/range-switcher.js:529
↓ 2 callers
Method
setData
(data: TooltipCrosshairLineData)
plugin-examples/src/plugins/tooltip/tooltip.ts:133
↓ 2 callers
Method
setData
(crosshairData: TooltipCrosshairLineData[], tooltipData: Partial<DeltaTooltipData>)
plugin-examples/src/plugins/delta-tooltip/delta-tooltip.ts:117
↓ 2 callers
Method
setData
(data: CrosshairHighlightData)
plugin-examples/src/plugins/highlight-bar-crosshair/highlight-bar-crosshair.ts:115
↓ 2 callers
Method
setFitContent
()
src/model/invalidate-mask.ts:111
↓ 2 callers
Method
setMarker
(marker: SeriesUpDownMarker<HorzScaleItem>, key: InternalHorzScaleItemKey, timeout?: number)
src/plugins/up-down-markers-plugin/expiring-markers-manager.ts:18
↓ 2 callers
Method
setMarkers
(markers: SeriesMarker<HorzScaleItem>[])
src/plugins/series-markers/wrapper.ts:40
↓ 2 callers
Method
setPriceAxisSize
(width: number, position: PriceAxisWidgetSide)
src/gui/pane-widget.ts:408
↓ 2 callers
Function
setPriceScaleMargins
()
plugin-examples/src/plugins/dual-range-histogram-series/example/example.ts:42
↓ 2 callers
Method
setState
(pane: Pane | null)
src/gui/pane-widget.ts:176
↓ 2 callers
Method
setTargetLogicalRange
(range: LogicalRange)
src/model/chart-model.ts:1074
↓ 2 callers
Method
setTypeAndData
()
website/tutorials/webcomponents/assets/lw-chart.js:144
↓ 2 callers
Method
setVisibleRange
(range: RangeImpl<TimePointIndex>, applyDefaultOffset?: boolean)
src/model/time-scale.ts:878
↓ 2 callers
Function
simpleData
()
tests/e2e/coverage/test-cases/panes/options.js:1
↓ 2 callers
Function
simpleData
()
tests/e2e/coverage/test-cases/panes/panes-sceenshot.js:1
↓ 2 callers
Function
simpleData
()
tests/e2e/coverage/test-cases/panes/remove-pane.js:1
↓ 2 callers
Function
simpleData
()
tests/e2e/coverage/test-cases/panes/swap-panes.js:1
↓ 2 callers
Function
simpleData
()
tests/e2e/coverage/test-cases/panes/set-crosshair.js:1
↓ 2 callers
Function
simpleData
()
tests/e2e/coverage/test-cases/panes/add-pane.js:1
↓ 2 callers
Function
simpleData
()
tests/e2e/coverage/test-cases/panes/pane-size.js:1
↓ 2 callers
Function
simpleMovingAverage
( values: (number | undefined)[], length: number )
indicator-examples/src/indicators/moving-average/moving-average-calculation.ts:154
↓ 2 callers
Function
simulateUserPriceAlerts
(time: Time)
plugin-examples/src/plugins/expiring-price-alerts/example/example.ts:32
↓ 2 callers
Method
sizeChanged
()
src/gui/time-axis-widget.ts:241
↓ 2 callers
Function
sortSources
(sources: readonly T[])
src/model/sort-sources.ts:5
↓ 2 callers
Method
sourcesForAutoScale
()
src/model/price-scale.ts:830
↓ 2 callers
Method
start
(position: Coordinate, time: number)
src/model/kinetic-animation.ts:69
↓ 2 callers
Method
startScale
(x: Coordinate)
src/model/time-scale.ts:747
↓ 2 callers
Method
startScalePrice
(pane: Pane, priceScale: PriceScale, x: number)
src/model/chart-model.ts:474
↓ 2 callers
Method
startScroll
(x: Coordinate)
src/model/time-scale.ts:789
↓ 2 callers
Method
startScrollPrice
(pane: Pane, priceScale: PriceScale, x: number)
src/model/chart-model.ts:469
↓ 2 callers
Method
stretchFactor
()
src/model/pane.ts:139
↓ 2 callers
Function
syncCrosshair
(chart, series, dataPoint)
website/tutorials/how_to/set-crosshair-position-syncing.js:82
↓ 2 callers
Method
timeAxisPaneViews
* Returns array of objects representing primitive in the time axis area of the chart * * @returns array of objects; each of then must implement IS
src/model/iseries-primitive.ts:110
↓ 2 callers
Method
timeScaleInvalidations
()
src/model/invalidate-mask.ts:149
↓ 2 callers
Function
timeScalePointTime
(mergedPointData: Map<Series<TSeriesType>, SeriesPlotRow<TSeriesType> | WhitespacePlotRow>)
src/model/data-layer.ts:109
↓ 2 callers
Method
timeToIndex
(time: InternalHorzScaleItem, findNearest: boolean)
src/model/time-scale.ts:430
↓ 2 callers
Method
title
()
src/model/iseries.ts:79
↓ 2 callers
Function
toInternalHorzScaleItem
( item: number | InternalHorzScaleItem )
src/model/yield-curve-horz-scale-behavior/yield-curve-horz-scale-behavior.ts:40
↓ 2 callers
Function
toInternalOptions
(options: DeepPartial<ChartOptionsImpl<HorzScaleItem>>)
src/api/chart-api.ts:100
↓ 2 callers
Method
update
()
src/views/pane/series-last-price-animation-pane-view.ts:130
↓ 2 callers
Method
update
()
src/plugins/image-watermark/pane-view.ts:58
↓ 2 callers
Method
updateAllViews
()
plugin-examples/src/plugins/user-price-lines/user-price-lines.ts:142
↓ 2 callers
Method
updateAllViews
()
src/model/crosshair.ts:361
↓ 2 callers
Method
updateCrosshair
()
src/model/chart-model.ts:442
↓ 2 callers
Method
updateLastConflatedChunk
* Efficiently update conflation when only the last data point changes. * This avoids rebuilding all conflated chunks.
src/model/series.ts:370
↓ 2 callers
Method
updatePosition
(positionData: TooltipPosition)
plugin-examples/src/plugins/tooltip/tooltip-element.ts:160
↓ 2 callers
Method
updateSource
(source: IPriceDataSource | IPrimitiveHitTestSource)
src/model/chart-model.ts:561
↓ 2 callers
Method
updateTooltipContent
(tooltipContentData: TooltipContentData)
plugin-examples/src/plugins/tooltip/tooltip-element.ts:148
↓ 2 callers
Method
visibleBarsChanged
()
src/model/time-scale.ts:858
↓ 2 callers
Method
visibleLogicalRange
()
src/model/time-scale.ts:464
↓ 2 callers
Function
w
(t,e)
website/src/theme/analytics-tracker.js:1
↓ 2 callers
Function
walkLine
( renderingScope: BitmapCoordinatesRenderingScope, items: readonly TItem[], lineType: LineType, visibleRan
src/renderers/walk-line.ts:13
↓ 2 callers
Function
weightByTime
(currentDate: Date, prevDate: Date)
src/model/horz-scale-behavior-time/time-scale-point-weight-generator.ts:35
↓ 2 callers
Function
withTimeout
(promise: Promise<P>, ms: number)
tests/e2e/graphics/utils.ts:38
↓ 2 callers
Function
wrapCustomValues
(plotRow: Mutable<T>, bar: SeriesDataItemTypeMap<HorzScaleItem>[SeriesType])
src/model/get-series-plot-row-creator.ts:127
↓ 2 callers
Method
yCoord
()
src/model/custom-price-line.ts:56
↓ 2 callers
Method
zOrder
* Defines where in the visual layer stack the renderer should be executed. Default is `'normal'`. * * @returns the desired position in the visual
src/model/ipane-primitive.ts:49
↓ 2 callers
Method
zoomTime
(pointX: Coordinate, scale: number)
src/model/chart-model.ts:478
↓ 1 callers
Function
C
()
website/src/theme/analytics-tracker.js:1
↓ 1 callers
Function
F
(t)
website/src/theme/analytics-tracker.js:1
↓ 1 callers
Function
G
()
website/src/theme/analytics-tracker.js:1
↓ 1 callers
Function
H
()
website/src/theme/analytics-tracker.js:1
↓ 1 callers
Function
I
(t,e=0)
website/src/theme/analytics-tracker.js:1
↓ 1 callers
Function
J
()
website/src/theme/analytics-tracker.js:1
↓ 1 callers
Function
L
(t,e)
website/src/theme/analytics-tracker.js:1
↓ 1 callers
Function
M
(t)
website/src/theme/analytics-tracker.js:1
↓ 1 callers
Function
MM
(date: Date)
src/formatters/format-date.ts:12
↓ 1 callers
Function
MMM
(date: Date, locale: string)
src/formatters/format-date.ts:10
← previous
next →
901–1,000 of 4,839, ranked by callers