| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-02-19 | 2.5 kB | |
| v0.2.9 -- Bug fixes source code.tar.gz | 2026-02-19 | 7.9 MB | |
| v0.2.9 -- Bug fixes source code.zip | 2026-02-19 | 8.0 MB | |
| Totals: 3 Items | 15.9 MB | 0 | |
Release summary
Fixes a bug where legend configuration passed via options.legend was ignored, ensuring legend visibility and positioning now respect user-defined settings in ChartGPU. [github](https://github.com/ChartGPU/ChartGPU/pull/136)
What changed
- Legend options from
ChartGPU.create(container, { legend: { ... }, series: [...] })are now correctly applied, instead of using a hard-coded legend configuration. [github](https://github.com/ChartGPU/ChartGPU/pull/136) - The legend’s
showflag now properly hides or shows the legend when set (for example,show: falsecorrectly removes the legend from the chart). [github](https://github.com/ChartGPU/ChartGPU/pull/136) - The legend’s
position(such as"bottom") is now honored, allowing developers to move the legend without layout workarounds. [github](https://github.com/ChartGPU/ChartGPU/pull/136)
Impact
- This is a non-breaking bugfix that makes existing public legend options behave as originally intended. [github](https://github.com/ChartGPU/ChartGPU/pull/136)
- No performance impact is expected due to the minimal nature of the change (1 addition, 1 deletion). [github](https://github.com/ChartGPU/ChartGPU/pull/136)
- Behavior was manually verified in Chrome 113+ with screenshots demonstrating
show: falseandposition: "bottom". [github](https://github.com/ChartGPU/ChartGPU/pull/136)
New Contributors
- @ngripon made their first contribution in https://github.com/ChartGPU/ChartGPU/pull/136
Developer notes
- Legend options remain undocumented in
docs/api/options.md; the PR assumes they are part of the public API because they are already supported and now wired correctly. [github](https://github.com/ChartGPU/ChartGPU/pull/136) - For top/bottom legend positions, layout spacing may still require manual grid margin adjustments to avoid overlapping the plot area. [github](https://github.com/ChartGPU/ChartGPU/pull/136)
Full Changelog: https://github.com/ChartGPU/ChartGPU/compare/v0.2.8...v0.2.9