Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/difurious/lightweight-charts-line-tools
/ functions
Functions
2,222 in github.com/difurious/lightweight-charts-line-tools
⨍
Functions
2,222
◇
Types & classes
611
↓ 10 callers
Function
isNumber
(value: unknown)
src/helpers/strict-type-checks.ts:116
↓ 10 callers
Method
removeSeries
* Removes a series of any type. This is an irreversible operation, you cannot do anything with the series after removing it. * * @example * ```j
src/api/ichart-api.ts:260
↓ 10 callers
Method
toolType
* Return current series type. * * @returns Type of the lineTool.
src/api/iline-tool-api.ts:34
↓ 10 callers
Method
updateFormatter
()
src/model/price-scale.ts:791
↓ 10 callers
Method
updateSource
(source: IPriceDataSource)
src/model/chart-model.ts:387
↓ 9 callers
Method
_processMouseEvent
(event: MouseEventHandlerMouseEvent, callback?: HandlerMouseEventCallback)
src/gui/mouse-event-handler.ts:813
↓ 9 callers
Method
bars
()
src/model/series.ts:331
↓ 9 callers
Method
barsInLogicalRange
* Returns bars information for the series in the provided [logical range](/time-scale.md#logical-range) or `null`, if no series data has been found in
src/api/iseries-api.ts:91
↓ 9 callers
Function
chartModelMock
()
tests/unittests/time-scale.spec.ts:15
↓ 9 callers
Method
coordinateToTime
* Converts a coordinate to time. * * @param x - Coordinate needs to be converted. * @returns Time of a bar that is located on that coordinate or
src/api/itime-scale-api.ts:134
↓ 9 callers
Method
crosshairSource
()
src/model/chart-model.ts:504
↓ 9 callers
Method
dataSources
()
src/model/pane.ts:171
↓ 9 callers
Method
recalculateAllPanes
()
src/model/chart-model.ts:782
↓ 9 callers
Method
scrollToPosition
* Scrolls the chart to the specified position. * * @param position - Target data position * @param animated - Setting this to true makes the cha
src/api/itime-scale-api.ts:40
↓ 9 callers
Method
timestampRangeFromVisibleLogicalRange
* Gets the visible time range in timestamps, extended to include the right offset (blank space). * * @returns An object with 'from' and 'to' times
src/model/time-scale.ts:515
↓ 8 callers
Method
_correctOffset
()
src/model/time-scale.ts:940
↓ 8 callers
Method
_propagateEvent
(type: InputEventType, event: TouchMouseEvent)
src/gui/pane-widget.ts:568
↓ 8 callers
Method
_setCrosshairPosition
(x: Coordinate, y: Coordinate)
src/gui/pane-widget.ts:737
↓ 8 callers
Method
barStyle
(barIndex: TimePointIndex, precomputedBars?: PrecomputedBars)
src/model/series-bar-colorer.ts:40
↓ 8 callers
Method
calculateThirdPoint
(ptPoint: LineToolPoint, initialCreation: boolean = false)
src/model/line-tool-long-short-position.ts:188
↓ 8 callers
Function
checkVisibleRange
( { timeRange: oldTimeRange, logicalRange: oldLogicalRange }, what )
tests/e2e/graphics/test-cases/time-scale/add-data-to-left.js:65
↓ 8 callers
Function
checkVisibleRange
( { timeRange: oldTimeRange, logicalRange: oldLogicalRange }, what )
tests/e2e/graphics/test-cases/time-scale/add-data-to-right.js:68
↓ 8 callers
Method
contains
(index: TimePointIndex)
src/model/plot-list.ts:54
↓ 8 callers
Method
getSize
()
src/gui/pane-widget.ts:454
↓ 8 callers
Method
height
* Returns a height of the time scale.
src/api/itime-scale-api.ts:144
↓ 8 callers
Function
pointInBox
(point: Point, box: Box)
src/model/interesection.ts:166
↓ 8 callers
Method
priceRange
()
src/model/price-scale.ts:392
↓ 8 callers
Method
recalculatePriceScale
(priceScale: PriceScale | null)
src/model/pane.ts:316
↓ 8 callers
Function
tsUpdate
(to: number)
tests/unittests/time-scale.spec.ts:23
↓ 8 callers
Method
updateAllViews
()
src/model/idata-source.ts:14
↓ 8 callers
Function
whitespaceItemAt
(time: Time)
tests/unittests/data-layer.spec.ts:32
↓ 7 callers
Method
_makeValid
()
src/views/pane/series-markers-pane-view.ts:167
↓ 7 callers
Method
_processTouchEvent
(event: MouseEventHandlerTouchEvent, callback?: HandlerTouchEventCallback)
src/gui/mouse-event-handler.ts:807
↓ 7 callers
Method
barColorer
()
src/model/series.ts:204
↓ 7 callers
Method
close
()
tests/e2e/graphics/helpers/screenshoter.ts:36
↓ 7 callers
Method
coordinateToIndex
(x: Coordinate)
src/model/time-scale.ts:463
↓ 7 callers
Function
createBoundCanvas
(parentElement: HTMLElement, size: Size)
src/gui/canvas-utils.ts:49
↓ 7 callers
Function
dataItem
(date, val)
tests/e2e/graphics/test-cases/initial-options/tick-marks-formatter.js:1
↓ 7 callers
Function
getFontAwareScale
(data: TextRendererData)
src/renderers/text-renderer.ts:552
↓ 7 callers
Function
getFontAwareScale
(data: MarketDepthRendererData)
src/renderers/market-depth-renderer.ts:659
↓ 7 callers
Function
getRanges
()
tests/e2e/graphics/test-cases/time-scale/add-data-to-right-two-series.js:73
↓ 7 callers
Function
getRanges
()
tests/e2e/graphics/test-cases/time-scale/add-data-to-left-two-series.js:73
↓ 7 callers
Method
getVisibleLogicalRange
* Returns the current visible [logical range](/time-scale.md#logical-range) of the chart as an object with the first and last time points of the logic
src/api/itime-scale-api.ts:81
↓ 7 callers
Method
indexToTime
(index: TimePointIndex)
src/model/time-scale.ts:284
↓ 7 callers
Function
intersectLineSegments
(point0: Point, point1: Point, point2: Point, point3: Point)
src/model/interesection.ts:72
↓ 7 callers
Method
isAutoScale
()
src/model/price-scale.ts:279
↓ 7 callers
Method
isEmpty
()
src/model/time-scale.ts:329
↓ 7 callers
Method
isLog
()
src/model/price-scale.ts:283
↓ 7 callers
Function
lineSegment
(a: Point, b: Point)
src/model/point.ts:130
↓ 7 callers
Method
marks
()
src/model/time-scale.ts:565
↓ 7 callers
Function
migrateOptions
(options: SeriesPartialOptionsMap[TSeriesType])
src/api/series-api.ts:32
↓ 7 callers
Method
orderedSources
()
src/model/pane.ts:352
↓ 7 callers
Method
pointsCount
()
src/model/line-tool-path.ts:17
↓ 7 callers
Function
precisionByMinMove
(minMove: number)
src/model/series-options.ts:491
↓ 7 callers
Method
recalculate
()
src/model/pane.ts:338
↓ 7 callers
Method
setPriceRange
(newPriceRange: PriceRangeImpl | null, isForceSetValue?: boolean)
src/model/price-scale.ts:397
↓ 7 callers
Method
setRightOffset
(offset: number)
src/model/time-scale.ts:538
↓ 7 callers
Method
size
()
src/model/plot-list.ts:46
↓ 7 callers
Method
unsubscribe
(callback: Callback<T1, T2>)
src/helpers/isubscription.ts:7
↓ 6 callers
Method
_firesTouchEvents
(e: MouseEvent)
src/gui/mouse-event-handler.ts:799
↓ 6 callers
Method
_makeSureItIsValid
()
src/model/price-scale.ts:846
↓ 6 callers
Method
_onMouseEvent
()
src/gui/pane-widget.ts:830
↓ 6 callers
Method
_paneInvalidationMask
(pane: Pane | null, level: InvalidationLevel)
src/model/chart-model.ts:945
↓ 6 callers
Method
_touchMouseMoveWithDownInfo
(currentPosition: Position, startPosition: Position)
src/gui/mouse-event-handler.ts:371
↓ 6 callers
Method
addDataSource
(source: IPriceDataSource, targetScaleId: string, zOrder?: number)
src/model/pane.ts:183
↓ 6 callers
Function
addDataToLeft
(data, areaSeries)
tests/e2e/graphics/test-cases/time-scale/add-data-to-left-two-series.js:63
↓ 6 callers
Function
addDataToRight
(data, areaSeries)
tests/e2e/graphics/test-cases/time-scale/add-data-to-right-two-series.js:63
↓ 6 callers
Method
baseIndex
()
src/model/time-scale.ts:801
↓ 6 callers
Method
createSeries
(seriesType: T, options: SeriesOptionsMap[T])
src/model/chart-model.ts:817
↓ 6 callers
Function
ensure
(value: T | undefined | null)
src/helpers/assertions.ts:56
↓ 6 callers
Function
filterByExt
(files, ext)
scripts/githooks/pre-commit/lint.js:79
↓ 6 callers
Method
fullUpdate
()
src/model/chart-model.ts:375
↓ 6 callers
Function
generateData
()
tests/unittests/data-layer.spec.ts:424
↓ 6 callers
Function
getScaledFontSize
(data: TextRendererData)
src/renderers/text-renderer.ts:544
↓ 6 callers
Function
getScaledFontSize
(data: MarketDepthRendererData)
src/renderers/market-depth-renderer.ts:651
↓ 6 callers
Method
height
()
src/model/price-scale.ts:368
↓ 6 callers
Method
isCurrentLong
()
src/model/line-tool-long-short-position.ts:35
↓ 6 callers
Method
isInverted
()
src/model/price-scale.ts:599
↓ 6 callers
Method
isOverlay
(source: IPriceDataSource)
src/model/pane.ts:175
↓ 6 callers
Method
model
()
src/gui/chart-widget.ts:133
↓ 6 callers
Function
normalizePath
(filePath)
scripts/check-markdown-links.js:109
↓ 6 callers
Function
patchPriceFormat
(priceFormat?: DeepPartial<PriceFormat>)
src/api/chart-api.ts:59
↓ 6 callers
Function
preventDefault
(event: Event)
src/gui/mouse-event-handler.ts:870
↓ 6 callers
Method
remove
* Removes the chart object including all DOM elements. This is an irreversible operation, you cannot do anything with the chart after removing it.
src/api/ichart-api.ts:84
↓ 6 callers
Method
removeDataSource
(source: IPriceDataSource)
src/model/pane.ts:188
↓ 6 callers
Method
rendererOptions
()
src/gui/price-axis-widget.ts:153
↓ 6 callers
Method
rightOffset
()
src/model/time-scale.ts:560
↓ 6 callers
Function
runESLintForFiles
(files)
scripts/githooks/pre-commit/lint.js:67
↓ 6 callers
Function
runForSuccess
(cmd)
scripts/compare-size-with-merge-base.js:26
↓ 6 callers
Method
send
(event: 'Input.dispatchMouseEvent', options: MouseWheelEventOptions)
tests/e2e/coverage/coverage.spec.ts:37
↓ 6 callers
Method
serieses
()
src/model/chart-model.ts:670
↓ 6 callers
Method
setBarSpacing
(newBarSpacing: number)
src/model/time-scale.ts:550
↓ 6 callers
Function
stringToBusinessDay
(value: string)
src/api/data-layer.ts:70
↓ 6 callers
Method
subscribeVisibleLogicalRangeChange
* Subscribe to the visible logical range change events. * * The argument passed to the handler function is an object with `from` and `to` properti
src/api/itime-scale-api.ts:197
↓ 6 callers
Method
updateAllSources
()
src/model/pane.ts:281
↓ 6 callers
Method
updateCrosshair
()
src/model/chart-model.ts:704
↓ 6 callers
Function
wrapWhitespaceData
(createPlotRowFn: (typeof getLineBasedSeriesPlotRow) | (typeof getBarSeriesPlotRow) | (typeof getCandlestickSe
src/api/get-series-plot-row-creator.ts:79
↓ 6 callers
Function
writeTestDataItem
(fileName: string, fileContent: string | Buffer)
tests/e2e/graphics/graphics-test-cases.ts:123
↓ 6 callers
Method
zorder
()
src/model/idata-source.ts:9
↓ 5 callers
Method
_bottomMarginPx
()
src/model/price-scale.ts:840
← previous
next →
101–200 of 2,222, ranked by callers