Skip to content

Releases: vizzuhq/vizzu-lib

v0.11.1

31 May 12:16
ecb9923
Compare
Choose a tag to compare

Fixed

  • Remove hardly visible dimension axis guides between animation steps.
  • Do not calculate disabled markers to the color normalization.
  • More precise TS type for transform matrix in event handlers.
  • Add missing canvas change function in htmlcanvas plugin.
  • On split charts the first range was not part of the separation calculation.
  • When the first marker was disabled it was calculated as an enabled marker on the XY normalization.
  • Sorted or reversed marker connections behaved chaotic at coordinate system change.

v0.11.0

23 May 09:32
a60dd10
Compare
Choose a tag to compare

Fixed

  • next() can be called multiple times from Plugin hooks
  • Fixed nan handling on non-axis charts.
  • Line and circle chats with only dimensions on x, and y axes the markers were off the axis labels.
  • Crash on TreeMap only with negative values
  • On dimension axis where no marker, print the dimension name as default title.
  • On measure axis with specified channel min-max where no marker, print the labels.
  • Legend markers are not flickering on same data.
  • From now legend appears/disappears linear time.
  • Axis labels are not animated to a different axis label.
  • Dimension axis density on sorted values was wrongly calculated.
  • Tooltip with 'seriesName' does not rewrite first series data.
  • Handle as different category the empty string and the missing value.
  • On chart resize, the font size is recalculated.
  • Dim-Dim on x-y shows separated rectangles.

Added

  • New plugins and plugin hooks introduced:
    • plugin: scheduler - plugin resposible for scheduling the rendering
    • plugin: clock - supplying the current time for the animation
    • plugin: canvasRenderer - plugin for rendering the chart on a htmlcanvas compatible canvas
    • hook: start - hook for starting the rendering loop
    • hook: render - hook for rendering the chart
  • Chart generation performance optimization: ~3x speed
  • Maximum marker limit increased: ~2x count
  • Reduced wasm binary size: ~3%

v0.10.1

12 Mar 11:47
993e116
Compare
Choose a tag to compare

Added

  • Updated type-fest dependency version to 4.12.0

v0.10.0

11 Mar 13:48
83927ca
Compare
Choose a tag to compare

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 the legend-marker, legend-label and plot-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

20 Dec 16:49
0f9a5a2
Compare
Choose a tag to compare

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 and cvizzu.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 absolute angle.

Added

  • Units on legend.

v0.9.2

22 Nov 15:57
c24c565
Compare
Choose a tag to compare

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
    and playState to be able to query the current state of the animation, and
    to be more conform with the Web Animation API.

v0.9.1

15 Nov 17:13
dc1513f
Compare
Choose a tag to compare

Fixed

  • Fixed crash on splitted chart with no measure.
  • Fixed refresh of chart when duration is 0.

v0.9.0

10 Nov 09:32
Compare
Choose a tag to compare

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 and caption.
  • 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 the Vizzu.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 name cssProperties.
  • 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

15 Aug 18:08
5ffeff9
Compare
Choose a tag to compare

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

12 Jul 12:48
220070c
Compare
Choose a tag to compare

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.