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
↓ 3 callers
Method
scrollTimeTo
(x: Coordinate)
src/model/chart-model.ts:651
↓ 3 callers
Method
setAndSaveCurrentPosition
(x: Coordinate, y: Coordinate, pane: Pane)
src/model/chart-model.ts:674
↓ 3 callers
Method
setBaseIndex
(baseIndex: TimePointIndex | null)
src/model/time-scale.ts:645
↓ 3 callers
Method
setPoints
* Sets or replaces series data. * * @param points - Points of the line tool. Old points get replaced by new ones
src/api/iline-tool-api.ts:27
↓ 3 callers
Method
setPriceScale
(scale: PriceScale | null)
src/model/idata-source.ts:12
↓ 3 callers
Method
setWidth
(width: number)
src/model/pane.ts:147
↓ 3 callers
Function
speedPxPerMSec
(pos1: TimeAndPosition, pos2: TimeAndPosition, maxSpeed: number)
src/gui/kinetic-animation.ts:19
↓ 3 callers
Method
subscribeSizeChange
* 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:215
↓ 3 callers
Method
subscribeVisibleTimeRangeChange
* 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:165
↓ 3 callers
Method
takeScreenshot
* Make a screenshot of the chart with all the elements excluding crosshair. * * @returns A canvas with the chart drawn on. Any `Canvas` methods li
src/api/ichart-api.ts:388
↓ 3 callers
Method
text
()
src/views/price-axis/iprice-axis-view.ts:16
↓ 3 callers
Method
tickSpan
(high: number, low: number, maxTickSpan: number)
src/model/price-tick-span-calculator.ts:38
↓ 3 callers
Function
touchWithId
(touches: TouchList, id: number)
src/gui/mouse-event-handler.ts:888
↓ 3 callers
Method
updatePriceAxisWidgetsStates
()
src/gui/pane-widget.ts:207
↓ 2 callers
Method
_alignTickMarkLabelCoordinate
(ctx: CanvasRenderingContext2D, coordinate: number, labelText: string)
src/gui/time-axis-widget.ts:385
↓ 2 callers
Method
_applyMomentaryAutoScale
(invalidateMask: InvalidateMask)
src/gui/chart-widget.ts:526
↓ 2 callers
Method
_applyTimeScaleInvalidations
(invalidateMask: InvalidateMask)
src/gui/chart-widget.ts:519
↓ 2 callers
Method
_autoscaleInfoImpl
(startTimePoint: TimePointIndex, endTimePoint: TimePointIndex)
src/model/series.ts:476
↓ 2 callers
Method
_axisPoints
()
src/model/line-tool-parallel-channel.ts:120
↓ 2 callers
Method
_backLabels
()
src/gui/price-axis-widget.ts:373
↓ 2 callers
Method
_baseFont
()
src/gui/time-axis-widget.ts:423
↓ 2 callers
Method
_calculateScaledBorderWidth
(pixelRatio: number)
src/renderers/circle-renderer.ts:100
↓ 2 callers
Method
_checkPinchState
(touches: TouchList)
src/gui/mouse-event-handler.ts:723
↓ 2 callers
Method
_clearCommonTransitionsStartState
()
src/model/time-scale.ts:984
↓ 2 callers
Method
_convertMouseParams
(param: MouseEventParamsImpl)
src/api/chart-api.ts:660
↓ 2 callers
Method
_correctArrowPoints
(point0: Point, point1: Point, lineWidth: number, lineCap: LineCap)
src/renderers/polygon-renderer.ts:118
↓ 2 callers
Method
_correctLastPoint
(point2: LineToolPoint)
src/model/line-tool-parallel-channel.ts:135
↓ 2 callers
Method
_createRawItem
(time: TimePointIndex, price: BarPrice, colorer: SeriesBarColorer)
src/views/pane/line-pane-view.ts:48
↓ 2 callers
Method
_doFixLeftEdge
()
src/model/time-scale.ts:1058
↓ 2 callers
Method
_drawLabels
(sources: readonly IDataSource[], ctx: CanvasRenderingContext2D, pixelRatio: number)
src/gui/time-axis-widget.ts:399
↓ 2 callers
Method
_drawPoints
(ctx: CanvasRenderingContext2D, pixelRatio: number, points: AnchorPoint[], colors: string[], drawBody: DrawCal
src/renderers/line-anchor-renderer.ts:112
↓ 2 callers
Method
_drawSources
(ctx: CanvasRenderingContext2D, pixelRatio: number, paneViewsGetter: PaneViewsGetter)
src/gui/pane-widget.ts:636
↓ 2 callers
Method
_duration
()
src/views/pane/series-last-price-animation-pane-view.ts:238
↓ 2 callers
Method
_endScroll
(event: TouchMouseEvent)
src/gui/pane-widget.ts:779
↓ 2 callers
Method
_extendAndClipLineSegment
(end0: Point, end1: Point, physicalWidth: number)
src/renderers/rectangle-renderer.ts:91
↓ 2 callers
Method
_extendAndClipLineSegment
(end0: Point, end1: Point, physicalWidth: number)
src/renderers/fib-retracement-renderer.ts:92
↓ 2 callers
Method
_extendAndClipLineSegment
(end0: Point, end1: Point, physicalWidth: number)
src/renderers/price-range-renderer.ts:176
↓ 2 callers
Method
_extendAndClipLineSegment
(end0: Point, end1: Point)
src/renderers/parallel-channel-renderer.ts:95
↓ 2 callers
Method
_extendAndClipLineSegment
(end0: Point, end1: Point)
src/renderers/segment-renderer.ts:82
↓ 2 callers
Method
_extendAndHitTestLineSegment
(point: Point, end0: Point, end1: Point, physicalWidth: number)
src/renderers/rectangle-renderer.ts:102
↓ 2 callers
Method
_extendAndHitTestLineSegment
(point: Point, end0: Point, end1: Point, physicalWidth: number)
src/renderers/fib-retracement-renderer.ts:103
↓ 2 callers
Method
_extendAndHitTestLineSegment
(point: Point, end0: Point, end1: Point, physicalWidth: number)
src/renderers/price-range-renderer.ts:187
↓ 2 callers
Method
_fontHeight
()
src/model/price-tick-mark-builder.ts:130
↓ 2 callers
Method
_formatLabel
(time: TimePoint, weight: number)
src/model/time-scale.ts:988
↓ 2 callers
Method
_getBoxSize
()
src/renderers/text-renderer.ts:379
↓ 2 callers
Method
_getBoxSize
(text?: string)
src/renderers/market-depth-renderer.ts:489
↓ 2 callers
Method
_getCoordinateTransformer
()
src/model/price-scale.ts:997
↓ 2 callers
Method
_getFontInfo
()
src/renderers/text-renderer.ts:369
↓ 2 callers
Method
_getFontInfo
()
src/renderers/market-depth-renderer.ts:480
↓ 2 callers
Method
_getLinesInfo
()
src/renderers/text-renderer.ts:351
↓ 2 callers
Method
_getLinesInfo
(text?: string)
src/renderers/market-depth-renderer.ts:461
↓ 2 callers
Method
_getMouseEventParamsImpl
(index: TimePointIndex | null, point: Point | null)
src/gui/chart-widget.ts:637
↓ 2 callers
Method
_getPointsInPhysicalSpace
(pixelRatio: number)
src/renderers/rectangle-renderer.ts:77
↓ 2 callers
Method
_getPointsInPhysicalSpace
(pixelRatio: number)
src/renderers/fib-retracement-renderer.ts:78
↓ 2 callers
Method
_getPolygonPoints
()
src/renderers/text-renderer.ts:391
↓ 2 callers
Method
_getPolygonPoints
(text?: string)
src/renderers/market-depth-renderer.ts:500
↓ 2 callers
Method
_getRotationPoint
()
src/renderers/text-renderer.ts:409
↓ 2 callers
Method
_getRotationPoint
(text?: string, xPos?: number, yPos?: number)
src/renderers/market-depth-renderer.ts:517
↓ 2 callers
Method
_getText
(textOptions: TextOptions, points: AnchorPoint[], isPtRectangle: boolean = false)
src/views/pane/long-short-position-pane-view.ts:206
↓ 2 callers
Method
_invalidateTickMarks
()
src/model/time-scale.ts:1038
↓ 2 callers
Method
_isOverlay
()
src/model/series.ts:471
↓ 2 callers
Method
_mapSeriesToApi
(series: Series)
src/api/chart-api.ts:652
↓ 2 callers
Method
_mouseTouchDownEvent
()
src/gui/pane-widget.ts:834
↓ 2 callers
Method
_pressedMouseTouchMoveEvent
(event: TouchMouseEvent)
src/gui/pane-widget.ts:860
↓ 2 callers
Method
_preventCrosshairMove
()
src/gui/pane-widget.ts:721
↓ 2 callers
Method
_recalculateMarkers
()
src/model/series.ts:569
↓ 2 callers
Method
_recreateFormatter
()
src/model/series.ts:541
↓ 2 callers
Method
_recreateTickMarksCache
(options: PriceAxisViewRendererOptions)
src/gui/price-axis-widget.ts:646
↓ 2 callers
Method
_saveCommonTransitionsStartState
()
src/model/time-scale.ts:977
↓ 2 callers
Method
_search
(index: TimePointIndex, searchMode: PlotRowSearchMode)
src/model/plot-list.ts:111
↓ 2 callers
Method
_setBarSpacing
(newBarSpacing: number)
src/model/time-scale.ts:879
↓ 2 callers
Method
_setCursor
(type: CursorType)
src/gui/time-axis-widget.ts:463
↓ 2 callers
Method
_setCursor
(type: CursorType)
src/gui/price-axis-widget.ts:630
↓ 2 callers
Method
_setVisibleRange
(newVisibleRange: TimeScaleVisibleRange)
src/model/time-scale.ts:1018
↓ 2 callers
Method
_syncGuiWithModel
()
src/gui/chart-widget.ts:587
↓ 2 callers
Method
_terminateKineticAnimation
()
src/gui/pane-widget.ts:953
↓ 2 callers
Method
_tickMarkHeight
()
src/model/price-tick-mark-builder.ts:134
↓ 2 callers
Method
_tryExitTrackingMode
()
src/gui/pane-widget.ts:749
↓ 2 callers
Method
_updateBorderColor
()
src/gui/pane-separator.ts:101
↓ 2 callers
Method
_updateGui
()
src/gui/chart-widget.ts:578
↓ 2 callers
Method
_updateImpl
(height: number, width: number)
src/views/pane/text-pane-view.ts:20
↓ 2 callers
Method
_updateVisibleRange
()
src/model/time-scale.ts:891
↓ 2 callers
Method
addLineTool
(name: T, points: LineToolPoint[], options?: LineToolPartialOptionsMap[T])
src/api/chart-api.ts:349
↓ 2 callers
Function
addPoint
(array: Point[], point: Point)
src/model/interesection.ts:4
↓ 2 callers
Function
addWhitespaceToLeft
(data, areaSeries)
tests/e2e/graphics/test-cases/time-scale/add-data-to-left-two-series.js:68
↓ 2 callers
Function
addWhitespaceToRight
(data, areaSeries)
tests/e2e/graphics/test-cases/time-scale/add-data-to-right-two-series.js:68
↓ 2 callers
Method
align
(price: number, index: TimePointIndex, pane: Pane)
src/model/magnet.ts:27
↓ 2 callers
Method
animationActive
()
src/views/pane/series-last-price-animation-pane-view.ts:169
↓ 2 callers
Function
animationData
(durationSinceStart: number, lineColor: string)
src/views/pane/series-last-price-animation-pane-view.ts:100
↓ 2 callers
Method
applyOptions
(options: DeepPartial<ChartOptionsInternal>)
src/model/chart-model.ts:421
↓ 2 callers
Method
applyOptions
(options: LineToolPartialOptionsMap[TLineToolType])
src/api/line-tool-api.ts:19
↓ 2 callers
Method
applyRange
(range: LogicalRange)
src/model/invalidate-mask.ts:99
↓ 2 callers
Method
applyScaleOptions
(options: DeepPartial<ChartOptions>)
src/model/pane.ts:75
↓ 2 callers
Function
areRangesEqual
(first: RangeImpl<T> | null, second: RangeImpl<T> | null)
src/model/range-impl.ts:35
↓ 2 callers
Method
backgroundTopColor
()
src/model/chart-model.ts:908
↓ 2 callers
Method
baseFont
()
src/gui/price-axis-widget.ts:149
↓ 2 callers
Function
businessDayConverter
(time: Time)
src/api/data-layer.ts:24
↓ 2 callers
Function
calculateShapeHeight
(barSpacing: number)
src/renderers/series-markers-utils.ts:29
↓ 2 callers
Function
ceiledOdd
(x: number)
src/helpers/mathex.ts:55
↓ 2 callers
Function
checkItemsAreOrdered
(data: readonly (SeriesMarker<Time> | SeriesDataItemTypeMap[SeriesType])[], allowDuplicates: boolean = false)
src/api/data-validators.ts:19
← previous
next →
401–500 of 2,222, ranked by callers