# LineChart changelog
Read the complete [LICENSE](https://snowui.dev/LICENSE) for the installed version before use.
Reviewed against Chinese source SHA-256 `b58a2a351d3b41fe3656af2e5f61758b820c22c8e0707bedea8ccf0bbcee7bb7`. For version differences, check the installed package as well.
### v1.6.4 (2026-10-23)
- Retain a 4 CSS px floor for the shared HoverPanel dot-to-name and name-to-value gaps in LTR and RTL. Preserve the default 4px / 8px gaps, larger tokens, chart geometry, and center annotations.
### v1.6.3 (2026-10-20)
- Localized the built-in root accessible name and data-cell group name through the shared locale protocol. Explicit aria-label values retain priority; business names and numeric formatting remain unchanged.
- 2026-09-21: Unified the usage guide, source property table, and Site / AI reading entry points. Documentation only; component behavior is unchanged.
### v1.6.1 (2026-09-05)
- Multi-series appearance now computes one linear timeline per frame. Raw HoverPanel pointer events no longer read layout synchronously; coordinate conversion is combined by render frame. Public API, paths, markers, duration, visuals, and interaction semantics are unchanged.
### v1.6.0 (2026-09-03)
- Added `showBaseLayer=false` to enable same-color outlines at their final size on demand. Real graphics and entrance motion retain their behavior.
- `adaptiveContrast` is enabled by default; explicit disabling and child-chart overrides remain available.
### v1.5.0 (2026-09-03)
- `adaptiveContrast` now uses shared adaptive black-and-white contrast. Toggle defaults, colored foregrounds, hit testing, and node-state semantics remain; the chart-private experimental implementation was removed.
### v1.4.2 (2026-09-02)
- HoverPanel now defaults to `pointer` positioning and follows the mouse. Area hover still defaults to `cell`; explicit placement / hoverMode settings take precedence.
### 2026-09-02
- HoverPanel is enabled by default, retaining the light appearance.
### v1.4.1 (2026-09-02)
#### Adjustments
- Top value labels no longer enlarge the safety area. They remain `4px` above nodes and may overflow the plot area’s top edge; default color is Black/100%.
### v1.3.5 (2026-09-01)
#### Adjustments
- Automatic domain upper bound now uses the actual maximum data value, so the highest nice tick no longer exceeds it. Only content determines the top safety area.
### v1.3.4 (2026-08-31)
#### Adjustments
- The top is now a content-aware safety area computed from the Y axis, hover label, line width, and marker radius. Automatic nice-domain selection was tightened as well.
### v1.3.3 (2026-08-31)
#### Adjustments
- Removed extra top and bottom whitespace from the Cartesian plot area; only the `24px` needed by X-axis labels remains at the bottom.
### v1.3.2 (2026-08-31)
#### Adjustments
- Y-axis width now adapts to the actual rendered width of the widest visible label, with a fixed `12px` gap to the plot area.
### v1.3.1 (2026-06-07)
#### Adjustments
- Markers now have two circular layers: an 8×8 Black/100% circle underneath and a 4×4 White/100% circle above, without a node shadow.
- Marker hover / focus gained inverted colors and a 0.5px Black/100% round-capped vertical line behind the node.
### v1.3.0 (2026-06-04)
#### New features
- Added shared Chart `colorMode`: `sequence`, `monochromeFade`, and `monochrome`.
- Added primary `color` plus separate `monochromeColor` / `mutedMonochromeColor` entries. All three color modes support per-series custom colors through `series[i].color` and `colors[i]`.
### v1.2.0 (2026-06-03)
#### Adjustments
- Removed internal example data defaults; `series` and `xLabels` now default to `[]`.
- `LC-01` and `LC-09` examples now pass monthly data explicitly. `LC-09` became a full coordinate chart showing rounded line corners in a realistic chart.
- The X axis supports `cell` and `edge` point-position models. In `edge`, the first and last data points and guides align with both plot-area edges, while end label boxes may shift inward to remain fully visible. Long labels thin only their text; all data points and interactions keep their original indices.
- Retained only rounded-corner polylines and removed the `curve` API. `cornerRadius=0` produces straight lines.
- Y-axis ticks are generated as nice ticks from data. The default color sequence returned to ChartSpec, and default line width changed to 1px.
- Consolidated Area API to `area: boolean`, using a gradient from the current line color to 0% opacity. Default marker size changed to 12px; individual points cannot override color.
### v1.1.0 (2026-06-03)
#### New features
- Added shared Chart entrance-motion API, scrolling timeline, controlled progress, and `replay()` / `resetAppearance()` / `reverseAppearance()` methods.
- Added a complete base layer and transparent marker hit circles, bringing layers and interactions closer to ChartSpec.
- Added `cornerRadius` for mostly straight segments with local rounded turns. It later became the sole line-shape API.
### v1.0.0 (2026-06-03)
#### New features
- Initial release with multiple series, solid / dashed lines, X and Y axes, horizontal grid, and customizable markers.
- Supports `series[].area`, combining Area fill with solid or dashed lines.
[Component guide](https://snowui.dev/llms/en/components/line-chart.md) · [Full reference](https://snowui.dev/llms/en/components/line-chart/reference.md)