MCPcopy Create free account

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

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

↓ 3 callersMethodgetSize
()
src/gui/pane-widget.ts:413
↓ 3 callersFunctiongetVisibleLogicalRange
(dataLength: number, addedPoints: number)
website/src/components/landing-page/HeroChart/index.tsx:38
↓ 3 callersFunctiongridAndCrosshairMediaWidth
( horizontalPixelRatio: number )
plugin-examples/src/helpers/dimensions/crosshair-width.ts:17
↓ 3 callersFunctionhitTestSeriesRange
( items: readonly TItem[], visibleRange: SeriesItemsIndexesRange | null, x: Coordinate, y: Coordinate, ba
src/renderers/range-hit-test.ts:32
↓ 3 callersMethodindexToTime
(index: TimePointIndex)
src/model/time-scale.ts:298
↓ 3 callersMethodindexToTimeScalePoint
(index: TimePointIndex)
src/model/time-scale.ts:308
↓ 3 callersMethodinvalidatePane
(paneIndex: number, invalidation: PaneInvalidation)
src/model/invalidate-mask.ts:88
↓ 3 callersMethodinvalidateSourcesCache
()
src/model/price-scale.ts:895
↓ 3 callersFunctionisBetterHit
(candidate: InternalHitTestCandidate, currentBest: InternalHitTestCandidate | null)
src/model/internal-hit-test.ts:34
↓ 3 callersFunctionisIOS
()
src/helpers/browsers.ts:10
↓ 3 callersMethodlastIndex
()
src/model/plot-list.ts:55
↓ 3 callersMethodlightUpdate
()
src/model/chart-model.ts:553
↓ 3 callersFunctionlogFormulaForPriceRange
(range: PriceRangeImpl | null)
src/model/price-scale-conversions.ts:108
↓ 3 callersMethodlogicalRange
()
src/model/time-scale-visible-range.ts:22
↓ 3 callersFunctionlowerBoundByX
(items: readonly T[], value: number, from: number, to: number)
src/renderers/hit-test-common.ts:23
↓ 3 callersFunctionminutes
(count: number)
src/model/horz-scale-behavior-time/time-scale-point-weight-generator.ts:11
↓ 3 callersMethodmode
()
src/model/price-scale.ts:344
↓ 3 callersFunctionnormalizeRgbComponent
(component: number)
src/model/colors.ts:29
↓ 3 callersMethodonMarksChanged
()
src/model/price-scale.ts:667
↓ 3 callersMethodoptimalWidth
()
src/gui/price-axis-widget.ts:250
↓ 3 callersMethodoptions
()
src/model/time-scale.ts:312
↓ 3 callersMethodoptions
()
src/api/chart-api.ts:295
↓ 3 callersMethodpaneSize
* Returns the dimensions of the chart pane (the plot surface which excludes time and price scales). * This would typically only be useful for plugin
src/api/ichart-api.ts:390
↓ 3 callersMethodpaneView
()
src/model/grid.ts:51
↓ 3 callersFunctionperformInteractions
( page: Page, interactionsToPerform: Interaction[] )
tests/e2e/helpers/perform-interactions.ts:229
↓ 3 callersFunctionpositionsBox
( position1Media: number, position2Media: number, pixelRatio: number )
packages/create-lwc-plugin/template-common/src/helpers/dimensions/positions.ts:37
↓ 3 callersMethodpriceScaleById
(id: string)
src/model/pane.ts:101
↓ 3 callersFunctionrandomShade
()
website/tutorials/webcomponents/assets/wc-example.js:112
↓ 3 callersFunctionrandomShade
()
website/tutorials/vuejs/assets/web-component.js:217
↓ 3 callersMethodrebuildTickMarks
()
src/model/price-tick-mark-builder.ts:56
↓ 3 callersMethodremoveDataSource
(source: IPriceDataSource, keepSourceOrder?: boolean)
src/model/pane.ts:215
↓ 3 callersMethodremovePane
* Removes a pane with index * * @param index - the pane to be removed
src/api/ichart-api.ts:339
↓ 3 callersFunctionrequestUpdate
()
plugin-examples/src/plugins/plugin-base.ts:17
↓ 3 callersMethodrequestUpdate
()
src/plugins/up-down-markers-plugin/primitive.ts:76
↓ 3 callersMethodreset
()
src/gui/price-axis-widget.ts:351
↓ 3 callersMethodresize
(width: number, height: number, forceRepaint: boolean = false)
src/gui/chart-widget.ts:194
↓ 3 callersFunctionresizeHandler
website/tutorials/vuejs/assets/web-component.js:47
↓ 3 callersMethodseries
()
plugin-examples/src/plugins/delta-tooltip/delta-tooltip.ts:132
↓ 3 callersMethodseries
()
src/plugins/types.ts:16
↓ 3 callersMethodseriesType
()
src/api/series-api.ts:229
↓ 3 callersMethodsetAutoScale
* Sets the auto scale mode of the price scale. * * @param on - If true, enables auto scaling; if false, disables it.
src/api/iprice-scale-api.ts:46
↓ 3 callersMethodsetBaseIndex
(baseIndex: TimePointIndex | null)
src/model/time-scale.ts:716
↓ 3 callersMethodsetPriceScale
(scale: PriceScale | null)
src/model/idata-source.ts:44
↓ 3 callersMethodsetSeriesOrder
* Sets the zero-based index of this series within the pane's series collection, thereby adjusting its rendering order. * * Note: * - The chart m
src/api/iseries-api.ts:364
↓ 3 callersMethodsetWidth
(width: number)
src/model/pane.ts:159
↓ 3 callersMethodsetZorder
(value: number)
src/model/idata-source.ts:42
↓ 3 callersFunctionshouldSubscribeMouseWheel
(options: ChartOptionsInternal<HorzScaleItem>)
src/gui/chart-widget.ts:943
↓ 3 callersFunctionshuffleValuesWithLimit
( arr: T, limit: number )
plugin-examples/src/sample-data.ts:102
↓ 3 callersFunctionsimpleData
()
tests/e2e/coverage/test-cases/panes/pane-api.js:1
↓ 3 callersFunctionsingleValueData
(plotRow: PlotRow)
src/api/get-series-data-creator.ts:28
↓ 3 callersFunctionspeedPxPerMSec
(pos1: TimeAndPosition, pos2: TimeAndPosition, maxSpeed: number)
src/model/kinetic-animation.ts:19
↓ 3 callersMethodstopDrawing
()
plugin-examples/src/plugins/rectangle-drawing-tool/rectangle-drawing-tool.ts:409
↓ 3 callersMethodstopTimeScaleAnimation
()
src/model/chart-model.ts:485
↓ 3 callersMethodsubscribeVisibleTimeRangeChange
* Subscribe to the visible time range change events. * * The argument passed to the handler function is an object with `from` and `to` properties
src/api/itime-scale-api.ts:166
↓ 3 callersFunctionsubtract
(p1: LinePoint, p2: LinePoint)
src/renderers/walk-line.ts:154
↓ 3 callersFunctionsuggestPriceScaleWidth
(originalWidth: number)
src/gui/internal-layout-sizes-hints.ts:18
↓ 3 callersMethodtext
* @returns text of the label
src/model/iseries-primitive.ts:30
↓ 3 callersMethodtickSpan
(high: number, low: number)
src/model/price-tick-mark-builder.ts:31
↓ 3 callersMethodtickSpan
(high: number, low: number, maxTickSpan: number)
src/model/price-tick-span-calculator.ts:38
↓ 3 callersMethodtimeAxisViews
()
src/model/idata-source.ts:56
↓ 3 callersFunctiontouchWithId
(touches: TouchList, id: number)
src/gui/mouse-event-handler.ts:863
↓ 3 callersMethodunsubscribeClick
* Unsubscribe a handler that was previously subscribed using {@link subscribeClick}. * * @param handler - Previously subscribed handler * @examp
src/api/ichart-api.ts:219
↓ 3 callersMethodupdateCrosshair
()
src/model/chart-model.ts:941
↓ 3 callersMethodupdatePriceAxisWidgetsStates
()
src/gui/pane-widget.ts:206
↓ 3 callersFunctionupperBoundByX
(items: readonly T[], value: number, from: number, to: number)
src/renderers/hit-test-common.ts:27
↓ 3 callersMethodvisibleStrictRange
()
src/model/time-scale.ts:459
↓ 3 callersFunctionvisibleTimedValues
(items: TimedValue[], range: RangeImpl<TimePointIndex>, extendedRange: boolean)
src/model/time-data.ts:80
↓ 3 callersFunctionwarn
(msg: string)
src/helpers/logger.ts:3
↓ 3 callersFunctionwrite
(dir: string, file: string, content?: string)
packages/create-lwc-plugin/src/index.ts:65
↓ 3 callersMethodyMidCorrection
(ctx: CanvasCtxLike, text: string, optimizationReplacementRe?: RegExp)
src/model/text-width-cache.ts:31
↓ 2 callersFunctionS
(t,e,n)
website/src/theme/analytics-tracker.js:1
↓ 2 callersMethod_addPane
(index?: number)
src/model/chart-model.ts:1195
↓ 2 callersMethod_addResizableHandle
()
src/gui/pane-separator.ts:116
↓ 2 callersMethod_addSeriesImpl
( definition: SeriesDefinition<TSeries>, options: SeriesPartialOptionsMap[TSeries] = {}, paneIndex: numb
src/api/chart-api.ts:382
↓ 2 callersMethod_addSeriesToPane
(series: Series<SeriesType>, pane: Pane)
src/model/chart-model.ts:1253
↓ 2 callersMethod_alignTickMarkLabelCoordinate
(ctx: CanvasRenderingContext2D, coordinate: number, labelText: string)
src/gui/time-axis-widget.ts:444
↓ 2 callersMethod_animationData
(durationSinceStart: number, lineColor: string)
src/views/pane/series-last-price-animation-pane-view.ts:224
↓ 2 callersMethod_applyMomentaryAutoScale
(invalidateMask: InvalidateMask)
src/gui/chart-widget.ts:670
↓ 2 callersMethod_applyTimeScaleInvalidations
(invalidateMask: InvalidateMask, time: number)
src/gui/chart-widget.ts:664
↓ 2 callersMethod_autoscaleInfoImpl
(startTimePoint: TimePointIndex, endTimePoint: TimePointIndex)
src/model/series.ts:644
↓ 2 callersMethod_backLabels
()
src/gui/price-axis-widget.ts:480
↓ 2 callersMethod_barSpacing
()
plugin-examples/src/plugins/highlight-bar-crosshair/highlight-bar-crosshair.ts:149
↓ 2 callersMethod_baseFont
()
src/gui/time-axis-widget.ts:479
↓ 2 callersMethod_baseFont
()
src/gui/price-axis-widget.ts:750
↓ 2 callersMethod_buildChunksFromData
( data: readonly SeriesPlotRow<T>[], mergeFactor: number, customReducer?: CustomConflationReducer<HorzSc
src/model/data-conflater.ts:211
↓ 2 callersMethod_buildConflatedListByFactor
(factor: number)
src/model/series.ts:796
↓ 2 callersMethod_checkPinchState
(touches: TouchList)
src/gui/mouse-event-handler.ts:698
↓ 2 callersMethod_checkRightOffsetPixels
(options: DeepPartial<HorzScaleOptions>)
src/model/time-scale.ts:1247
↓ 2 callersMethod_chunkToSeriesPlotRow
(chunk: ConflatedChunk, isCustomSeries: boolean = false)
src/model/data-conflater.ts:395
↓ 2 callersMethod_chunksToSeriesPlotRows
( chunks: ConflatedChunk[], isCustomSeries: boolean = false )
src/model/data-conflater.ts:423
↓ 2 callersMethod_cleanupIfPaneIsEmpty
(pane: Pane)
src/model/chart-model.ts:1276
↓ 2 callersMethod_clearCommonTransitionsStartState
()
src/model/time-scale.ts:1143
↓ 2 callersMethod_clearCrosshairPosition
()
src/gui/pane-widget.ts:658
↓ 2 callersMethod_color
(seriesLineColor: string, stage: number, startAlpha: number, endAlpha: number)
src/views/pane/series-last-price-animation-pane-view.ts:216
↓ 2 callersMethod_computeBoundaryPriceMark
( firstValue: number, coord: number, minPadding: number, maxPadding: number )
src/model/price-tick-mark-builder.ts:214
↓ 2 callersMethod_createBrowser
()
tests/e2e/graphics/helpers/screenshoter.ts:181
↓ 2 callersMethod_createMarkerRenderersIfNeeded
()
src/views/pane/crosshair-marks-pane-view.ts:64
↓ 2 callersMethod_createRawItem
(time: TimePointIndex, price: BarPrice, colorer: ISeriesBarColorer<'Line'>)
src/model/series/line-pane-view.ts:11
↓ 2 callersMethod_defaultPriceScalePair
()
src/model/pane.ts:499
↓ 2 callersMethod_destroySeparator
(separator: PaneSeparator)
src/gui/chart-widget.ts:738
← previousnext →501–600 of 4,839, ranked by callers