Releases: vizzuhq/vizzu-lib
Releases · vizzuhq/vizzu-lib
v0.10.1
v0.10.0
Fixed
- Json serializer control character escape fixed. Some unicode characters
were not escaped properly. - Fix dimension label transition on axis and legend.
- Through event handler call, when a new event handler is registered, undefined behaviour happened.
- Fixed channel reset with empty array when shorthands plugin switched off.
- Legend label outerRect was not properly calculated.
- Line chart connector circles color was not contained the alpha channel.
- Line chart draws was overwrite the event's settings.
- Legend title outerRect was not properly calculated.
- Fixed stacked empty min/max aggregated values.
- Fixed error when an animation triggered during tooptip activation which removed the corresopnding marker.
Added
- In config channels, data series and their aggregators can be specified separately
in a descriptor object, besides encoding them into one string (old way). - Added optional
categories
member to thelegend-marker
,legend-label
andplot-axis-label
events. - Remove unused marker selection and selected marker coloring.
- Removed marker's alpha color when tooltip is shown.
- Remove cursor modification over logo.
- Make
channel.step
option to work on dimensions. - When X axis dimension labels are close to each other, they are rotated to avoid overlapping.
- The event handler registration order changed. Now the handlers are called in the opposite order of the registration.
- Added the padded rectangle, the bounding rectangle and the align parameter to the draw text event object.
- Tooltip works on marker labels too.
v0.9.3
Fixed
- Orientation and channel min/max cannot be null, only auto
- Corrected listing of Type-fest dependency from development to normal.
- Added missing
cvizzu.d.ts
andcvizzu.types.d.ts
to the npm package. - Logo positioning issue in charts when only the logo is rendered and the chart is resized.
- API issue where exact chart position was not accurately queried during mouse events.
- Missing space between value and unit in axis labels.
- Bug fixed where rendered label units disappeared when target plot did not contain a unit.
- Configuration of experimental plot rotation feature changed from relative
rotate
to absoluteangle
.
Added
- Units on legend.
v0.9.2
Fixed
- Fixed redraw on browser zoom (bug since 0.9.0).
- Fixed clearing of the canvas before rendering when devicePixelRatio is not 1.
- TypeScript definition fixed, measures can contain null values.
Added
- Animation control object expose properties
position
,direction
,speed
andplayState
to be able to query the current state of the animation, and
to be more conform with the Web Animation API.
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
unit
parameter introduced, undocumented unit parsing from
parameter name string removed. - New parameters for the chart:
subtitle
andcaption
. - New
speed
parameter 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
,rendering
features can be disabled through
Vizzu.feature()
- TypeScript interface made more typesafe, while the javascript api got ported to TypeScript.
pointeron
event removed,pointerleave
event added.Vizzu.feature.htmlCanvas.element
introduced 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.