MCPcopy Create free account

hub / github.com/difurious/lightweight-charts-line-tools / functions

Functions2,222 in github.com/difurious/lightweight-charts-line-tools

↓ 10 callersFunctionisNumber
(value: unknown)
src/helpers/strict-type-checks.ts:116
↓ 10 callersMethodremoveSeries
* 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 callersMethodtoolType
* Return current series type. * * @returns Type of the lineTool.
src/api/iline-tool-api.ts:34
↓ 10 callersMethodupdateFormatter
()
src/model/price-scale.ts:791
↓ 10 callersMethodupdateSource
(source: IPriceDataSource)
src/model/chart-model.ts:387
↓ 9 callersMethod_processMouseEvent
(event: MouseEventHandlerMouseEvent, callback?: HandlerMouseEventCallback)
src/gui/mouse-event-handler.ts:813
↓ 9 callersMethodbars
()
src/model/series.ts:331
↓ 9 callersMethodbarsInLogicalRange
* 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 callersFunctionchartModelMock
()
tests/unittests/time-scale.spec.ts:15
↓ 9 callersMethodcoordinateToTime
* 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 callersMethodcrosshairSource
()
src/model/chart-model.ts:504
↓ 9 callersMethoddataSources
()
src/model/pane.ts:171
↓ 9 callersMethodrecalculateAllPanes
()
src/model/chart-model.ts:782
↓ 9 callersMethodscrollToPosition
* 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 callersMethodtimestampRangeFromVisibleLogicalRange
* 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 callersMethod_correctOffset
()
src/model/time-scale.ts:940
↓ 8 callersMethod_propagateEvent
(type: InputEventType, event: TouchMouseEvent)
src/gui/pane-widget.ts:568
↓ 8 callersMethod_setCrosshairPosition
(x: Coordinate, y: Coordinate)
src/gui/pane-widget.ts:737
↓ 8 callersMethodbarStyle
(barIndex: TimePointIndex, precomputedBars?: PrecomputedBars)
src/model/series-bar-colorer.ts:40
↓ 8 callersMethodcalculateThirdPoint
(ptPoint: LineToolPoint, initialCreation: boolean = false)
src/model/line-tool-long-short-position.ts:188
↓ 8 callersFunctioncheckVisibleRange
( { timeRange: oldTimeRange, logicalRange: oldLogicalRange }, what )
tests/e2e/graphics/test-cases/time-scale/add-data-to-left.js:65
↓ 8 callersFunctioncheckVisibleRange
( { timeRange: oldTimeRange, logicalRange: oldLogicalRange }, what )
tests/e2e/graphics/test-cases/time-scale/add-data-to-right.js:68
↓ 8 callersMethodcontains
(index: TimePointIndex)
src/model/plot-list.ts:54
↓ 8 callersMethodgetSize
()
src/gui/pane-widget.ts:454
↓ 8 callersMethodheight
* Returns a height of the time scale.
src/api/itime-scale-api.ts:144
↓ 8 callersFunctionpointInBox
(point: Point, box: Box)
src/model/interesection.ts:166
↓ 8 callersMethodpriceRange
()
src/model/price-scale.ts:392
↓ 8 callersMethodrecalculatePriceScale
(priceScale: PriceScale | null)
src/model/pane.ts:316
↓ 8 callersFunctiontsUpdate
(to: number)
tests/unittests/time-scale.spec.ts:23
↓ 8 callersMethodupdateAllViews
()
src/model/idata-source.ts:14
↓ 8 callersFunctionwhitespaceItemAt
(time: Time)
tests/unittests/data-layer.spec.ts:32
↓ 7 callersMethod_makeValid
()
src/views/pane/series-markers-pane-view.ts:167
↓ 7 callersMethod_processTouchEvent
(event: MouseEventHandlerTouchEvent, callback?: HandlerTouchEventCallback)
src/gui/mouse-event-handler.ts:807
↓ 7 callersMethodbarColorer
()
src/model/series.ts:204
↓ 7 callersMethodclose
()
tests/e2e/graphics/helpers/screenshoter.ts:36
↓ 7 callersMethodcoordinateToIndex
(x: Coordinate)
src/model/time-scale.ts:463
↓ 7 callersFunctioncreateBoundCanvas
(parentElement: HTMLElement, size: Size)
src/gui/canvas-utils.ts:49
↓ 7 callersFunctiondataItem
(date, val)
tests/e2e/graphics/test-cases/initial-options/tick-marks-formatter.js:1
↓ 7 callersFunctiongetFontAwareScale
(data: TextRendererData)
src/renderers/text-renderer.ts:552
↓ 7 callersFunctiongetFontAwareScale
(data: MarketDepthRendererData)
src/renderers/market-depth-renderer.ts:659
↓ 7 callersFunctiongetRanges
()
tests/e2e/graphics/test-cases/time-scale/add-data-to-right-two-series.js:73
↓ 7 callersFunctiongetRanges
()
tests/e2e/graphics/test-cases/time-scale/add-data-to-left-two-series.js:73
↓ 7 callersMethodgetVisibleLogicalRange
* 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 callersMethodindexToTime
(index: TimePointIndex)
src/model/time-scale.ts:284
↓ 7 callersFunctionintersectLineSegments
(point0: Point, point1: Point, point2: Point, point3: Point)
src/model/interesection.ts:72
↓ 7 callersMethodisAutoScale
()
src/model/price-scale.ts:279
↓ 7 callersMethodisEmpty
()
src/model/time-scale.ts:329
↓ 7 callersMethodisLog
()
src/model/price-scale.ts:283
↓ 7 callersFunctionlineSegment
(a: Point, b: Point)
src/model/point.ts:130
↓ 7 callersMethodmarks
()
src/model/time-scale.ts:565
↓ 7 callersFunctionmigrateOptions
(options: SeriesPartialOptionsMap[TSeriesType])
src/api/series-api.ts:32
↓ 7 callersMethodorderedSources
()
src/model/pane.ts:352
↓ 7 callersMethodpointsCount
()
src/model/line-tool-path.ts:17
↓ 7 callersFunctionprecisionByMinMove
(minMove: number)
src/model/series-options.ts:491
↓ 7 callersMethodrecalculate
()
src/model/pane.ts:338
↓ 7 callersMethodsetPriceRange
(newPriceRange: PriceRangeImpl | null, isForceSetValue?: boolean)
src/model/price-scale.ts:397
↓ 7 callersMethodsetRightOffset
(offset: number)
src/model/time-scale.ts:538
↓ 7 callersMethodsize
()
src/model/plot-list.ts:46
↓ 7 callersMethodunsubscribe
(callback: Callback<T1, T2>)
src/helpers/isubscription.ts:7
↓ 6 callersMethod_firesTouchEvents
(e: MouseEvent)
src/gui/mouse-event-handler.ts:799
↓ 6 callersMethod_makeSureItIsValid
()
src/model/price-scale.ts:846
↓ 6 callersMethod_onMouseEvent
()
src/gui/pane-widget.ts:830
↓ 6 callersMethod_paneInvalidationMask
(pane: Pane | null, level: InvalidationLevel)
src/model/chart-model.ts:945
↓ 6 callersMethod_touchMouseMoveWithDownInfo
(currentPosition: Position, startPosition: Position)
src/gui/mouse-event-handler.ts:371
↓ 6 callersMethodaddDataSource
(source: IPriceDataSource, targetScaleId: string, zOrder?: number)
src/model/pane.ts:183
↓ 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:801
↓ 6 callersMethodcreateSeries
(seriesType: T, options: SeriesOptionsMap[T])
src/model/chart-model.ts:817
↓ 6 callersFunctionensure
(value: T | undefined | null)
src/helpers/assertions.ts:56
↓ 6 callersFunctionfilterByExt
(files, ext)
scripts/githooks/pre-commit/lint.js:79
↓ 6 callersMethodfullUpdate
()
src/model/chart-model.ts:375
↓ 6 callersFunctiongenerateData
()
tests/unittests/data-layer.spec.ts:424
↓ 6 callersFunctiongetScaledFontSize
(data: TextRendererData)
src/renderers/text-renderer.ts:544
↓ 6 callersFunctiongetScaledFontSize
(data: MarketDepthRendererData)
src/renderers/market-depth-renderer.ts:651
↓ 6 callersMethodheight
()
src/model/price-scale.ts:368
↓ 6 callersMethodisCurrentLong
()
src/model/line-tool-long-short-position.ts:35
↓ 6 callersMethodisInverted
()
src/model/price-scale.ts:599
↓ 6 callersMethodisOverlay
(source: IPriceDataSource)
src/model/pane.ts:175
↓ 6 callersMethodmodel
()
src/gui/chart-widget.ts:133
↓ 6 callersFunctionnormalizePath
(filePath)
scripts/check-markdown-links.js:109
↓ 6 callersFunctionpatchPriceFormat
(priceFormat?: DeepPartial<PriceFormat>)
src/api/chart-api.ts:59
↓ 6 callersFunctionpreventDefault
(event: Event)
src/gui/mouse-event-handler.ts:870
↓ 6 callersMethodremove
* 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 callersMethodremoveDataSource
(source: IPriceDataSource)
src/model/pane.ts:188
↓ 6 callersMethodrendererOptions
()
src/gui/price-axis-widget.ts:153
↓ 6 callersMethodrightOffset
()
src/model/time-scale.ts:560
↓ 6 callersFunctionrunESLintForFiles
(files)
scripts/githooks/pre-commit/lint.js:67
↓ 6 callersFunctionrunForSuccess
(cmd)
scripts/compare-size-with-merge-base.js:26
↓ 6 callersMethodsend
(event: 'Input.dispatchMouseEvent', options: MouseWheelEventOptions)
tests/e2e/coverage/coverage.spec.ts:37
↓ 6 callersMethodserieses
()
src/model/chart-model.ts:670
↓ 6 callersMethodsetBarSpacing
(newBarSpacing: number)
src/model/time-scale.ts:550
↓ 6 callersFunctionstringToBusinessDay
(value: string)
src/api/data-layer.ts:70
↓ 6 callersMethodsubscribeVisibleLogicalRangeChange
* 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 callersMethodupdateAllSources
()
src/model/pane.ts:281
↓ 6 callersMethodupdateCrosshair
()
src/model/chart-model.ts:704
↓ 6 callersFunctionwrapWhitespaceData
(createPlotRowFn: (typeof getLineBasedSeriesPlotRow) | (typeof getBarSeriesPlotRow) | (typeof getCandlestickSe
src/api/get-series-plot-row-creator.ts:79
↓ 6 callersFunctionwriteTestDataItem
(fileName: string, fileContent: string | Buffer)
tests/e2e/graphics/graphics-test-cases.ts:123
↓ 6 callersMethodzorder
()
src/model/idata-source.ts:9
↓ 5 callersMethod_bottomMarginPx
()
src/model/price-scale.ts:840
← previousnext →101–200 of 2,222, ranked by callers