Repository navigation
v0.9.0 — strict nested config, negative bars, tickFormat, bearing arrows
v0.9.0 -- strict nested config, bars with negative values, tickFormat, bearing arrows
Internal release, not published to npm. The first published release will be 1.0.0,
after this one has run live for a while.
Changed
- paletteColors(name, classes) and preset(name) replace resolvePalette and resolvePreset.
- Nested options are validated like top-level ones: a typo in x/y, color, margin, points,
arrows, labels, voronoi, zoom, crosshair, bands or a series entry throws with a
did-you-mean, and so does an unknown key in update()'s ranges argument. - line: lines defaults on (off on a stacked chart); the crosshair event carries { x, pixel }
and syncCrosshair no longer needs zoom. - scatter: arrows take a compass bearing in degrees (headAngle in degrees too); points join
on id only, label is display text. - x.timeFormat is x.tickFormat ('multi', a format string, or a function) on both axes.
- bars: a datum's own color is used when present (colorPerData is gone).
- Assigning x/y preset, convert, tickFormat or tickLabels, color.quantize or preset, or
graph.width now throws like the other build-time keys.
Added
- bars take negative values: grouped bars hang from zero, stacked bars pile positives up
and negatives down.
Removed
- The six LS- palettes (site-specific) and every migration error for names that were
only ever in internal builds.
Docs
- README reorganized around the 14 patterns the API follows.