Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
162 lines (148 loc) · 4.06 KB

File metadata and controls

162 lines (148 loc) · 4.06 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
/**
* ChartGPU - A GPU-accelerated charting library built with WebGPU
*/
export const version = "1.0.0";
// Chart API (Phase 1)
import { ChartGPU as ChartGPUNamespace } from "./ChartGPU";
// Export ChartGPU namespace
export const ChartGPU = ChartGPUNamespace;
export { createChartGPU as createChart } from "./ChartGPU";
export type { ChartGPUInstance } from "./ChartGPU";
export type {
ChartGPUEventName,
ChartGPUEventPayload,
ChartGPUCrosshairMovePayload,
ChartGPUEventCallback,
ChartGPUCrosshairMoveCallback,
ChartGPUZoomRangeChangePayload,
ChartGPUZoomRangeChangeCallback,
ChartGPUDeviceLostPayload,
ChartGPUDeviceLostCallback,
ChartGPUCreateContext,
ChartGPUHitTestMatch,
ChartGPUHitTestResult,
ZoomChangeSourceKind,
} from "./ChartGPU";
export type {
AnnotationConfig,
AnnotationConfigBase,
AnnotationLabel,
AnnotationLabelAnchor,
AnnotationLabelBackground,
AnnotationLabelPadding,
AnnotationLayer,
AnnotationLineX,
AnnotationLineY,
AnnotationPoint,
AnnotationPointMarker,
AnnotationPosition,
AnnotationStyle,
AnnotationText,
AreaStyleConfig,
AnimationConfig,
AxisConfig,
AxisType,
BarItemStyleConfig,
CandlestickItemStyleConfig,
CandlestickSeriesConfig,
CandlestickStyle,
ChartGPUOptions,
DataZoomConfig,
DataPoint,
GridConfig,
GridLinesConfig,
GridLinesDirectionConfig,
LegendConfig,
LegendPosition,
LineStyleConfig,
AreaSeriesConfig,
LineSeriesConfig,
BarSeriesConfig,
PerformanceMetrics,
OHLCDataPoint,
PieCenter,
PieDataItem,
PieItemStyleConfig,
PieRadius,
PieSeriesConfig,
RenderMode,
ScatterSeriesConfig,
ScatterSymbol,
ScatterPointTuple,
SeriesConfig,
SeriesSampling,
SeriesType,
TooltipConfig,
TooltipParams,
} from "./config/types";
// Options defaults + resolution
export { candlestickDefaults, defaultOptions } from "./config/defaults";
export { OptionResolver, resolveOptions } from "./config/OptionResolver";
export type {
ResolvedCandlestickSeriesConfig,
ResolvedChartGPUOptions,
ResolvedAreaSeriesConfig,
ResolvedAreaStyleConfig,
ResolvedGridConfig,
ResolvedGridLinesConfig,
ResolvedGridLinesDirectionConfig,
ResolvedLineSeriesConfig,
ResolvedLineStyleConfig,
ResolvedPieDataItem,
ResolvedPieSeriesConfig,
ResolvedSeriesConfig,
} from "./config/OptionResolver";
// Themes
export type { ThemeConfig } from "./themes/types";
export { darkTheme, lightTheme, getTheme } from "./themes";
export type { ThemeName } from "./themes";
// Scales - Pure utilities
export { createLinearScale, createCategoryScale } from "./utils/scales";
export type { LinearScale, CategoryScale } from "./utils/scales";
// Chart sync (interaction)
export { connectCharts } from "./interaction/createChartSync";
export type { ChartSyncOptions } from "./interaction/createChartSync";
// Annotation authoring (interaction)
export { createAnnotationAuthoring } from "./interaction/createAnnotationAuthoring";
export type {
AnnotationAuthoringInstance,
AnnotationAuthoringOptions,
} from "./interaction/createAnnotationAuthoring";
// Core exports - Functional API (preferred)
export type {
GPUContextState,
GPUContextOptions,
SupportedCanvas,
} from "./core/GPUContext";
export {
createGPUContext,
createGPUContextAsync,
initializeGPUContext,
getCanvasTexture,
clearScreen,
destroyGPUContext,
} from "./core/GPUContext";
// Class-based API (for backward compatibility)
export { GPUContext } from "./core/GPUContext";
// Render scheduler - Functional API (preferred)
export type {
RenderSchedulerState,
RenderCallback,
} from "./core/RenderScheduler";
export {
createRenderScheduler,
createRenderSchedulerAsync,
startRenderScheduler,
stopRenderScheduler,
requestRender,
destroyRenderScheduler,
} from "./core/RenderScheduler";
// Class-based API (for backward compatibility)
export { RenderScheduler } from "./core/RenderScheduler";
// Pipeline cache - Functional API
export type { PipelineCache, PipelineCacheStats } from "./core/PipelineCache";
export {
createPipelineCache,
getPipelineCacheStats,
destroyPipelineCache,
} from "./core/createPipelineCache";
Morty Proxy This is a proxified and sanitized view of the page, visit original site.