MCPcopy Create free account

hub / github.com/tradingview/lightweight-charts / functions

Functions4,839 in github.com/tradingview/lightweight-charts

↓ 7 callersFunctionsetLineStyle
(ctx: CanvasRenderingContext2D, style: LineStyle)
src/renderers/draw-line.ts:81
↓ 7 callersMethodsetMarkers
(markers: InternalSeriesMarker<TimePointIndex>[])
src/plugins/series-markers/pane-view.ts:184
↓ 7 callersFunctionstringToBusinessDay
(value: string)
src/model/horz-scale-behavior-time/time-utils.ts:60
↓ 7 callersMethodunsubscribe
(callback: Callback<T1, T2, T3>)
src/helpers/isubscription.ts:5
↓ 7 callersFunctionwrapWhitespaceData
(createPlotRowFn: GetPlotRowType)
src/model/get-series-plot-row-creator.ts:145
↓ 6 callersMethod_drawSources
(target: CanvasRenderingTarget2D, paneViewsGetter: ViewsGetter<IDataSourcePaneViews>)
src/gui/pane-widget.ts:582
↓ 6 callersMethod_firesTouchEvents
(e: MouseEvent)
src/gui/mouse-event-handler.ts:774
↓ 6 callersMethod_makeSureItIsValid
()
src/model/price-scale.ts:923
↓ 6 callersMethod_paneInvalidationMask
(pane: Pane | null, level: InvalidationLevel)
src/model/chart-model.ts:1226
↓ 6 callersMethod_priceScale
()
src/api/price-scale-api.ts:80
↓ 6 callersMethod_touchMouseMoveWithDownInfo
(currentPosition: Position, startPosition: Position)
src/gui/mouse-event-handler.ts:334
↓ 6 callersFunctionaddDataToLeft
(data, areaSeries)
tests/e2e/graphics/test-cases/time-scale/add-data-to-left-two-series.js:63
↓ 6 callersFunctionaddDataToRight
(data, areaSeries)
tests/e2e/graphics/test-cases/time-scale/add-data-to-right-two-series.js:63
↓ 6 callersMethodbaseIndex
()
src/model/time-scale.ts:870
↓ 6 callersFunctionclamp
(value: number, minVal: number, maxVal: number)
src/helpers/mathex.ts:1
↓ 6 callersFunctionconvertPriceRangeFromLog
(priceRange: PriceRangeImpl | null, logFormula: LogFormula)
src/model/price-scale-conversions.ts:97
↓ 6 callersMethodcrosshairSource
()
src/model/chart-model.ts:467
↓ 6 callersMethoddrawBitmap
(ctx: CanvasRenderingContext2D, x: number, y: number, addTopLayer?: boolean)
src/gui/pane-widget.ts:457
↓ 6 callersFunctionensureDefined
(value: T | undefined)
plugin-examples/src/helpers/assertions.ts:10
↓ 6 callersFunctionfilterByExt
(files, ext)
scripts/githooks/pre-commit/lint.js:79
↓ 6 callersMethodfindClosestIndex
(target: number, direction: SearchDirection)
indicator-examples/src/helpers/closest-index.ts:11
↓ 6 callersFunctiongenerateData
()
tests/unittests/data-layer.spec.ts:554
↓ 6 callersMethodheight
()
src/model/price-scale.ts:417
↓ 6 callersMethodhitTest
* Hit test method which will be called by the library when the cursor is moved. * Use this to register object ids being hovered for use within the c
src/model/ipane-primitive.ts:174
↓ 6 callersMethodisInverted
()
src/model/price-scale.ts:641
↓ 6 callersMethodisOverlay
(source: IPriceDataSource)
src/model/pane.ts:199
↓ 6 callersMethodmerge
(other: InvalidateMask)
src/model/invalidate-mask.ts:153
↓ 6 callersMethodmoveToPane
* Move the series to another pane. * * If the pane with the specified index does not exist, the pane will be created. * * @param paneIndex - T
src/api/iseries-api.ts:345
↓ 6 callersMethodpaneForSource
(source: IPriceDataSource)
src/model/chart-model.ts:456
↓ 6 callersMethodpaneWidgets
()
src/gui/chart-widget.ts:53
↓ 6 callersFunctionpreventDefault
(event: Event)
src/gui/mouse-event-handler.ts:845
↓ 6 callersMethodpreventDefault
()
src/gui/mouse-event-handler.ts:50
↓ 6 callersMethodrenderer
(pane: Pane, addAnchors?: boolean)
src/views/pane/ipane-view.ts:6
↓ 6 callersMethodrendererOptions
()
src/gui/price-axis-widget.ts:238
↓ 6 callersFunctionrunESLintForFiles
(files)
scripts/githooks/pre-commit/lint.js:67
↓ 6 callersFunctionrunForSuccess
(cmd)
scripts/compare-size-with-merge-base.js:25
↓ 6 callersMethodscrollTo
(x: Coordinate)
src/model/time-scale.ts:802
↓ 6 callersMethodserieses
()
src/model/chart-model.ts:437
↓ 6 callersMethodsetBarSpacing
(newBarSpacing: number)
src/model/time-scale.ts:599
↓ 6 callersFunctionshapeSize
(shape: SeriesMarkerShape, originalSize: number)
src/plugins/series-markers/utils.ts:16
↓ 6 callersMethodsize
()
src/model/plot-list.ts:59
↓ 6 callersMethodupdateAllSources
()
src/model/pane.ts:294
↓ 6 callersMethodupdateFormatter
* Update the formatter with the localization options. * * @param options - Localization options * @returns void
src/model/ihorz-scale-behavior.ts:91
↓ 6 callersMethodupdateFormatter
()
src/model/price-scale.ts:853
↓ 6 callersFunctionwriteTestDataItem
( fileName: string, fileContent: string | Buffer )
tests/e2e/graphics/graphics-test-cases.ts:100
↓ 5 callersMethod_bottomMarginPx
()
src/model/price-scale.ts:917
↓ 5 callersMethod_clearLongTapTimeout
()
src/gui/mouse-event-handler.ts:496
↓ 5 callersMethod_drawSourceImpl
( target: CanvasRenderingTarget2D, paneViewsGetter: ViewsGetter<IDataSourcePaneViews>, drawFn: DrawFunct
src/gui/pane-widget.ts:602
↓ 5 callersMethod_firstIndex
()
src/model/time-scale.ts:988
↓ 5 callersMethod_indexAt
(offset: PlotRowIndex)
src/model/plot-list.ts:121
↓ 5 callersMethod_isLeftAxisVisible
()
src/gui/chart-widget.ts:883
↓ 5 callersMethod_isRightAxisVisible
()
src/gui/chart-widget.ts:887
↓ 5 callersMethod_lowerbound
(index: TimePointIndex)
src/model/plot-list.ts:169
↓ 5 callersMethod_parseColor
(color: string)
src/model/colors.ts:158
↓ 5 callersMethodaddExpiringAlert
( price: number, startDate: number, endDate: number, parameters: ExpiringPriceAlertParameters )
plugin-examples/src/plugins/expiring-price-alerts/expiring-price-alerts.ts:83
↓ 5 callersFunctionapplyStyle
(element: HTMLElement, styles: Record<string, string>)
plugin-examples/src/plugins/tooltip/tooltip-element.ts:205
↓ 5 callersMethodbarSpacing
()
src/model/time-scale.ts:595
↓ 5 callersFunctionconvertPriceRangeToLog
(priceRange: PriceRangeImpl | null, logFormula: LogFormula)
src/model/price-scale-conversions.ts:72
↓ 5 callersMethodcoordinateToIndex
(x: Coordinate)
src/model/time-scale.ts:310
↓ 5 callersFunctioncreateChartEx
( container: string | HTMLElement, horzScaleBehavior: THorzScaleBehavior, options?: DeepPartial<ReturnType<
src/api/create-chart.ts:33
↓ 5 callersMethoddetached
* Detached Lifecycle hook. * * @returns void
src/model/ipane-primitive.ts:161
↓ 5 callersFunctiondistanceByCoordinates
(p1x: number, p1y: number, p2x: number, p2y: number)
src/renderers/walk-line.ts:8
↓ 5 callersFunctiondistanceToSegment
( x: number, y: number, x1: number, y1: number, x2: number, y2: number )
src/renderers/hit-test-common.ts:43
↓ 5 callersMethodformatPrice
(price: number, firstValue: number)
src/model/price-scale.ts:788
↓ 5 callersMethodformatter
()
src/model/price-scale.ts:780
↓ 5 callersFunctionfromLog
(logical: number, logFormula: LogFormula)
src/model/price-scale-conversions.ts:62
↓ 5 callersFunctiongenerateData
(count, from, empty = false)
tests/e2e/graphics/test-cases/time-scale/add-data-to-right-two-series.js:1
↓ 5 callersFunctiongenerateData
(count, from, empty = false)
tests/e2e/graphics/test-cases/time-scale/add-data-to-left-two-series.js:1
↓ 5 callersFunctiongetRanges
()
tests/e2e/graphics/test-cases/time-scale/add-data-to-left.js:58
↓ 5 callersFunctiongetRanges
()
tests/e2e/graphics/test-cases/time-scale/add-data-to-right.js:61
↓ 5 callersMethodgetRenderCoordinate
()
src/views/price-axis/iprice-axis-view.ts:10
↓ 5 callersMethodheight
(rendererOptions: PriceAxisViewRendererOptions, useSecondLine?: boolean)
src/views/price-axis/iprice-axis-view.ts:11
↓ 5 callersMethodindices
()
src/model/plot-list.ts:117
↓ 5 callersMethodinternalHeight
()
src/model/price-scale.ts:431
↓ 5 callersMethodisConflationEnabled
* Check if conflation is currently enabled for this series.
src/model/series.ts:357
↓ 5 callersMethodisEmpty
()
src/model/time-scale.ts:450
↓ 5 callersFunctionisFulfilledData
( data: T )
src/model/data-consumer.ts:185
↓ 5 callersFunctionisInteger
(value: unknown)
src/helpers/strict-type-checks.ts:41
↓ 5 callersFunctionisSeriesPlotRow
(row: SeriesPlotRow | WhitespacePlotRow)
src/model/get-series-plot-row-creator.ts:119
↓ 5 callersFunctionisString
(value: unknown)
src/helpers/strict-type-checks.ts:45
↓ 5 callersFunctionisUTCTimestamp
(time: Time)
src/model/horz-scale-behavior-time/types.ts:79
↓ 5 callersMethodlastValueData
(globalLast: boolean)
src/model/iseries.ts:81
↓ 5 callersMethodleftPriceAxisWidget
()
src/gui/pane-widget.ts:523
↓ 5 callersFunctionnumberToStringWithLeadingZero
(value: number, length: number)
src/formatters/price-formatter.ts:15
↓ 5 callersMethodonDestroyed
()
src/model/pane.ts:423
↓ 5 callersMethodoptions
()
src/model/chart-model.ts:435
↓ 5 callersMethodpaneIndex
()
src/api/pane-api.ts:56
↓ 5 callersMethodpop
* Removes one or more data items from the end of the series. * * @param count - The number of data items to remove. * @returns The removed data
src/api/iseries-api.ts:203
↓ 5 callersMethodpriceAxisViews
(pane?: Pane, priceScale?: PriceScale)
src/model/idata-source.ts:48
↓ 5 callersMethodremovePriceLine
* Removes the price line that was created before. * * @param line - A line to remove. * @example * ```js * const priceLine = series.createPr
src/api/iseries-api.ts:285
↓ 5 callersMethodresetTimeScale
* Restores default zoom level and scroll position of the time scale.
src/api/itime-scale-api.ts:90
↓ 5 callersMethodrightOffset
()
src/model/time-scale.ts:305
↓ 5 callersFunctionrmRf
(dir: string)
tests/e2e/graphics/utils.ts:4
↓ 5 callersFunctionrunForOutput
(cmd)
scripts/compare-size-with-merge-base.js:29
↓ 5 callersMethodscrollPosition
* Return the distance from the right edge of the time scale to the lastest bar of the series measured in bars.
src/api/itime-scale-api.ts:25
↓ 5 callersMethodsetMode
(newMode: Partial<PriceScaleState>)
src/model/price-scale.ts:353
↓ 5 callersMethodsetRenderCoordinate
(value: number | null)
src/views/price-axis/iprice-axis-view.ts:16
↓ 5 callersMethodstopTimeScaleAnimation
()
src/model/invalidate-mask.ts:128
↓ 5 callersMethodstretchFactor
()
src/gui/pane-widget.ts:235
↓ 5 callersMethodsubscribeSizeChange
* Adds a subscription to time scale size changes * * @param handler - Handler (function) to be called when the time scale size changes
src/api/itime-scale-api.ts:216
← previousnext →201–300 of 4,839, ranked by callers