Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/klinecharts/KLineChart
/ functions
Functions
787 in github.com/klinecharts/KLineChart
⨍
Functions
787
◇
Types & classes
250
↓ 240 callers
Method
match
src/Store.ts:1390
↓ 156 callers
Function
isValid
(value: T | null | undefined)
src/common/utils/typeChecks.ts:84
↓ 112 callers
Method
setPeriod
(period: Period)
src/Chart.ts:712
↓ 111 callers
Function
init
* Init chart instance * @param ds * @param options * @returns {Chart}
src/index.ts:92
↓ 111 callers
Method
setDataLoader
(dataLoader: DataLoader)
src/Chart.ts:909
↓ 111 callers
Method
setSymbol
(symbol: PickPartial<SymbolInfo, 'pricePrecision' | 'volumePrecision'>)
src/Chart.ts:701
↓ 75 callers
Method
getChart
()
src/Store.ts:1812
↓ 70 callers
Method
getWidget
()
src/pane/SeparatorPane.ts:65
↓ 68 callers
Function
isNumber
(value: unknown)
src/common/utils/typeChecks.ts:80
↓ 62 callers
Method
getChartStore
()
src/Chart.ts:235
↓ 40 callers
Function
isString
(value: unknown)
src/common/utils/typeChecks.ts:92
↓ 38 callers
Method
createIndicator
(value: string | IndicatorCreate, options?: CreateIndicatorOptions)
src/Chart.ts:914
↓ 36 callers
Method
getStyles
()
src/Chart.ts:729
↓ 25 callers
Method
updatePane
(level: UpdateLevel, paneId?: string)
src/Chart.ts:635
↓ 23 callers
Method
createOverlay
(value: string | OverlayCreate | Array<string | OverlayCreate>)
src/Chart.ts:997
↓ 22 callers
Method
dispatchEvent
(name: EventName, event: MouseTouchEvent)
src/view/OverlayView.ts:467
↓ 21 callers
Method
convertToPixel
(points: Partial<Point> | Array<Partial<Point>>, filter?: ConvertFilter)
src/Chart.ts:1226
↓ 21 callers
Function
isFunction
(value: unknown)
src/common/utils/typeChecks.ts:72
↓ 19 callers
Function
formatValue
(data: unknown, key: string, defaultValue?: unknown)
src/common/utils/format.ts:36
↓ 19 callers
Method
getName
()
src/widget/YAxisWidget.ts:48
↓ 18 callers
Method
getDataList
()
src/Chart.ts:905
↓ 18 callers
Method
isDrawing
()
src/component/Overlay.ts:362
↓ 18 callers
Function
merge
(target: any, source: any)
src/common/utils/typeChecks.ts:16
↓ 18 callers
Method
setBounding
(rootBounding: Partial<Bounding>)
src/pane/SeparatorPane.ts:42
↓ 18 callers
Method
setCrosshair
( crosshair?: Nullable<Crosshair>, options?: { notInvalidate?: boolean, notExecuteAction?: boolean, fo
src/Store.ts:1268
↓ 17 callers
Method
_processEvent
(event: MouseTouchEvent, callback?: MouseTouchEventCallback)
src/common/EventHandler.ts:894
↓ 16 callers
Function
formatPrecision
(value: string | number, precision?: number)
src/common/utils/format.ts:100
↓ 16 callers
Method
layout
(options: { sort?: boolean measureHeight?: boolean measureWidth?: boolean secondMeasureWidth?:
src/Chart.ts:346
↓ 15 callers
Method
_makeCompatEvent
(event: MouseEvent | TouchEvent, touch?: Touch)
src/common/EventHandler.ts:898
↓ 15 callers
Method
_makeWidgetEvent
(event: MouseTouchEvent, widget: Nullable<Widget>)
src/Event.ts:815
↓ 15 callers
Method
getIndicatorsByPaneId
(paneId: string)
src/Store.ts:1384
↓ 15 callers
Method
getSymbol
()
src/Chart.ts:708
↓ 14 callers
Method
_findWidgetByEvent
(event: MouseTouchEvent)
src/Event.ts:758
↓ 14 callers
Method
getContainer
()
src/Chart.ts:233
↓ 13 callers
Method
getBarSpace
()
src/Chart.ts:834
↓ 13 callers
Method
getDecimalFold
()
src/Chart.ts:769
↓ 13 callers
Method
getXAxisComponent
()
src/pane/XAxisPane.ts:55
↓ 12 callers
Method
extend
(template: OverlayTemplate<E>)
src/component/Overlay.ts:476
↓ 12 callers
Method
getThousandsSeparator
()
src/Chart.ts:761
↓ 12 callers
Method
override
(overlay: Partial<Overlay<E>>)
src/component/Overlay.ts:288
↓ 11 callers
Function
checkOverlayFigureEvent
( targetEventType: keyof Omit<OverlayEventCollection<unknown>, 'onDrawStart' | 'onDrawing' | 'onDrawEnd' | '
src/component/Overlay.ts:65
↓ 11 callers
Method
getCrosshair
()
src/Store.ts:1308
↓ 11 callers
Method
getInnerFormatter
()
src/Store.ts:469
↓ 11 callers
Function
isArray
(value: unknown)
src/common/utils/typeChecks.ts:67
↓ 10 callers
Method
_getCoordinate
(eventLike: Touch | MouseEvent)
src/common/EventHandler.ts:932
↓ 10 callers
Function
calcTextWidth
(text: string, size?: number, weight?: string | number, family?: string)
src/common/utils/canvas.ts:38
↓ 10 callers
Method
getDrawPaneById
(paneId: string)
src/Chart.ts:222
↓ 10 callers
Function
isObject
(value: unknown)
src/common/utils/typeChecks.ts:76
↓ 10 callers
Method
update
(w: number, h: number)
src/common/Canvas.ts:115
↓ 9 callers
Method
_preventDefault
(event: Event)
src/common/EventHandler.ts:926
↓ 9 callers
Method
clear
()
src/common/TaskScheduler.ts:61
↓ 9 callers
Function
createDom
(tagName: K, styles?: Partial<CSSStyleDeclaration>)
src/common/utils/dom.ts:21
↓ 9 callers
Method
getProgressOverlayInfo
()
src/Store.ts:1609
↓ 9 callers
Function
log10
(value: number)
src/common/utils/number.ts:127
↓ 9 callers
Method
setOptions
(options: PaneOptions)
src/pane/XAxisPane.ts:38
↓ 8 callers
Method
dataIndexToCoordinate
(dataIndex: number)
src/Store.ts:1062
↓ 8 callers
Method
dataIndexToTimestamp
(dataIndex: number)
src/Store.ts:940
↓ 8 callers
Method
getContext
()
src/common/Canvas.ts:134
↓ 8 callers
Function
getPixelRatio
(canvas: HTMLCanvasElement)
src/common/utils/canvas.ts:25
↓ 8 callers
Function
hexToRgb
(hex: string, alpha?: number)
src/common/utils/color.ts:48
↓ 7 callers
Method
convertFromPixel
(coordinates: Array<Partial<Coordinate>>, filter?: ConvertFilter)
src/Chart.ts:1258
↓ 7 callers
Function
createFont
(size?: number, weight?: string | number, family?: string)
src/common/utils/canvas.ts:29
↓ 7 callers
Method
destroy
()
src/common/Canvas.ts:138
↓ 7 callers
Method
getIndicatorsByFilter
(filter: IndicatorFilter)
src/Store.ts:1388
↓ 7 callers
Method
getLayoutBasicParams
()
src/Store.ts:834
↓ 7 callers
Method
getXAxisPane
()
src/Chart.ts:237
↓ 7 callers
Function
index10
(value: number)
src/common/utils/number.ts:139
↓ 7 callers
Method
isContinuousDrawingMode
()
src/component/Overlay.ts:370
↓ 7 callers
Function
logWarn
(api: string, invalidParam: string, append?: string)
src/common/utils/logger.ts:26
↓ 7 callers
Function
roundPrice
(price)
debug/main.js:56
↓ 6 callers
Method
_coordinateToPoint
(o: Overlay, coordinate: Coordinate)
src/view/OverlayView.ts:381
↓ 6 callers
Method
_firesTouchEvents
(e: MouseEvent)
src/common/EventHandler.ts:880
↓ 6 callers
Method
_mouseTouchMoveWithDownInfo
(currentCoordinate: Coordinate, startCoordinate: Coordinate)
src/common/EventHandler.ts:421
↓ 6 callers
Method
_setOptions
(fuc: () => void)
src/Chart.ts:779
↓ 6 callers
Method
drawStandardTooltipFeatures
( ctx: CanvasRenderingContext2D, features: TooltipFeatureStyle[], coordinate: Coordinate, indi
src/view/IndicatorTooltipView.ts:148
↓ 6 callers
Method
getPeriod
()
src/Chart.ts:719
↓ 6 callers
Method
isDrawTooltip
(crosshair: Crosshair, styles: TooltipStyle)
src/view/IndicatorTooltipView.ts:312
↓ 6 callers
Method
isStart
()
src/component/Overlay.ts:366
↓ 6 callers
Function
isTransparent
(color: string)
src/common/utils/color.ts:27
↓ 6 callers
Function
randomBetween
(min, max)
debug/main.js:44
↓ 5 callers
Method
_adjustVisibleRange
()
src/Store.ts:670
↓ 5 callers
Method
_clearLongTapTimeout
()
src/common/EventHandler.ts:573
↓ 5 callers
Method
_createPane
( DrawPaneClass: new (chart: Chart, options: PickRequired<PaneOptions, 'id'>) => P, options: PickRequi
src/Chart.ts:213
↓ 5 callers
Method
executeAction
(type: ActionType, data: Nullable<Crosshair>)
src/Chart.ts:1288
↓ 5 callers
Method
getAxisComponent
()
src/widget/YAxisWidget.ts:44
↓ 5 callers
Method
getOverlaysByPaneId
(paneId?: string)
src/Store.ts:1533
↓ 5 callers
Method
getVisibleRange
()
src/Chart.ts:838
↓ 5 callers
Function
isBoolean
(value: unknown)
src/common/utils/typeChecks.ts:88
↓ 5 callers
Function
randomNormal
()
debug/main.js:48
↓ 5 callers
Function
requestAnimationFrame
(fn: (params: unknown) => unknown)
src/common/utils/compatible.ts:19
↓ 5 callers
Method
scroll
(distance: number)
src/Store.ts:906
↓ 5 callers
Method
scrollByDistance
(distance: number, animationDuration?: number)
src/Chart.ts:1162
↓ 5 callers
Method
startScroll
()
src/Store.ts:902
↓ 5 callers
Method
zoom
(scale: number, coordinate: Nullable<Partial<Coordinate>>, position: 'main' | 'xAxis')
src/Store.ts:1206
↓ 4 callers
Method
_eventTimeStamp
(e: TouchEvent | MouseEvent)
src/common/EventHandler.ts:939
↓ 4 callers
Method
_getLayoutDefaultPaneOptions
(basicParams: LayoutBasicParams)
src/Chart.ts:243
↓ 4 callers
Method
_getLayoutDefaultYAxis
(basicParams: LayoutBasicParams)
src/Chart.ts:254
↓ 4 callers
Method
_resetClickTimeout
()
src/common/EventHandler.ts:266
↓ 4 callers
Method
_sortOverlays
(paneId?: string)
src/Store.ts:1544
↓ 4 callers
Method
add
(tasks: Record<string, Promise<unknown>>)
src/common/TaskScheduler.ts:31
next →
1–100 of 787, ranked by callers