Repository navigation
v0.7.0 — Pre-1.0 hardening
v0.7.0 -- Pre-1.0 hardening
Internal release, not published to npm. The first published release will be 1.0.0,
after this one has run live for a while.
Fixed
- The caller's config object was used as the chart object, so a second chart built from
the same config silently corrupted the first -- its height drifted, both handles
pointed at one chart, and destroy() left the first orphaned in the DOM. - The stylesheet's bare #title/.tick/.axis selectors restyled host-page elements just
from loading the file. Everything is now scoped under .easygraph. - Only line charts re-rendered their axes on resize; bars/heatmap/scatter left ticks
frozen outside the plot area. - The package's main entry crashed on require/import, and 17 internal helpers leaked
onto window. Both solved by the new UMD wrapper. - heatmap.update([]) threw; update() on a destroyed chart silently succeeded; a height
smaller than its own margins produced a negative plot area; mode/scale/orientation
typos rendered the wrong chart with no complaint.
Changed
- areas -> ribbons, interpolate -> curve, oneYear -> timeFormatMulti, noTick ->
tickLabels, PALETTE_COLORS -> paletteColors, orientation 'v'/'h' -> full words,
bars' d.c -> d.color, update(data, xRange, yRange) -> update(data, ranges). - The six hand-picked palettes now carry an LS- marker.
Added
- UMD build; accessibility (role/aria-label/<title>); stackedArea; per-point bubble
radius; legendItems() plus anamesconfig; ranges.color; data-shape validation;
and a Public API section defining what semantic versioning actually covers.
130 tests, up from 74.