| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| Line Segmentation _ _connectNulls_ Support source code.tar.gz | 2026-02-26 | 7.9 MB | |
| Line Segmentation _ _connectNulls_ Support source code.zip | 2026-02-26 | 8.1 MB | |
| README.md | 2026-02-26 | 4.4 kB | |
| Totals: 3 Items | 16.0 MB | 0 | |
Release Notes — Line Segmentation & connectNulls Support
Highlights
- Line & Area Segmentation via
nullgaps — Lines and area series can now be visually broken into discrete segments by insertingnullentries into your data array. This enables accurate representation of missing data, maintenance windows, trading halts, and session boundaries without hacking around the data model. connectNullsoption — A newconnectNullsboolean option on line and area series lets you toggle between bridging overnullgaps (legacy behavior) or rendering true visual breaks (new default). Works with both array and columnar data formats.- WebGPU shader-level gap detection — NaN/null gap awareness is now built directly into the line vertex shader and area vertex generation, ensuring GPU-side rendering correctly handles discontinuous data with zero CPU overhead per frame.
- Sampling bypass for gapped data — The data pipeline automatically detects null gaps and bypasses the sampling stage to preserve segment boundaries, preventing gaps from being silently dropped during downsampling.
- New
exchange-gapsexample — A fully interactive demo showcasing exchange maintenance gaps,connectNullstoggling, multi-asset outages, and trading session concatenation.
What's New
Core Types
- Widened
CartesianSeriesDatato acceptnullentries for line and area series (5ee761c) - Added
connectNullsoption to line and area series configs (992886a)
Options & Data Pipeline
- Resolve
connectNullsfor line and area series in the options layer (9a5aea9) - Add
connectNullsfilter in the data upload path (0b8d1fd) - Bypass sampling when data contains null gaps (
88044c0)
Rendering & Shaders
- Add NaN gap detection to the line vertex shader (
7acc83a) - Handle null gaps in area renderer vertex generation (
0c6ba74) - Fix
connectNullshandling with columnar data formats (be58df7)
Examples
- Add
exchange-gapsexample (HTML + TS) demonstrating null gap support,connectNullstoggle, multi-asset outages, and trading session concatenation (336755b) - Improve
exchange-gapsexample readability (28318d1)
Tests
- Add
packXYIntounit tests for null gap entries (670ce7f) - Add
line-gapsacceptance test covering null-gap detection, filtering, bounds computation, option resolution, and sampling bypass behavior (c0197ba)
Documentation
- Document null-gaps / line segmentation behavior and
connectNullsindocs/api/options.md(1dcb881) - Surface the feature in the README and examples index
Housekeeping
- Remove internal docs/plans from tracking (
3353a7b)
Related
- Closes #103 — [Feature]: multiple segments for a line
- Pull Request: #144 — Feat/add line segmentation