| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| Custom Axis Tick Formatters _ Example Gallery Enhancements source code.tar.gz | 2026-02-25 | 7.9 MB | |
| Custom Axis Tick Formatters _ Example Gallery Enhancements source code.zip | 2026-02-25 | 8.1 MB | |
| README.md | 2026-02-25 | 4.7 kB | |
| Totals: 3 Items | 15.9 MB | 0 | |
ChartGPU v0.2.9 – Custom Axis Tick Formatters & Example Gallery Enhancements [[github](https://github.com/ChartGPU/ChartGPU/pull/140)](https://github.com/ChartGPU/ChartGPU/pull/140) github
Highlights
- Adds a new
AxisConfig.tickFormatterAPI for fully customizable axis tick label formatting on both value and time axes, includingnull-based label suppression for selectively hiding labels. [[github](https://github.com/ChartGPU/ChartGPU/pull/140)](https://github.com/ChartGPU/ChartGPU/pull/140) github - Wires
tickFormatterthrough the render pipeline, includingrenderAxisLabelsand adaptive time-axis tick computation, so layout decisions are driven by the actual formatted label widths. [[github](https://github.com/ChartGPU/ChartGPU/pull/140)](https://github.com/ChartGPU/ChartGPU/pull/140) github - Introduces a dedicated
tick-formatterexample page that demonstrates percentage, duration, custom time, and integer-only label patterns with clear visual behavior. [[github](https://github.com/ChartGPU/ChartGPU/pull/140)](https://github.com/ChartGPU/ChartGPU/pull/140) github
Documentation Updates
- Extended
docs/api/options.mdwith a detailed description ofAxisConfig.tickFormatter, including behavior notes, usage guidance, and inline examples for both value and time axes. [[github](https://github.com/ChartGPU/ChartGPU/pull/140)](https://github.com/ChartGPU/ChartGPU/pull/140) github - Documented
null-return behavior so users can intentionally suppress specific tick labels without affecting tick placement or scale computation. [[github](https://github.com/ChartGPU/ChartGPU/pull/140)](https://github.com/ChartGPU/ChartGPU/pull/140) github
Example Gallery
- Added a new
tick-formatterexample (HTML + TS) showcasing: percentage y-axis labels (0–1 → 0%–100%), duration y-axis labels (seconds → d/h/m), custom time x-axis labels via locale date formatting, and integer-only x-axis labels usingnullto hide fractional ticks. [[github](https://github.com/ChartGPU/ChartGPU/pull/140)](https://github.com/ChartGPU/ChartGPU/pull/140) github - Improved the bottom-left chart configuration in the example to make tick formatter differences easier to see at a glance. [[github](https://github.com/ChartGPU/ChartGPU/pull/140)](https://github.com/ChartGPU/ChartGPU/pull/140) github
Internals & Testing
- Integrated
tickFormatterintorenderAxisLabelsfor both x and y axes and intocomputeAdaptiveTimeXAxisTicks, ensuring adaptive time-axis tick counts account for formatted label widths. [[github](https://github.com/ChartGPU/ChartGPU/pull/140)](https://github.com/ChartGPU/ChartGPU/pull/140) github - Added targeted tests for axis label rendering and adaptive time-axis ticks to validate custom formatter handling and
null-based label suppression across value and time axes. [[github](https://github.com/ChartGPU/ChartGPU/pull/140)](https://github.com/ChartGPU/ChartGPU/pull/140) github
Repository Hygiene
- Updated
.gitignoreto excludedocs/plans/, keeping local design and implementation plan documents out of version control. [[github](https://github.com/ChartGPU/ChartGPU/pull/140)](https://github.com/ChartGPU/ChartGPU/pull/140) github - Removed previously tracked files under
docs/plans/so the repository stays focused on source, docs, and runnable examples. [[github](https://github.com/ChartGPU/ChartGPU/pull/140)](https://github.com/ChartGPU/ChartGPU/pull/140) github