velo-plot 1.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +119 -0
- package/dist/EventEmitter-DAbs2K1C.js +60 -0
- package/dist/EventEmitter-DAbs2K1C.js.map +1 -0
- package/dist/core/Chart.d.ts +15 -0
- package/dist/core/ChartControls.d.ts +41 -0
- package/dist/core/ChartInitQueue.d.ts +50 -0
- package/dist/core/ChartLegend.d.ts +74 -0
- package/dist/core/ChartStatistics.d.ts +18 -0
- package/dist/core/EventEmitter.d.ts +30 -0
- package/dist/core/InteractionManager.d.ts +96 -0
- package/dist/core/OverlayRenderer.d.ts +89 -0
- package/dist/core/Series.d.ts +4 -0
- package/dist/core/animation/AnimationEngine.d.ts +156 -0
- package/dist/core/animation/index.d.ts +6 -0
- package/dist/core/annotations/AnnotationManager.d.ts +61 -0
- package/dist/core/annotations/index.d.ts +5 -0
- package/dist/core/annotations/types.d.ts +159 -0
- package/dist/core/chart/ChartAnimatedNavigation.d.ts +53 -0
- package/dist/core/chart/ChartAxisManager.d.ts +61 -0
- package/dist/core/chart/ChartCore.d.ts +336 -0
- package/dist/core/chart/ChartExporter.d.ts +18 -0
- package/dist/core/chart/ChartNavigation.d.ts +33 -0
- package/dist/core/chart/ChartPluginBridge.d.ts +34 -0
- package/dist/core/chart/ChartRenderLoop.d.ts +100 -0
- package/dist/core/chart/ChartRenderer.d.ts +52 -0
- package/dist/core/chart/ChartScaling.d.ts +31 -0
- package/dist/core/chart/ChartSeries.d.ts +4 -0
- package/dist/core/chart/ChartSetup.d.ts +67 -0
- package/dist/core/chart/ChartStateManager.d.ts +54 -0
- package/dist/core/chart/ChartUI.d.ts +40 -0
- package/dist/core/chart/exporter/SVGExporter.d.ts +6 -0
- package/dist/core/chart/exporter/index.d.ts +5 -0
- package/dist/core/chart/index.d.ts +14 -0
- package/dist/core/chart/series/SeriesActions.d.ts +7 -0
- package/dist/core/chart/series/SeriesBuffer.d.ts +4 -0
- package/dist/core/chart/series/index.d.ts +6 -0
- package/dist/core/chart/series/types.d.ts +22 -0
- package/dist/core/chart/types.d.ts +188 -0
- package/dist/core/clipboard/index.d.ts +137 -0
- package/dist/core/debug/index.d.ts +143 -0
- package/dist/core/index.d.ts +17 -0
- package/dist/core/keybindings/index.d.ts +157 -0
- package/dist/core/layout/index.d.ts +12 -0
- package/dist/core/layout/types.d.ts +165 -0
- package/dist/core/loading/index.d.ts +104 -0
- package/dist/core/locale/index.d.ts +91 -0
- package/dist/core/responsive/ResponsiveManager.d.ts +133 -0
- package/dist/core/responsive/index.d.ts +4 -0
- package/dist/core/selection/SelectionManager.d.ts +165 -0
- package/dist/core/selection/index.d.ts +4 -0
- package/dist/core/series/Series.d.ts +73 -0
- package/dist/core/series/SeriesBounds.d.ts +3 -0
- package/dist/core/series/SeriesDataUtils.d.ts +7 -0
- package/dist/core/series/index.d.ts +6 -0
- package/dist/core/sync/index.d.ts +147 -0
- package/dist/core/theme-editor/index.d.ts +122 -0
- package/dist/examples/PluginDemonstration.d.ts +20 -0
- package/dist/examples.d.ts +25 -0
- package/dist/gpu/adapter/gpuRenderer.d.ts +135 -0
- package/dist/gpu/adapter/index.d.ts +7 -0
- package/dist/gpu/adapter/seriesAdapter.d.ts +88 -0
- package/dist/gpu/backends/webgl/WebGLBackend.d.ts +42 -0
- package/dist/gpu/backends/webgl/index.d.ts +5 -0
- package/dist/gpu/backends/webgl/programFactory.d.ts +30 -0
- package/dist/gpu/backends/webgl/shaders.d.ts +14 -0
- package/dist/gpu/backends/webgpu/MassiveDataRenderer.d.ts +111 -0
- package/dist/gpu/backends/webgpu/WebGPUBackend.d.ts +58 -0
- package/dist/gpu/backends/webgpu/pipelines/bandPipeline.d.ts +24 -0
- package/dist/gpu/backends/webgpu/pipelines/heatmapPipeline.d.ts +28 -0
- package/dist/gpu/backends/webgpu/pipelines/index.d.ts +10 -0
- package/dist/gpu/backends/webgpu/pipelines/instancedLinePipeline.d.ts +23 -0
- package/dist/gpu/backends/webgpu/pipelines/instancedPointPipeline.d.ts +25 -0
- package/dist/gpu/backends/webgpu/pipelines/linePipeline.d.ts +23 -0
- package/dist/gpu/backends/webgpu/pipelines/pointPipeline.d.ts +28 -0
- package/dist/gpu/backends/webgpu/pipelines/trianglePipeline.d.ts +5 -0
- package/dist/gpu/backends/webgpu/pipelines/triangleShader.d.ts +1 -0
- package/dist/gpu/backends/webgpu/shaders/heatmap.wgsl.d.ts +8 -0
- package/dist/gpu/backends/webgpu/shaders/index.d.ts +8 -0
- package/dist/gpu/backends/webgpu/shaders/instanced.wgsl.d.ts +16 -0
- package/dist/gpu/backends/webgpu/shaders/line.wgsl.d.ts +8 -0
- package/dist/gpu/backends/webgpu/shaders/point.wgsl.d.ts +9 -0
- package/dist/gpu/benchmark/benchmark.d.ts +74 -0
- package/dist/gpu/benchmark/index.d.ts +5 -0
- package/dist/gpu/compute/gpuCompute.d.ts +72 -0
- package/dist/gpu/compute/index.d.ts +6 -0
- package/dist/gpu/compute/shaders.d.ts +9 -0
- package/dist/gpu/drawList.d.ts +77 -0
- package/dist/gpu/examples/gallery.d.ts +20 -0
- package/dist/gpu/examples/index.d.ts +3 -0
- package/dist/gpu/examples/webgpu-line-demo.d.ts +8 -0
- package/dist/gpu/examples/webgpu-triangle.d.ts +1 -0
- package/dist/gpu/frame.d.ts +25 -0
- package/dist/gpu/index.d.ts +24 -0
- package/dist/gpu/resources/bufferStore.d.ts +40 -0
- package/dist/gpu/resources/index.d.ts +9 -0
- package/dist/gpu/resources/pipelineCache.d.ts +33 -0
- package/dist/gpu/resources/textureStore.d.ts +41 -0
- package/dist/gpu/types.d.ts +47 -0
- package/dist/index-BMiZoKmm.js +536 -0
- package/dist/index-BMiZoKmm.js.map +1 -0
- package/dist/index-Ce2JgkH_.js +282 -0
- package/dist/index-Ce2JgkH_.js.map +1 -0
- package/dist/index-D8ifudJH.js +2431 -0
- package/dist/index-D8ifudJH.js.map +1 -0
- package/dist/index-Dag88bW4.js +499 -0
- package/dist/index-Dag88bW4.js.map +1 -0
- package/dist/index-qhscKTDy.js +309 -0
- package/dist/index-qhscKTDy.js.map +1 -0
- package/dist/index-x4stH3jD.js +282 -0
- package/dist/index-x4stH3jD.js.map +1 -0
- package/dist/index.core-CYu3tydL.js +7252 -0
- package/dist/index.core-CYu3tydL.js.map +1 -0
- package/dist/index.core.d.ts +20 -0
- package/dist/index.d.ts +51 -0
- package/dist/overlay/CanvasOverlay.d.ts +102 -0
- package/dist/overlay/index.d.ts +4 -0
- package/dist/plugins/3d/Area3DRenderer.d.ts +122 -0
- package/dist/plugins/3d/Axes3D.d.ts +104 -0
- package/dist/plugins/3d/Bubble3DRenderer.d.ts +198 -0
- package/dist/plugins/3d/Impulse3DRenderer.d.ts +130 -0
- package/dist/plugins/3d/Line3DRenderer.d.ts +118 -0
- package/dist/plugins/3d/PointCloud3DRenderer.d.ts +84 -0
- package/dist/plugins/3d/Raycaster3D.d.ts +137 -0
- package/dist/plugins/3d/Ribbon3DRenderer.d.ts +83 -0
- package/dist/plugins/3d/SurfaceBar3DRenderer.d.ts +92 -0
- package/dist/plugins/3d/SurfaceMesh3DRenderer.d.ts +130 -0
- package/dist/plugins/3d/Tooltip3D.d.ts +71 -0
- package/dist/plugins/3d/VectorField3DRenderer.d.ts +86 -0
- package/dist/plugins/3d/Voxel3DRenderer.d.ts +89 -0
- package/dist/plugins/3d/Waterfall3DRenderer.d.ts +94 -0
- package/dist/plugins/3d/camera/OrbitCamera.d.ts +99 -0
- package/dist/plugins/3d/camera/index.d.ts +1 -0
- package/dist/plugins/3d/colorThemes.d.ts +39 -0
- package/dist/plugins/3d/controls/OrbitController.d.ts +69 -0
- package/dist/plugins/3d/controls/index.d.ts +1 -0
- package/dist/plugins/3d/index.d.ts +50 -0
- package/dist/plugins/3d/math/Mat4.d.ts +33 -0
- package/dist/plugins/3d/math/Vec3.d.ts +37 -0
- package/dist/plugins/3d/math/index.d.ts +4 -0
- package/dist/plugins/3d/mesh/InstancedMesh.d.ts +42 -0
- package/dist/plugins/3d/mesh/geometry.d.ts +34 -0
- package/dist/plugins/3d/mesh/index.d.ts +2 -0
- package/dist/plugins/3d/series/Area3D.d.ts +17 -0
- package/dist/plugins/3d/series/Column3D.d.ts +20 -0
- package/dist/plugins/3d/series/Heatmap3D.d.ts +17 -0
- package/dist/plugins/3d/series/Impulse3D.d.ts +16 -0
- package/dist/plugins/3d/series/PointLine3D.d.ts +20 -0
- package/dist/plugins/3d/series/Ribbon3D.d.ts +17 -0
- package/dist/plugins/3d/series/Scatter3D.d.ts +21 -0
- package/dist/plugins/3d/series/SurfaceMesh3D.d.ts +35 -0
- package/dist/plugins/3d/series/Waterfall3D.d.ts +38 -0
- package/dist/plugins/3d/series/index.d.ts +13 -0
- package/dist/plugins/3d/series/types.d.ts +143 -0
- package/dist/plugins/3d/shader/index.d.ts +2 -0
- package/dist/plugins/3d/shader/programs.d.ts +24 -0
- package/dist/plugins/3d/shader/sources.d.ts +27 -0
- package/dist/plugins/3d/types.d.ts +71 -0
- package/dist/plugins/3d.d.ts +3 -0
- package/dist/plugins/3d.js +5498 -0
- package/dist/plugins/3d.js.map +1 -0
- package/dist/plugins/PluginContext.d.ts +53 -0
- package/dist/plugins/PluginManager.d.ts +129 -0
- package/dist/plugins/PluginRegistry.d.ts +38 -0
- package/dist/plugins/analysis/SeriesFit.d.ts +3 -0
- package/dist/plugins/analysis/contours.d.ts +20 -0
- package/dist/plugins/analysis/fft.d.ts +138 -0
- package/dist/plugins/analysis/filters.d.ts +76 -0
- package/dist/plugins/analysis/fitting.d.ts +24 -0
- package/dist/plugins/analysis/index.d.ts +29 -0
- package/dist/plugins/analysis/indicators.d.ts +148 -0
- package/dist/plugins/analysis/math.d.ts +32 -0
- package/dist/plugins/analysis/statistics.d.ts +78 -0
- package/dist/plugins/analysis/utils.d.ts +150 -0
- package/dist/plugins/analysis.d.ts +3 -0
- package/dist/plugins/analysis.js +1202 -0
- package/dist/plugins/analysis.js.map +1 -0
- package/dist/plugins/annotations/index.d.ts +16 -0
- package/dist/plugins/annotations.d.ts +3 -0
- package/dist/plugins/annotations.js +438 -0
- package/dist/plugins/annotations.js.map +1 -0
- package/dist/plugins/anomaly-detection/algorithms.d.ts +38 -0
- package/dist/plugins/anomaly-detection/index.d.ts +16 -0
- package/dist/plugins/anomaly-detection/types.d.ts +57 -0
- package/dist/plugins/broken-axis/BrokenAxisScale.d.ts +24 -0
- package/dist/plugins/broken-axis/exports.d.ts +6 -0
- package/dist/plugins/broken-axis/index.d.ts +6 -0
- package/dist/plugins/broken-axis/types.d.ts +50 -0
- package/dist/plugins/builtins/crosshair/CrosshairPlugin.d.ts +40 -0
- package/dist/plugins/builtins/crosshair/index.d.ts +1 -0
- package/dist/plugins/builtins/data-logger/DataLoggerPlugin.d.ts +11 -0
- package/dist/plugins/builtins/data-logger/index.d.ts +1 -0
- package/dist/plugins/builtins/direction-indicator/DirectionIndicatorPlugin.d.ts +17 -0
- package/dist/plugins/builtins/direction-indicator/index.d.ts +2 -0
- package/dist/plugins/builtins/grid-highlight/GridHighlightPlugin.d.ts +17 -0
- package/dist/plugins/builtins/grid-highlight/index.d.ts +1 -0
- package/dist/plugins/builtins/index.d.ts +25 -0
- package/dist/plugins/builtins/stats/StatsPlugin.d.ts +11 -0
- package/dist/plugins/builtins/stats/index.d.ts +1 -0
- package/dist/plugins/builtins/watermark/WatermarkPlugin.d.ts +15 -0
- package/dist/plugins/builtins/watermark/index.d.ts +1 -0
- package/dist/plugins/caching/exports.d.ts +6 -0
- package/dist/plugins/caching/index.d.ts +6 -0
- package/dist/plugins/caching/types.d.ts +120 -0
- package/dist/plugins/clipboard/index.d.ts +20 -0
- package/dist/plugins/clipboard.d.ts +3 -0
- package/dist/plugins/clipboard.js +270 -0
- package/dist/plugins/clipboard.js.map +1 -0
- package/dist/plugins/context-menu/index.d.ts +12 -0
- package/dist/plugins/context-menu/renderer.d.ts +43 -0
- package/dist/plugins/context-menu/types.d.ts +202 -0
- package/dist/plugins/context-menu.d.ts +3 -0
- package/dist/plugins/context-menu.js +621 -0
- package/dist/plugins/context-menu.js.map +1 -0
- package/dist/plugins/data-export/formatters.d.ts +34 -0
- package/dist/plugins/data-export/index.d.ts +15 -0
- package/dist/plugins/data-export/types.d.ts +166 -0
- package/dist/plugins/data-export.d.ts +3 -0
- package/dist/plugins/data-export.js +463 -0
- package/dist/plugins/data-export.js.map +1 -0
- package/dist/plugins/data-transform/index.d.ts +6 -0
- package/dist/plugins/data-transform/types.d.ts +34 -0
- package/dist/plugins/debug/index.d.ts +24 -0
- package/dist/plugins/debug.d.ts +3 -0
- package/dist/plugins/debug.js +330 -0
- package/dist/plugins/debug.js.map +1 -0
- package/dist/plugins/drag-edit/exports.d.ts +6 -0
- package/dist/plugins/drag-edit/index.d.ts +6 -0
- package/dist/plugins/drag-edit/types.d.ts +118 -0
- package/dist/plugins/forecasting/algorithms.d.ts +6 -0
- package/dist/plugins/forecasting/exports.d.ts +3 -0
- package/dist/plugins/forecasting/index.d.ts +11 -0
- package/dist/plugins/forecasting/types.d.ts +88 -0
- package/dist/plugins/gpu/index.d.ts +24 -0
- package/dist/plugins/gpu.d.ts +3 -0
- package/dist/plugins/gpu.js +2430 -0
- package/dist/plugins/gpu.js.map +1 -0
- package/dist/plugins/i18n/index.d.ts +22 -0
- package/dist/plugins/i18n.d.ts +3 -0
- package/dist/plugins/i18n.js +37 -0
- package/dist/plugins/i18n.js.map +1 -0
- package/dist/plugins/index.d.ts +110 -0
- package/dist/plugins/keyboard/index.d.ts +15 -0
- package/dist/plugins/keyboard.d.ts +3 -0
- package/dist/plugins/keyboard.js +8 -0
- package/dist/plugins/keyboard.js.map +1 -0
- package/dist/plugins/latex/exports.d.ts +6 -0
- package/dist/plugins/latex/index.d.ts +8 -0
- package/dist/plugins/latex/parser.d.ts +6 -0
- package/dist/plugins/latex/renderer.d.ts +6 -0
- package/dist/plugins/latex/symbols.d.ts +28 -0
- package/dist/plugins/latex/types.d.ts +88 -0
- package/dist/plugins/lazy-load/exports.d.ts +6 -0
- package/dist/plugins/lazy-load/index.d.ts +6 -0
- package/dist/plugins/lazy-load/types.d.ts +121 -0
- package/dist/plugins/loading/index.d.ts +15 -0
- package/dist/plugins/loading.d.ts +3 -0
- package/dist/plugins/loading.js +7 -0
- package/dist/plugins/loading.js.map +1 -0
- package/dist/plugins/ml-integration/exports.d.ts +11 -0
- package/dist/plugins/ml-integration/index.d.ts +6 -0
- package/dist/plugins/ml-integration/native-algorithms.d.ts +69 -0
- package/dist/plugins/ml-integration/types.d.ts +74 -0
- package/dist/plugins/offscreen/exports.d.ts +6 -0
- package/dist/plugins/offscreen/index.d.ts +6 -0
- package/dist/plugins/offscreen/pool.d.ts +32 -0
- package/dist/plugins/offscreen/types.d.ts +35 -0
- package/dist/plugins/pattern-recognition/index.d.ts +6 -0
- package/dist/plugins/pattern-recognition/patterns.d.ts +3 -0
- package/dist/plugins/pattern-recognition/types.d.ts +245 -0
- package/dist/plugins/radar/index.d.ts +6 -0
- package/dist/plugins/radar/types.d.ts +40 -0
- package/dist/plugins/regression/algorithms.d.ts +6 -0
- package/dist/plugins/regression/index.d.ts +6 -0
- package/dist/plugins/regression/types.d.ts +261 -0
- package/dist/plugins/roi/exports.d.ts +6 -0
- package/dist/plugins/roi/index.d.ts +49 -0
- package/dist/plugins/roi/types.d.ts +60 -0
- package/dist/plugins/snapshot/index.d.ts +11 -0
- package/dist/plugins/snapshot/types.d.ts +38 -0
- package/dist/plugins/streaming/index.d.ts +32 -0
- package/dist/plugins/streaming.d.ts +3 -0
- package/dist/plugins/streaming.js +13 -0
- package/dist/plugins/streaming.js.map +1 -0
- package/dist/plugins/sync/index.d.ts +22 -0
- package/dist/plugins/sync.d.ts +3 -0
- package/dist/plugins/sync.js +261 -0
- package/dist/plugins/sync.js.map +1 -0
- package/dist/plugins/theme-editor/index.d.ts +18 -0
- package/dist/plugins/theme-editor.d.ts +3 -0
- package/dist/plugins/theme-editor.js +7 -0
- package/dist/plugins/theme-editor.js.map +1 -0
- package/dist/plugins/tools/delta-tool/index.d.ts +159 -0
- package/dist/plugins/tools/index.d.ts +21 -0
- package/dist/plugins/tools/peak-tool/index.d.ts +159 -0
- package/dist/plugins/tools/tooltip/TooltipManager.d.ts +213 -0
- package/dist/plugins/tools/tooltip/TooltipPositioner.d.ts +83 -0
- package/dist/plugins/tools/tooltip/TooltipRenderer.d.ts +64 -0
- package/dist/plugins/tools/tooltip/index.d.ts +18 -0
- package/dist/plugins/tools/tooltip/templates/AnnotationTemplate.d.ts +18 -0
- package/dist/plugins/tools/tooltip/templates/CrosshairTemplate.d.ts +39 -0
- package/dist/plugins/tools/tooltip/templates/DefaultTemplate.d.ts +30 -0
- package/dist/plugins/tools/tooltip/templates/HeatmapTemplate.d.ts +34 -0
- package/dist/plugins/tools/tooltip/templates/MinimalTemplate.d.ts +26 -0
- package/dist/plugins/tools/tooltip/templates/RangeTemplate.d.ts +18 -0
- package/dist/plugins/tools/tooltip/templates/ScientificTemplate.d.ts +34 -0
- package/dist/plugins/tools/tooltip/templates/index.d.ts +27 -0
- package/dist/plugins/tools/tooltip/themes.d.ts +48 -0
- package/dist/plugins/tools/tooltip/types.d.ts +396 -0
- package/dist/plugins/tools.d.ts +3 -0
- package/dist/plugins/tools.js +9 -0
- package/dist/plugins/tools.js.map +1 -0
- package/dist/plugins/types.d.ts +451 -0
- package/dist/plugins/video-recorder/exports.d.ts +6 -0
- package/dist/plugins/video-recorder/index.d.ts +6 -0
- package/dist/plugins/video-recorder/types.d.ts +55 -0
- package/dist/plugins/virtualization/exports.d.ts +6 -0
- package/dist/plugins/virtualization/index.d.ts +6 -0
- package/dist/plugins/virtualization/types.d.ts +48 -0
- package/dist/react/SciPlot.d.ts +60 -0
- package/dist/react/index.d.ts +5 -0
- package/dist/react/useSciPlot.d.ts +56 -0
- package/dist/renderer/BarRenderer.d.ts +14 -0
- package/dist/renderer/CandlestickRenderer.d.ts +12 -0
- package/dist/renderer/GaugeRenderer.d.ts +3 -0
- package/dist/renderer/HeatmapRenderer.d.ts +15 -0
- package/dist/renderer/NativeWebGLRenderer.d.ts +16 -0
- package/dist/renderer/PolarRenderer.d.ts +64 -0
- package/dist/renderer/RendererInterface.d.ts +70 -0
- package/dist/renderer/SankeyRenderer.d.ts +3 -0
- package/dist/renderer/WebGPURenderer.d.ts +16 -0
- package/dist/renderer/index.d.ts +13 -0
- package/dist/renderer/native/NativeWebGLRenderer.d.ts +31 -0
- package/dist/renderer/native/bufferStore.d.ts +11 -0
- package/dist/renderer/native/draw.d.ts +47 -0
- package/dist/renderer/native/programFactory.d.ts +3 -0
- package/dist/renderer/native/renderFrame.d.ts +3 -0
- package/dist/renderer/native/shaderSources.d.ts +6 -0
- package/dist/renderer/native/textureStore.d.ts +8 -0
- package/dist/renderer/native/types.d.ts +77 -0
- package/dist/renderer/native/utils.d.ts +31 -0
- package/dist/renderer/radar/RadarRenderer.d.ts +71 -0
- package/dist/renderer/radar/index.d.ts +10 -0
- package/dist/renderer/shaders.d.ts +77 -0
- package/dist/renderer/ternary/TernaryRenderer.d.ts +39 -0
- package/dist/renderer/ternary/index.d.ts +6 -0
- package/dist/renderer/ternary/types.d.ts +56 -0
- package/dist/scales/index.d.ts +54 -0
- package/dist/serialization/index.d.ts +153 -0
- package/dist/streaming/backpressure.d.ts +179 -0
- package/dist/streaming/index.d.ts +7 -0
- package/dist/streaming/mock.d.ts +12 -0
- package/dist/streaming/types.d.ts +57 -0
- package/dist/streaming/utils.d.ts +19 -0
- package/dist/streaming/websocket.d.ts +6 -0
- package/dist/testing/index.d.ts +225 -0
- package/dist/theme/colorSchemes.d.ts +56 -0
- package/dist/theme/index.d.ts +138 -0
- package/dist/types.d.ts +753 -0
- package/dist/utils-Dbro9-qM.js +254 -0
- package/dist/utils-Dbro9-qM.js.map +1 -0
- package/dist/velo-plot.d.ts +1 -0
- package/dist/velo-plot.full.d.ts +1 -0
- package/dist/velo-plot.full.js +5804 -0
- package/dist/velo-plot.full.js.map +1 -0
- package/dist/velo-plot.js +31 -0
- package/dist/velo-plot.js.map +1 -0
- package/dist/workers/downsample.d.ts +34 -0
- package/dist/workers/downsample.worker.d.ts +46 -0
- package/package.json +185 -0
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Animation Engine
|
|
3
|
+
*
|
|
4
|
+
* Provides smooth, performant animations for chart transitions
|
|
5
|
+
* including zoom, pan, data updates, and custom animations.
|
|
6
|
+
*/
|
|
7
|
+
export type EasingFunction = (t: number) => number;
|
|
8
|
+
export declare const easings: {
|
|
9
|
+
/** Linear easing - constant speed */
|
|
10
|
+
readonly linear: (t: number) => number;
|
|
11
|
+
/** Ease in - starts slow, accelerates */
|
|
12
|
+
readonly easeIn: (t: number) => number;
|
|
13
|
+
/** Ease out - starts fast, decelerates */
|
|
14
|
+
readonly easeOut: (t: number) => number;
|
|
15
|
+
/** Ease in-out - slow start and end */
|
|
16
|
+
readonly easeInOut: (t: number) => number;
|
|
17
|
+
/** Cubic ease out - smoother deceleration */
|
|
18
|
+
readonly easeOutCubic: (t: number) => number;
|
|
19
|
+
/** Cubic ease in-out */
|
|
20
|
+
readonly easeInOutCubic: (t: number) => number;
|
|
21
|
+
/** Spring-like bounce at the end */
|
|
22
|
+
readonly spring: (t: number) => number;
|
|
23
|
+
/** Elastic overshoot */
|
|
24
|
+
readonly elastic: (t: number) => number;
|
|
25
|
+
/** Bounce effect */
|
|
26
|
+
readonly bounce: (t: number) => number;
|
|
27
|
+
};
|
|
28
|
+
export type EasingName = keyof typeof easings;
|
|
29
|
+
export interface AnimationOptions {
|
|
30
|
+
/** Duration in milliseconds */
|
|
31
|
+
duration: number;
|
|
32
|
+
/** Easing function name or custom function */
|
|
33
|
+
easing?: EasingName | EasingFunction;
|
|
34
|
+
/** Callback on each frame with progress 0-1 */
|
|
35
|
+
onUpdate: (progress: number) => void;
|
|
36
|
+
/** Callback when animation completes */
|
|
37
|
+
onComplete?: () => void;
|
|
38
|
+
/** Callback if animation is cancelled */
|
|
39
|
+
onCancel?: () => void;
|
|
40
|
+
}
|
|
41
|
+
export interface AnimationHandle {
|
|
42
|
+
/** Unique animation ID */
|
|
43
|
+
id: string;
|
|
44
|
+
/** Cancel the animation */
|
|
45
|
+
cancel: () => void;
|
|
46
|
+
/** Promise that resolves when animation completes */
|
|
47
|
+
promise: Promise<void>;
|
|
48
|
+
/** Whether animation is currently running */
|
|
49
|
+
isRunning: () => boolean;
|
|
50
|
+
}
|
|
51
|
+
export interface BoundsAnimation {
|
|
52
|
+
/** Target X range [min, max] */
|
|
53
|
+
xRange?: [number, number];
|
|
54
|
+
/** Target Y range [min, max] */
|
|
55
|
+
yRange?: [number, number];
|
|
56
|
+
/** Duration in ms (default: 300) */
|
|
57
|
+
duration?: number;
|
|
58
|
+
/** Easing function (default: 'easeOutCubic') */
|
|
59
|
+
easing?: EasingName | EasingFunction;
|
|
60
|
+
}
|
|
61
|
+
export declare class AnimationEngine {
|
|
62
|
+
private animations;
|
|
63
|
+
private frameId;
|
|
64
|
+
private idCounter;
|
|
65
|
+
private isDestroyed;
|
|
66
|
+
/**
|
|
67
|
+
* Start a new animation
|
|
68
|
+
*/
|
|
69
|
+
animate(options: AnimationOptions): AnimationHandle;
|
|
70
|
+
/**
|
|
71
|
+
* Animate numeric value interpolation
|
|
72
|
+
*/
|
|
73
|
+
interpolate(from: number, to: number, options: Omit<AnimationOptions, 'onUpdate'> & {
|
|
74
|
+
onUpdate: (value: number) => void;
|
|
75
|
+
}): AnimationHandle;
|
|
76
|
+
/**
|
|
77
|
+
* Animate bounds transition
|
|
78
|
+
*/
|
|
79
|
+
animateBounds(current: {
|
|
80
|
+
xMin: number;
|
|
81
|
+
xMax: number;
|
|
82
|
+
yMin: number;
|
|
83
|
+
yMax: number;
|
|
84
|
+
}, target: BoundsAnimation, onUpdate: (bounds: {
|
|
85
|
+
xMin: number;
|
|
86
|
+
xMax: number;
|
|
87
|
+
yMin: number;
|
|
88
|
+
yMax: number;
|
|
89
|
+
}) => void, onComplete?: () => void): AnimationHandle;
|
|
90
|
+
/**
|
|
91
|
+
* Cancel a specific animation
|
|
92
|
+
*/
|
|
93
|
+
cancel(id: string): void;
|
|
94
|
+
/**
|
|
95
|
+
* Cancel all running animations
|
|
96
|
+
*/
|
|
97
|
+
cancelAll(): void;
|
|
98
|
+
/**
|
|
99
|
+
* Check if any animations are running
|
|
100
|
+
*/
|
|
101
|
+
isAnimating(): boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Returns a promise that resolves when all current animations are complete
|
|
104
|
+
*/
|
|
105
|
+
waitForIdle(): Promise<void>;
|
|
106
|
+
/**
|
|
107
|
+
* Get number of active animations
|
|
108
|
+
*/
|
|
109
|
+
getActiveCount(): number;
|
|
110
|
+
/**
|
|
111
|
+
* Destroy the animation engine
|
|
112
|
+
*/
|
|
113
|
+
destroy(): void;
|
|
114
|
+
private ensureLoop;
|
|
115
|
+
private tick;
|
|
116
|
+
}
|
|
117
|
+
export interface ChartAnimationConfig {
|
|
118
|
+
/** Enable all animations */
|
|
119
|
+
enabled: boolean;
|
|
120
|
+
/** Zoom animation settings */
|
|
121
|
+
zoom: {
|
|
122
|
+
enabled: boolean;
|
|
123
|
+
duration: number;
|
|
124
|
+
easing: EasingName;
|
|
125
|
+
};
|
|
126
|
+
/** Pan animation settings */
|
|
127
|
+
pan: {
|
|
128
|
+
enabled: boolean;
|
|
129
|
+
duration: number;
|
|
130
|
+
easing: EasingName;
|
|
131
|
+
};
|
|
132
|
+
/** Data update animation settings */
|
|
133
|
+
dataUpdate: {
|
|
134
|
+
enabled: boolean;
|
|
135
|
+
duration: number;
|
|
136
|
+
easing: EasingName;
|
|
137
|
+
};
|
|
138
|
+
/** Series entry animation */
|
|
139
|
+
seriesEntry: {
|
|
140
|
+
enabled: boolean;
|
|
141
|
+
duration: number;
|
|
142
|
+
easing: EasingName;
|
|
143
|
+
};
|
|
144
|
+
/** Auto-scale animation */
|
|
145
|
+
autoScale: {
|
|
146
|
+
enabled: boolean;
|
|
147
|
+
duration: number;
|
|
148
|
+
easing: EasingName;
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
export declare const DEFAULT_ANIMATION_CONFIG: ChartAnimationConfig;
|
|
152
|
+
/**
|
|
153
|
+
* Merge user config with defaults
|
|
154
|
+
*/
|
|
155
|
+
export declare function mergeAnimationConfig(config?: Partial<ChartAnimationConfig>): ChartAnimationConfig;
|
|
156
|
+
export declare function getSharedAnimationEngine(): AnimationEngine;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Animation Module
|
|
3
|
+
*
|
|
4
|
+
* Exports animation utilities for smooth chart transitions.
|
|
5
|
+
*/
|
|
6
|
+
export { AnimationEngine, easings, DEFAULT_ANIMATION_CONFIG, mergeAnimationConfig, getSharedAnimationEngine, type AnimationOptions, type AnimationHandle, type BoundsAnimation, type ChartAnimationConfig, type EasingFunction, type EasingName, } from './AnimationEngine';
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Bounds } from '../../types';
|
|
2
|
+
import { Annotation } from './types';
|
|
3
|
+
|
|
4
|
+
export interface PlotArea {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
}
|
|
10
|
+
export declare class AnnotationManager {
|
|
11
|
+
private annotations;
|
|
12
|
+
private idCounter;
|
|
13
|
+
/**
|
|
14
|
+
* Add a new annotation
|
|
15
|
+
* @returns The annotation ID
|
|
16
|
+
*/
|
|
17
|
+
add(annotation: Annotation): string;
|
|
18
|
+
/**
|
|
19
|
+
* Remove an annotation by ID
|
|
20
|
+
*/
|
|
21
|
+
remove(id: string): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Update an annotation
|
|
24
|
+
*/
|
|
25
|
+
update(id: string, updates: Partial<Annotation>): void;
|
|
26
|
+
/**
|
|
27
|
+
* Get an annotation by ID
|
|
28
|
+
*/
|
|
29
|
+
get(id: string): Annotation | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Get all annotations
|
|
32
|
+
*/
|
|
33
|
+
getAll(): Annotation[];
|
|
34
|
+
/**
|
|
35
|
+
* Clear all annotations
|
|
36
|
+
*/
|
|
37
|
+
clear(): void;
|
|
38
|
+
/**
|
|
39
|
+
* Get count of annotations
|
|
40
|
+
*/
|
|
41
|
+
get count(): number;
|
|
42
|
+
/**
|
|
43
|
+
* Render all annotations
|
|
44
|
+
*/
|
|
45
|
+
render(ctx: CanvasRenderingContext2D, plotArea: PlotArea, bounds: Bounds, latexAPI?: any): void;
|
|
46
|
+
/**
|
|
47
|
+
* Helper to draw text or LaTeX
|
|
48
|
+
*/
|
|
49
|
+
private drawLatexOrText;
|
|
50
|
+
private renderAnnotation;
|
|
51
|
+
private dataToPixelX;
|
|
52
|
+
private dataToPixelY;
|
|
53
|
+
private renderHorizontalLine;
|
|
54
|
+
private renderVerticalLine;
|
|
55
|
+
private renderRectangle;
|
|
56
|
+
private renderBand;
|
|
57
|
+
private renderText;
|
|
58
|
+
private renderArrow;
|
|
59
|
+
private renderLineLabel;
|
|
60
|
+
private renderCenteredLabel;
|
|
61
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Annotations module exports
|
|
3
|
+
*/
|
|
4
|
+
export { AnnotationManager, type PlotArea } from './AnnotationManager';
|
|
5
|
+
export type { Annotation, AnnotationType, BaseAnnotation, HorizontalLineAnnotation, VerticalLineAnnotation, RectangleAnnotation, BandAnnotation, TextAnnotation, ArrowAnnotation, AnnotationEvent, AnnotationDragEvent, } from './types';
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Annotation Types
|
|
3
|
+
*
|
|
4
|
+
* Type definitions for all annotation types supported by Sci Plot.
|
|
5
|
+
*/
|
|
6
|
+
export type AnnotationType = 'horizontal-line' | 'vertical-line' | 'rectangle' | 'band' | 'text' | 'arrow';
|
|
7
|
+
export interface BaseAnnotation {
|
|
8
|
+
/** Unique identifier (auto-generated if not provided) */
|
|
9
|
+
id?: string;
|
|
10
|
+
/** Annotation type */
|
|
11
|
+
type: AnnotationType;
|
|
12
|
+
/** Visibility */
|
|
13
|
+
visible?: boolean;
|
|
14
|
+
/** Allow user interaction (dragging) */
|
|
15
|
+
interactive?: boolean;
|
|
16
|
+
/** Z-index for layering */
|
|
17
|
+
zIndex?: number;
|
|
18
|
+
/** Tooltip text or configuration */
|
|
19
|
+
tooltip?: string | any;
|
|
20
|
+
/** Use LaTeX rendering for labels/text (default: auto-detect) */
|
|
21
|
+
latex?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface HorizontalLineAnnotation extends BaseAnnotation {
|
|
24
|
+
type: 'horizontal-line';
|
|
25
|
+
/** Y value in data coordinates */
|
|
26
|
+
y: number;
|
|
27
|
+
/** Optional: limit line extent to X range */
|
|
28
|
+
xMin?: number;
|
|
29
|
+
xMax?: number;
|
|
30
|
+
/** Line color (hex or rgba) */
|
|
31
|
+
color?: string;
|
|
32
|
+
/** Line width in pixels */
|
|
33
|
+
lineWidth?: number;
|
|
34
|
+
/** Dash pattern [dash, gap] - empty for solid */
|
|
35
|
+
lineDash?: number[];
|
|
36
|
+
/** Label text */
|
|
37
|
+
label?: string;
|
|
38
|
+
/** Label position along the line */
|
|
39
|
+
labelPosition?: 'left' | 'right' | 'center';
|
|
40
|
+
/** Label background color */
|
|
41
|
+
labelBackground?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface VerticalLineAnnotation extends BaseAnnotation {
|
|
44
|
+
type: 'vertical-line';
|
|
45
|
+
/** X value in data coordinates */
|
|
46
|
+
x: number;
|
|
47
|
+
/** Optional: limit line extent to Y range */
|
|
48
|
+
yMin?: number;
|
|
49
|
+
yMax?: number;
|
|
50
|
+
/** Line color */
|
|
51
|
+
color?: string;
|
|
52
|
+
/** Line width in pixels */
|
|
53
|
+
lineWidth?: number;
|
|
54
|
+
/** Dash pattern */
|
|
55
|
+
lineDash?: number[];
|
|
56
|
+
/** Label text */
|
|
57
|
+
label?: string;
|
|
58
|
+
/** Label position */
|
|
59
|
+
labelPosition?: 'top' | 'bottom' | 'center';
|
|
60
|
+
/** Label background color */
|
|
61
|
+
labelBackground?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface RectangleAnnotation extends BaseAnnotation {
|
|
64
|
+
type: 'rectangle';
|
|
65
|
+
/** Rectangle bounds in data coordinates */
|
|
66
|
+
xMin: number;
|
|
67
|
+
xMax: number;
|
|
68
|
+
yMin: number;
|
|
69
|
+
yMax: number;
|
|
70
|
+
/** Fill color (use alpha for transparency) */
|
|
71
|
+
fillColor?: string;
|
|
72
|
+
/** Border color */
|
|
73
|
+
strokeColor?: string;
|
|
74
|
+
/** Border width */
|
|
75
|
+
strokeWidth?: number;
|
|
76
|
+
/** Border dash pattern */
|
|
77
|
+
strokeDash?: number[];
|
|
78
|
+
/** Label text */
|
|
79
|
+
label?: string;
|
|
80
|
+
}
|
|
81
|
+
export interface BandAnnotation extends BaseAnnotation {
|
|
82
|
+
type: 'band';
|
|
83
|
+
/** Band bounds - vertical band if only x specified, horizontal if only y */
|
|
84
|
+
xMin?: number;
|
|
85
|
+
xMax?: number;
|
|
86
|
+
yMin?: number;
|
|
87
|
+
yMax?: number;
|
|
88
|
+
/** Fill color */
|
|
89
|
+
fillColor?: string;
|
|
90
|
+
/** Border color */
|
|
91
|
+
strokeColor?: string;
|
|
92
|
+
/** Border width */
|
|
93
|
+
strokeWidth?: number;
|
|
94
|
+
/** Label text */
|
|
95
|
+
label?: string;
|
|
96
|
+
/** Label position */
|
|
97
|
+
labelPosition?: 'center' | 'top' | 'bottom' | 'left' | 'right';
|
|
98
|
+
}
|
|
99
|
+
export interface TextAnnotation extends BaseAnnotation {
|
|
100
|
+
type: 'text';
|
|
101
|
+
/** Position in data coordinates */
|
|
102
|
+
x: number;
|
|
103
|
+
y: number;
|
|
104
|
+
/** Text content */
|
|
105
|
+
text: string;
|
|
106
|
+
/** Font size in pixels */
|
|
107
|
+
fontSize?: number;
|
|
108
|
+
/** Font family */
|
|
109
|
+
fontFamily?: string;
|
|
110
|
+
/** Font weight */
|
|
111
|
+
fontWeight?: 'normal' | 'bold';
|
|
112
|
+
/** Text color */
|
|
113
|
+
color?: string;
|
|
114
|
+
/** Background color */
|
|
115
|
+
backgroundColor?: string;
|
|
116
|
+
/** Background padding */
|
|
117
|
+
padding?: number;
|
|
118
|
+
/** Rotation in degrees */
|
|
119
|
+
rotation?: number;
|
|
120
|
+
/** Anchor point for positioning */
|
|
121
|
+
anchor?: 'center' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center' | 'left-center' | 'right-center';
|
|
122
|
+
}
|
|
123
|
+
export interface ArrowAnnotation extends BaseAnnotation {
|
|
124
|
+
type: 'arrow';
|
|
125
|
+
/** Start point in data coordinates */
|
|
126
|
+
x1: number;
|
|
127
|
+
y1: number;
|
|
128
|
+
/** End point (arrow head) in data coordinates */
|
|
129
|
+
x2: number;
|
|
130
|
+
y2: number;
|
|
131
|
+
/** Line color */
|
|
132
|
+
color?: string;
|
|
133
|
+
/** Line width */
|
|
134
|
+
lineWidth?: number;
|
|
135
|
+
/** Arrow head size in pixels */
|
|
136
|
+
headSize?: number;
|
|
137
|
+
/** Arrow head style */
|
|
138
|
+
headStyle?: 'filled' | 'open' | 'none';
|
|
139
|
+
/** Show tail arrow */
|
|
140
|
+
showTail?: boolean;
|
|
141
|
+
/** Label text */
|
|
142
|
+
label?: string;
|
|
143
|
+
}
|
|
144
|
+
export type Annotation = HorizontalLineAnnotation | VerticalLineAnnotation | RectangleAnnotation | BandAnnotation | TextAnnotation | ArrowAnnotation;
|
|
145
|
+
export interface ResolvedAnnotation extends BaseAnnotation {
|
|
146
|
+
id: string;
|
|
147
|
+
}
|
|
148
|
+
export interface AnnotationEvent {
|
|
149
|
+
annotation: Annotation;
|
|
150
|
+
originalEvent?: MouseEvent;
|
|
151
|
+
}
|
|
152
|
+
export interface AnnotationDragEvent extends AnnotationEvent {
|
|
153
|
+
deltaX: number;
|
|
154
|
+
deltaY: number;
|
|
155
|
+
newPosition: {
|
|
156
|
+
x: number;
|
|
157
|
+
y: number;
|
|
158
|
+
};
|
|
159
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Bounds, ZoomOptions, AxisOptions, ChartEventMap } from '../../types';
|
|
2
|
+
import { Scale } from '../../scales';
|
|
3
|
+
import { EventEmitter } from '../EventEmitter';
|
|
4
|
+
import { AnimationEngine, ChartAnimationConfig, AnimationHandle } from '../animation';
|
|
5
|
+
|
|
6
|
+
export interface AnimatedNavigationContext {
|
|
7
|
+
viewBounds: Bounds;
|
|
8
|
+
yScales: Map<string, Scale>;
|
|
9
|
+
yAxisOptionsMap: Map<string, AxisOptions>;
|
|
10
|
+
xAxisOptions: AxisOptions;
|
|
11
|
+
primaryYAxisId: string;
|
|
12
|
+
getPlotArea: () => {
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
};
|
|
18
|
+
events: EventEmitter<ChartEventMap>;
|
|
19
|
+
requestRender: () => void;
|
|
20
|
+
series: Map<string, {
|
|
21
|
+
isVisible(): boolean;
|
|
22
|
+
getBounds(): Bounds | null;
|
|
23
|
+
getYAxisId(): string | undefined;
|
|
24
|
+
getType(): string;
|
|
25
|
+
}>;
|
|
26
|
+
animationEngine: AnimationEngine;
|
|
27
|
+
animationConfig: ChartAnimationConfig;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Apply animated zoom to the chart
|
|
31
|
+
*/
|
|
32
|
+
export declare function applyAnimatedZoom(ctx: AnimatedNavigationContext, options: ZoomOptions & {
|
|
33
|
+
animate?: boolean;
|
|
34
|
+
}): AnimationHandle | null;
|
|
35
|
+
/**
|
|
36
|
+
* Apply animated auto-scale to fit all data
|
|
37
|
+
*/
|
|
38
|
+
export declare function applyAnimatedAutoScale(ctx: AnimatedNavigationContext, animate?: boolean): AnimationHandle | null;
|
|
39
|
+
/**
|
|
40
|
+
* Animate to specific bounds
|
|
41
|
+
*/
|
|
42
|
+
export declare function animateToBounds(ctx: AnimatedNavigationContext, targetBounds: Partial<Bounds>, options?: {
|
|
43
|
+
duration?: number;
|
|
44
|
+
easing?: string;
|
|
45
|
+
}): AnimationHandle;
|
|
46
|
+
/**
|
|
47
|
+
* Check if any navigation animation is running
|
|
48
|
+
*/
|
|
49
|
+
export declare function isNavigationAnimating(): boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Cancel all navigation animations
|
|
52
|
+
*/
|
|
53
|
+
export declare function cancelNavigationAnimations(): void;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Scale } from '../../scales';
|
|
2
|
+
import { AxisOptions } from '../../types';
|
|
3
|
+
import { Series } from '../Series';
|
|
4
|
+
|
|
5
|
+
export interface AxisManagerContext {
|
|
6
|
+
xAxisOptions: AxisOptions;
|
|
7
|
+
xScale: Scale;
|
|
8
|
+
yAxisOptionsMap: Map<string, AxisOptions>;
|
|
9
|
+
yScales: Map<string, Scale>;
|
|
10
|
+
primaryYAxisId: string;
|
|
11
|
+
series: Map<string, Series>;
|
|
12
|
+
requestRender: () => void;
|
|
13
|
+
}
|
|
14
|
+
export declare class ChartAxisManager {
|
|
15
|
+
private ctx;
|
|
16
|
+
constructor(ctx: AxisManagerContext);
|
|
17
|
+
/**
|
|
18
|
+
* Add a new Y axis dynamically
|
|
19
|
+
*/
|
|
20
|
+
addYAxis(options: AxisOptions): string;
|
|
21
|
+
/**
|
|
22
|
+
* Remove a Y axis by ID
|
|
23
|
+
*/
|
|
24
|
+
removeYAxis(id: string): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Update Y axis configuration
|
|
27
|
+
*/
|
|
28
|
+
updateYAxis(id: string, options: Partial<AxisOptions>): void;
|
|
29
|
+
/**
|
|
30
|
+
* Update X axis configuration
|
|
31
|
+
*/
|
|
32
|
+
updateXAxis(options: Partial<AxisOptions>): void;
|
|
33
|
+
/**
|
|
34
|
+
* Get Y axis configuration by ID
|
|
35
|
+
*/
|
|
36
|
+
getYAxis(id: string): AxisOptions | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Get all Y axes configurations
|
|
39
|
+
*/
|
|
40
|
+
getAllYAxes(): AxisOptions[];
|
|
41
|
+
/**
|
|
42
|
+
* Get the primary Y axis ID
|
|
43
|
+
*/
|
|
44
|
+
getPrimaryYAxisId(): string;
|
|
45
|
+
/**
|
|
46
|
+
* Get X axis configuration
|
|
47
|
+
*/
|
|
48
|
+
getXAxis(): AxisOptions;
|
|
49
|
+
/**
|
|
50
|
+
* Get X scale
|
|
51
|
+
*/
|
|
52
|
+
getXScale(): Scale;
|
|
53
|
+
/**
|
|
54
|
+
* Get Y scale by axis ID
|
|
55
|
+
*/
|
|
56
|
+
getYScale(axisId?: string): Scale | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Get all Y scales
|
|
59
|
+
*/
|
|
60
|
+
getAllYScales(): Map<string, Scale>;
|
|
61
|
+
}
|