MCPcopy Create free account

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

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

↓ 12 callersMethodchart
()
plugin-examples/src/plugins/expiring-price-alerts/iexpiring-price-alerts.ts:15
↓ 12 callersFunctioncheckVisibleRange
( { timeRange: oldTimeRange, logicalRange: oldLogicalRange }, what )
tests/e2e/graphics/test-cases/time-scale/add-data-to-right-two-series.js:80
↓ 12 callersFunctioncheckVisibleRange
( { timeRange: oldTimeRange, logicalRange: oldLogicalRange }, what )
tests/e2e/graphics/test-cases/time-scale/add-data-to-left-two-series.js:80
↓ 12 callersFunctiondefaultTickMarkFormatter
(timePoint: TimePoint, tickMarkType: TickMarkType, locale: string)
src/model/horz-scale-behavior-time/default-tick-mark-formatter.ts:5
↓ 12 callersFunctiondoMouseScroll
( deltas: MouseScrollDelta, page: Page )
tests/e2e/helpers/mouse-scroll-actions.ts:24
↓ 12 callersFunctionensureTimestampData
( data: WithTime<T>[] )
indicator-examples/src/helpers/timestamp-data.ts:5
↓ 12 callersMethodisPercentage
()
src/model/price-scale.ts:332
↓ 12 callersMethodrequestUpdate
()
plugin-examples/src/plugins/image-watermark/image-watermark.ts:151
↓ 12 callersMethodright
()
src/model/range-impl.ts:18
↓ 11 callersMethodapplyOptions
(options: Partial<WeightedCloseCalculationOptions>)
indicator-examples/src/indicators/weighted-close/weighted-close.ts:18
↓ 11 callersMethodcoordinateToLogical
* Converts a coordinate to logical index. * * @param x - Coordinate needs to be converted * @returns Logical index that is located on that coord
src/api/itime-scale-api.ts:111
↓ 11 callersFunctiondataItem
(time, value)
tests/e2e/graphics/test-cases/initial-options/tick-marks-formatter-2.js:1
↓ 11 callersFunctiondataItem
(time, value)
tests/e2e/graphics/test-cases/initial-options/time-formatter-2.js:1
↓ 11 callersFunctionmakeFont
(size: number, family?: string, style?: string)
src/helpers/make-font.ts:16
↓ 11 callersMethodsetStretchFactor
* Sets the stretch factor of the pane. * When you creating a pane, the stretch factor is 1 by default. * So if you have three panes, and you want
src/api/ipane-api.ts:119
↓ 11 callersFunctiontime
(dateTimeStr: string)
tests/unittests/default-tick-mark-formatter.spec.ts:8
↓ 11 callersMethodvalueAt
(index: TimePointIndex)
src/model/plot-list.ts:71
↓ 11 callersFunctionvisibleTimedValuesCase
( rangeFrom: number, rangeTo: number, extendedRange: boolean, expectedFrom: number, expectedTo: number,
tests/unittests/timed-data.spec.ts:9
↓ 10 callersMethodbarStyle
(barIndex: TimePointIndex, precomputedBars?: PrecomputedBars)
src/model/series-bar-colorer.ts:93
↓ 10 callersMethodbars
()
src/model/iseries.ts:74
↓ 10 callersFunctioncreateLineData
(time: number, value: number)
tests/unittests/conflation-integration.spec.ts:46
↓ 10 callersMethoddefaultPriceScale
()
src/model/pane.ts:300
↓ 10 callersMethodfullUpdate
()
src/model/chart-model.ts:549
↓ 10 callersMethodgetBitmapSize
()
src/gui/pane-widget.ts:453
↓ 10 callersFunctiongetPosition
(eventLike: Touch | MouseEvent)
src/gui/mouse-event-handler.ts:851
↓ 10 callersMethodhasListeners
()
src/helpers/delegate.ts:38
↓ 10 callersMethodhitTest
(x: number, y: number, pane?: Pane)
src/views/pane/ipane-view.ts:7
↓ 10 callersMethodindexToCoordinate
(index: TimePointIndex)
src/model/time-scale.ts:299
↓ 10 callersFunctionisBusinessDay
(time: Time)
src/model/horz-scale-behavior-time/types.ts:69
↓ 10 callersMethodisIndexedTo100
()
src/model/price-scale.ts:336
↓ 10 callersMethodpriceRange
()
src/model/price-scale.ts:441
↓ 10 callersFunctionquartileDataPoint
( q0: number, q1: number, q2: number, q3: number, q4: number, basePoint: number )
plugin-examples/src/plugins/box-whisker-series/sample-data.ts:28
↓ 10 callersFunctionquartileDataPoint
(q0, q1, q2, q3, q4, basePoint)
tests/e2e/interactions/test-cases/plugins/custom-series-mouse-params.js:3
↓ 10 callersFunctionquartileDataPoint
(q0, q1, q2, q3, q4, basePoint)
tests/e2e/coverage/test-cases/plugins/custom-series-conflation.js:3
↓ 10 callersFunctionquartileDataPoint
(q0, q1, q2, q3, q4, basePoint)
tests/e2e/coverage/test-cases/plugins/custom-series.js:3
↓ 10 callersFunctionquartileDataPoint
(q0, q1, q2, q3, q4, basePoint)
tests/e2e/graphics/test-cases/plugins/custom-series.js:3
↓ 9 callersMethod_processMouseEvent
(event: MouseEventHandlerMouseEvent, callback?: HandlerMouseEventCallback)
src/gui/mouse-event-handler.ts:788
↓ 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:110
↓ 9 callersMethodchartElement
* Returns the generated div element containing the chart. This can be used for adding your own additional event listeners, or for measuring the * el
src/api/ichart-api.ts:363
↓ 9 callersFunctionchartModelMock
()
tests/unittests/time-scale.spec.ts:15
↓ 9 callersMethodcontains
(index: TimePointIndex)
src/model/plot-list.ts:67
↓ 9 callersMethodcoordinate
* The desired coordinate for the label. Note that the label will be automatically moved to prevent overlapping with other labels. If you would like th
src/model/iseries-primitive.ts:16
↓ 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:135
↓ 9 callersMethoddetachPrimitive
* Detaches additional drawing primitive from the pane * * @param primitive - implementation of IPanePrimitive interface attached before * Does n
src/api/ipane-api.ts:69
↓ 9 callersMethodisAutoScale
()
src/model/price-scale.ts:320
↓ 9 callersMethodisLog
()
src/model/price-scale.ts:328
↓ 9 callersMethodpopSeriesData
(series: Series<TSeriesType>, count: number)
src/model/data-layer.ts:338
↓ 9 callersMethodrecalculateAllPanes
()
src/model/chart-model.ts:1000
↓ 9 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:131
↓ 9 callersMethodresize
* Sets fixed size of the chart. By default chart takes up 100% of its container. * * If chart has the `autoSize` option enabled, and the ResizeObs
src/api/ichart-api.ts:143
↓ 9 callersMethodsetPriceRange
(newPriceRange: PriceRangeImpl | null, isForceSetValue?: boolean)
src/model/price-scale.ts:446
↓ 9 callersMethodshift
(delta: number)
src/model/price-range-impl.ts:86
↓ 9 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:198
↓ 9 callersMethodupdateAllViews
()
src/model/idata-source.ts:46
↓ 9 callersFunctionwhitespaceItemAt
(time: Time)
tests/unittests/data-layer.spec.ts:50
↓ 8 callersMethod_correctOffset
()
src/model/time-scale.ts:1100
↓ 8 callersMethodattached
* Attached Lifecycle hook. * * @param param - An object containing useful references for the attached primitive to use. * @returns void
src/model/ipane-primitive.ts:155
↓ 8 callersFunctioncandlestickDataAt
(time: Time, open: number, high: number, low: number, close: number)
tests/unittests/data-layer.spec.ts:56
↓ 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 callersMethodclose
()
tests/e2e/graphics/helpers/screenshoter.ts:32
↓ 8 callersFunctioncreateTestData
(count: number, baseTime: number = 1000)
tests/unittests/conflation.spec.ts:44
↓ 8 callersMethoddataSources
()
src/model/pane.ts:195
↓ 8 callersFunctionensure
(value: T | undefined | null)
src/helpers/assertions.ts:56
↓ 8 callersMethodfullUpdate
()
src/model/chart-model.ts:450
↓ 8 callersMethodlight
()
src/model/invalidate-mask.ts:164
↓ 8 callersMethodmarks
()
src/model/time-scale.ts:295
↓ 8 callersMethodmodel
()
src/gui/chart-widget.ts:141
↓ 8 callersMethodoptions
* Returns currently applied options * * @returns Full set of currently applied options, including defaults
src/api/iseries-api.ts:126
↓ 8 callersMethodoptions
()
src/plugins/types.ts:18
↓ 8 callersMethodorderedSources
()
src/model/pane.ts:369
↓ 8 callersFunctionprecisionByMinMove
(minMove: number)
src/model/series-options.ts:618
↓ 8 callersMethodrecalculatePriceScale
(priceScale: PriceScale | null)
src/model/pane.ts:333
↓ 8 callersMethodsetCrosshairPosition
* Set the crosshair position within the chart. * * Usually the crosshair position is set automatically by the user's actions. However in some case
src/api/ichart-api.ts:375
↓ 8 callersFunctionsetElementText
(element: HTMLDivElement | null, text: string)
plugin-examples/src/plugins/tooltip/tooltip-element.ts:199
↓ 8 callersMethodsetHeight
* Sets the height of the pane. * * @param height - The number of pixels to set as the height of the pane.
src/api/ipane-api.ts:26
↓ 8 callersMethodsetRightOffset
(offset: number)
src/model/time-scale.ts:587
↓ 8 callersMethodtakeScreenshot
* Make a screenshot of the chart with all the elements excluding crosshair. * * @param addTopLayer - if true, the top layer and primitives will be
src/api/ichart-api.ts:318
↓ 8 callersFunctiontsUpdate
(to: number)
tests/unittests/time-scale.spec.ts:23
↓ 8 callersMethodvisibleStrictRange
()
src/model/time-scale.ts:300
↓ 7 callersMethod_onMouseEvent
()
src/gui/pane-widget.ts:707
↓ 7 callersMethod_processTouchEvent
(event: MouseEventHandlerTouchEvent, callback?: HandlerTouchEventCallback)
src/gui/mouse-event-handler.ts:782
↓ 7 callersMethod_setCrosshairPosition
(x: Coordinate, y: Coordinate, event: MouseEventHandlerEventBase)
src/gui/pane-widget.ts:651
↓ 7 callersFunctionawaitNewFrame
()
tests/e2e/coverage/test-cases/time-scale/general.js:35
↓ 7 callersFunctionawaitNewFrame
()
tests/e2e/coverage/test-cases/series/dashed-line-color-change.js:5
↓ 7 callersFunctioncast
(t: InternalHorzScaleItem)
src/model/horz-scale-behavior-time/time-scale-point-weight-generator.ts:53
↓ 7 callersMethodcolorParser
()
src/model/chart-model.ts:494
↓ 7 callersFunctioncreateBoundCanvas
(parentElement: HTMLElement, size: Size)
src/gui/canvas-utils.ts:9
↓ 7 callersFunctioncreateMockSeries
( seriesType: TSeriesType = 'Line' as TSeriesType, isConflated: boolean = false )
tests/unittests/conflation-integration.spec.ts:17
↓ 7 callersFunctiondataItem
(date, val)
tests/e2e/graphics/test-cases/initial-options/tick-marks-formatter.js:1
↓ 7 callersMethoddraw
(target: CanvasRenderingTarget2D, isHovered: boolean, hitTestData?: unknown)
src/renderers/ipane-renderer.ts:7
↓ 7 callersFunctiongetCustomData
(row: SeriesPlotRow<'Custom'>)
tests/unittests/conflation.spec.ts:76
↓ 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 callersFunctiongetSeriesPlotRowCreator
(seriesType: TSeriesType)
src/model/get-series-plot-row-creator.ts:155
↓ 7 callersMethodgetVisibleRange
* Returns current visible time range of the chart. * * Note that this method cannot extrapolate time and will use the only currently existent data
src/api/itime-scale-api.ts:48
↓ 7 callersFunctionisNumber
(value: unknown)
src/helpers/strict-type-checks.ts:37
↓ 7 callersFunctionnormalizePath
(filePath)
scripts/check-markdown-links.js:121
↓ 7 callersFunctionreleaseCanvas
(canvas: HTMLCanvasElement)
src/gui/canvas-utils.ts:28
↓ 7 callersMethodrows
()
src/model/plot-list.ts:87
← previousnext →101–200 of 4,839, ranked by callers