Upgrade to version 0.1.3 and enhance ChartGPU API#11
Merged
hunterg325 merged 2 commits intomainfrom Feb 16, 2026
Merged
Conversation
- Bump version in package.json and package-lock.json to 0.1.2. - Update @chartgpu/chartgpu dependency to version 0.2.8. - Introduce new event handlers: onDataAppend and onDeviceLost for improved data streaming and device management. - Add support for external render mode in the ChartGPU component, allowing manual frame rendering. - Enhance documentation to reflect new features and usage examples, including shared GPU context for multi-chart dashboards.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrade
chartgpu-reactto use@chartgpu/chartgpuv0.2.8 and expose new streaming, external render, and shared GPU context features through the React wrapper.[page:1]Changes
chartgpu-reactpackage version to0.1.2and update dependency to@chartgpu/chartgpu@0.2.8.[page:1]ChartGPUcomponent event props withonDataAppendandonDeviceLost, wiring them to the upstream'dataAppend'and'deviceLost'events for better streaming telemetry and device-loss handling.[page:1]ChartGPUHandleimperative API withneedsRender,renderFrame,getRenderMode, andsetRenderModeto support external render mode and app-owned render loops.[page:1]gpuContextprop anduseGPUContexthook to enable multi-chart dashboards that share aGPUDevice(and optional pipeline cache) across charts for better performance.[page:1]appendDatatyping and docs to accept the full Cartesian series data superset (DataPoint[],XYArraysData,InterleavedXYData) in addition toOHLCDataPoint[], and document the newChartGPUDataAppendPayloadand related streaming types.[page:1]README,GETTING_STARTED,API.md,chartgpu-component.md,chartgpu-handle.md,hooks.md,llm-context.md, streaming recipe) to describe the new hooks, types, events, external render mode, and multi-chart dashboard patterns.[page:1]requestAnimationFrameloop and a streaming multi-chart dashboard that shares GPU context and surfacesonDataAppend/onDeviceLoststatus in the UI.[page:1]Notes
ChartGPUusage; new capabilities are additive and gated behind new props, hooks, and types.[page:1]