Releases: vizzuhq/vizzu-lib
Releases · vizzuhq/vizzu-lib
v0.9.1
v0.9.0
Fixed
- Implemented deep copying of received values to ensure the original data
remains unchanged during subsequent modifications. - detach() won't fail on not initialized chart.
- detach() removes the canvas if it was created by the lib.
- When the labelLevel was set to a value other than 0, the axis labels were
not displayed correctly. - From now orientation is a persistent setting too.
- Order-independent channel input processing.
- Filtered out markers were taken into account for measure type, and waterfall
chart dimension axis ranges. - When measure set on color channel, the color changes alongside the color range
instead of blending the starting and ending colors. - Pointer event coordinates fixed when canvas is in CSS transformed view.
- Title appearance and disappearance glitch is fixed.
- Anim.Control.seek() won't fail when Number passed instead of string.
- When animation canceled, promise rejected with proper custom error.
- No redraw on every mouse event.
- Anim options applies for the whole animation even when dimension changes
cause multi-step animations. - Animation between two version of the same chart is instant only if duration
is not explicitly set - Aggregators didn't work when there are parentheses in the name of the data
series - Layout stretched to the bottom of the canvas.
- Legend accepts only the acceptable channel values.
- From now the dimension axis title is shown if set.
- "step" was not listed in chart channel accessors.
Added
- Event objects are containing the element of the chart which the events were
triggered on. - Drawing events are containing drawing geometry in an improved format.
- Missing TypeScript definitions for Event objects added.
- Orientation new default parameter:
auto. - New dataseries
unitparameter introduced, undocumented unit parsing from
parameter name string removed. - New parameters for the chart:
subtitleandcaption. - New
speedparameter introduced for animation control object for setting
the speed of the animation. - Wasm module gets loaded only once, not per chart. Load can be triggered optionally
without any chart calling theVizzu.initialize()method, otherwise will be
initialized automatically on first chart creation. - Plugin interface introduced, new plugins can be registed through
Vizzu.feature(). - CSS parameter usage feature is disabled by default and can be enabled through
Vizzu.feature()with namecssProperties. shorthands,pointerEvents,pivotData,renderingfeatures can be disabled through
Vizzu.feature()- TypeScript interface made more typesafe, while the javascript api got ported to TypeScript.
pointeronevent removed,pointerleaveevent added.Vizzu.feature.htmlCanvas.elementintroduced to expose the underlying HTML canvas element.Vizzu.feature.rendering.update()introduced to trigger chart re-rendering.Vizzu.feature.coordSystem.toCanvas()/toRelative()converter functions to convert
between canvas and relative coordinates.
v0.8.1
Fixed
- Unregistering was not working correctly when the same callback was added for
multiple events. (#75) - The plot.marker.label.color setting now works in a way that modifies the
previously calculated color based on the transparency channel of the color
setting. (#144) - When rapidly clicking multiple times while the selection animation has not
finished, the library is aborted due to an exception. - At times, the chosen marker would disappear from the selections during
rapid mouse actions, leading to an exception being triggered. - Sometimes, during mouse actions, when the tooltip animation disappeared, the
marker information was null. With a new mouse action, when other tooltip
appeared, the marker transformation went from null to null, which caused an
exception.
v0.8.0
Fixed
- Missing Area/line marker rewireing (on orientation change,
base dimension change) added. - Fixed line drawing for line segments partially outside of the plot.
- Fixed label position for marker in polar origo.
- Axis labels won't shift if their 'side' style changed but
their 'position' style is also changing or they are fading out anyway. - Axis labels won't fade in partially when fading out but their 'position'
style is also changing. - Axis titles fade-in/out when changing position instead of traveling through
the chart. - Axis titles are rotating with the axis during cartesian/polar coordinate
system change. - Fixed unintentional separate animation steps for specific dimension change
animations. - Fixed JS exception mishandling as C++ exception when thrown from webassembly.
- Fixed showing big numbers greater than 18446744073709551615.
- Fixed mouse events/selection on line-segment markers.
- Vertical polar area chart tangential borders "follow" the coordinate system
instead of being forced to remain straight.
Added
- New&renamed mouse events: pointeron, pointermove, pointerdown, pointerup
- New drawing events: draw-begin, draw-complete, plot-area-draw
- 'step' channel config parameter for set interlacing/tick/label intervals
on axises. - 'plot.areaColor' style parameter added.
- Marker click works mid-animation.
- Various aggregator functions for channels beside previous sole summing:
'min()', 'max()', 'mean()', 'sum()', 'count()', 'distinct()'. - New, fast bubble chart algorithm.
- Data records can be specified via objects beside arrays.
- Area/line rewiring animation (aka. connection) can be configured separately
in animation options. - WASM Binary size reduction.
v0.7.2
Fixed
- Animation finishes also it begining reached at reverse play.
- Fixed garbage collection of stored charts and animations.
- If dimension data series re-added, previously existed categories and order
will remains.
Added
- New 'direction' anim option introduced.
v0.7.1
v0.7.0
Fixed
- Fixed the UnPivot.convert method not modifying the original data object.
- Axis line, labels, ticks, interlacing and guide can be set to auto.
- Simple fade in case of empty target chart
- Fixed length serialization in style() for % unit.
- Fixed missing rendering update when duration is 0 in first animate call.
- Fixed error on multiple calls of the JS chart's 'data' property.
- Fixed disapearing title from empty charts.
- Fixed animation cancelling, did not trigger promise rejection.
- Fixed chart state reset on animation cancel. Used the target chart's config
further on despite the cancellation. - Fixed the type definition of Snapshot in the d.ts file.
Added
- 'regroupStrategy' animation option introduced to control the algorithm for
transitioning between charts having the data grouped differently on them
(containing a different set of categorical dataseries). - Multi keyframe animation support (one animation through multiple chart).
- 'style' property returns the style object only filled with the user-set
values, all the values (returned by this property till 0.6.x) can be get
using the new 'getComputedStyle()' method. - detach() method added to JS API for enabling proper garbage collection.
- Actual animation can be stored for later reuse through Anim.Control.store()
method. - animate() returned promise is not an animation controller object from now on,
but has a member promise called 'activated', which resolves to the controller. - New style parameter, 'numberScale' has been introduced for setting the scale
system for big numbers e.g.: K M B T or k m bn tn. - Improved default options for animations: marker geometry, marker fade-in,
marker position, coordinate system, title.
Full Changelog: v0.6.1...v0.7.0
v0.6.1
Fixed
- Treemap fixed for data series containing negative values.
Added
- Transition (instead of fade) between chart showing different categorical dataseries.
Full Changelog: v0.6.0...v0.6.1
v0.6.0
Fixed
- Label side parameter animation fixed.
- Parsing color palette string containing space fixed.
- Fixed fontStyle change triggers animation now.
- Fixed label angle setting with deg/grad/turn units.
- Eliminated unnecessary turns in Label angle animation.
- Fixed animation section wise easing settings.
- Area/line marker label fade-in/out fixed.
- Rare missing marker on polar scatterplot fixed.
- Markers drawn even if data point is outside of the plot,
if the marker intersects it. - Fixed unwanted partial fade of non-changing legend when switched
between auto and explicit value. - Area/Line fade easing base made linear.
- Fixed missing last interlacing lane in negative chart areas
Added
- Axis line, labels, ticks, interlacing and guide can be switched on/off
via channel config parameters. - Padding defaults changed.
- Marker labels added for some presets.
Full Changelog: v0.5.2...v0.6.0
v0.5.2
Fixed
- Marker guides switch off on polar scatterplots for performance purposes.
- Fixed unintentional size change of circle markers during polar-cartesian
coordinate system change and animation from/to treemap. - Fixed line width animation when geometry is changing.
- Removed unwanted move around of marker linking first and last data point in
polar coordinates during animation.
Full Changelog: v0.5.1...v0.5.2