Skip to content

Upgrade ChartGPU React bindings to the latest core package and expand the public API surface for advanced sync and interaction workflows. #10

Merged
hunterg325 merged 2 commits intomainfrom
upgrade-chartgpu-version
Feb 11, 2026
Merged

Upgrade ChartGPU React bindings to the latest core package and expand the public API surface for advanced sync and interaction workflows. #10
hunterg325 merged 2 commits intomainfrom
upgrade-chartgpu-version

Conversation

@hunterg325
Copy link
Collaborator

Upgrade ChartGPU React bindings to the latest core package and expand the public API surface for advanced sync and interaction workflows. [page:1]

  • Switch peer dependency to @chartgpu/chartgpu and update all docs, examples, and dev linking instructions accordingly. [page:1]
  • Refresh README with branding assets, performance positioning, and badges (Hacker News, Awesome WebGPU, WebGPU badge). [page:1]
  • Extend ChartGPUHandle with setZoomRange, setInteractionX, getInteractionX, and hitTest for programmatic zoom, crosshair control, and hit-testing ergonomics (including React nativeEvent guidance). [page:1]
  • Add new re-exported core types from chartgpu-react (zoom range payloads, hit-test types, sync options, style/legend/tooltip/animation/performance types) for single-import DX. [page:1]
  • Move onZoomChange from polling getZoomRange() to subscribing to the upstream zoomRangeChange event, with initial hydration of the current zoom range. [page:1]
  • Enhance useConnectCharts and connectCharts to accept ChartSyncOptions (syncCrosshair, syncZoom) and document new patterns for synced zoom/crosshair, including reconnection behavior when options change. [page:1]
  • Update LLM-oriented docs (llm-context.md, recipes, API pages) to reflect the new core package name, patched createAnnotationAuthoring behavior against chartgpu@0.2.5+, and new sync/interaction capabilities. [page:1]

- Bump version from 0.1.0 to 0.1.1 in package.json and package-lock.json.
- Replace deprecated `chartgpu` references with `@chartgpu/chartgpu` throughout the codebase.
- Introduce new features in the ChartGPU component, including programmatic zoom control and improved event handling.
- Update README and API documentation to reflect changes and provide clearer usage examples.
- Add new assets for enhanced visual representation in documentation.
@hunterg325 hunterg325 merged commit ff2ea6d into main Feb 11, 2026
@hunterg325 hunterg325 deleted the upgrade-chartgpu-version branch February 11, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant