| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-02-25 | 3.4 kB | |
| v0.3.1 source code.tar.gz | 2026-02-25 | 7.9 MB | |
| v0.3.1 source code.zip | 2026-02-25 | 8.1 MB | |
| Totals: 3 Items | 16.0 MB | 0 | |
Highlights [github](https://github.com/ChartGPU/ChartGPU/pull/142)
- Touch-friendly inside zoom for mobile:
createInsideZoomnow supports single-finger panning and two-finger pinch-to-zoom on touch devices using the existingZoomStateAPIs. [github](https://github.com/ChartGPU/ChartGPU/pull/142) - Mobile zoom reset button: New
createZoomResetButtonappears on touch devices when the chart is zoomed and lets users reset to the full domain with a single tap. [github](https://github.com/ChartGPU/ChartGPU/pull/142) - Lifecycle-aware integration: The zoom reset button is only created when
dataZoomincludes aninsideconfiguration, responds to theme changes, and is disposed with the chart coordinator. [github](https://github.com/ChartGPU/ChartGPU/pull/142) - Expanded touch interaction tests: Vitest + jsdom tests now cover
createInsideZoomtouch gestures andcreateZoomResetButtonbehavior, visibility, and theming. [github](https://github.com/ChartGPU/ChartGPU/pull/142) - Improved DOM test setup:
jsdomhas been added as a dev dependency to support DOM-based interaction tests in a Node environment. [github](https://github.com/ChartGPU/ChartGPU/pull/142)
Release notes [github](https://github.com/ChartGPU/ChartGPU/pull/142)
This release adds first-class mobile support to createInsideZoom, enabling single-finger panning and two-finger pinch-to-zoom on touch devices while reusing the existing ZoomState infrastructure. These interactions close a key usability gap for touch users who previously could not smoothly navigate zoomed charts. [github](https://github.com/ChartGPU/ChartGPU/pull/142)
To make zooming on mobile safer and more discoverable, a dedicated createZoomResetButton component now appears when the chart is zoomed on touch devices and restores the view to the full domain in one tap. The button is wired into the ChartGPU lifecycle so it is created only when dataZoom uses an inside zoom, updates when the theme changes, and is cleaned up with the coordinator. [github](https://github.com/ChartGPU/ChartGPU/pull/142)
On the quality side, new vitest + jsdom tests exercise the touch gesture handling in createInsideZoom (including single-finger pan, pinch-to-zoom, and pointer cleanup) as well as the zoom reset button’s visibility, behavior, and theming across touch and non-touch environments. A jsdom dev dependency was added to support these DOM-oriented tests in CI and local development. [github](https://github.com/ChartGPU/ChartGPU/pull/142)