UNPKG

12.7 kBMarkdownView Raw
1# Changelog
2
3## [0.9.1] - 2023-11-15
4
5### Fixed
6
7- Fixed crash on splitted chart with no measure.
8- Fixed refresh of chart when duration is 0.
9
10## [0.9.0] - 2023-11-10
11
12### Fixed
13
14- Implemented deep copying of received values to ensure the original data
15 remains unchanged during subsequent modifications.
16- detach() won't fail on not initialized chart.
17- detach() removes the canvas if it was created by the lib.
18- When the labelLevel was set to a value other than 0, the axis labels were
19 not displayed correctly.
20- From now orientation is a persistent setting too.
21- Order-independent channel input processing.
22- Filtered out markers were taken into account for measure type, and waterfall
23 chart dimension axis ranges.
24- When measure set on color channel, the color changes alongside the color range
25 instead of blending the starting and ending colors.
26- Pointer event coordinates fixed when canvas is in CSS transformed view.
27- Title appearance and disappearance glitch is fixed.
28- Anim.Control.seek() won't fail when Number passed instead of string.
29- When animation canceled, promise rejected with proper custom error.
30- No redraw on every mouse event.
31- Anim options applies for the whole animation even when dimension changes
32 cause multi-step animations.
33- Animation between two version of the same chart is instant only if duration
34 is not explicitly set
35- Aggregators didn't work when there are parentheses in the name of the data
36 series
37- Layout stretched to the bottom of the canvas.
38- Legend accepts only the acceptable channel values.
39- From now the dimension axis title is shown if set.
40- "step" was not listed in chart channel accessors.
41
42### Added
43
44- Event objects are containing the element of the chart which the events were
45 triggered on.
46- Drawing events are containing drawing geometry in an improved format.
47- Missing TypeScript definitions for Event objects added.
48- Orientation new default parameter: `auto`.
49- New dataseries `unit` parameter introduced, undocumented unit parsing from
50 parameter name string removed.
51- New parameters for the chart: `subtitle` and `caption`.
52- New `speed` parameter introduced for animation control object for setting
53 the speed of the animation.
54- Wasm module gets loaded only once, not per chart. Load can be triggered optionally
55 without any chart calling the `Vizzu.initialize()` method, otherwise will be
56 initialized automatically on first chart creation.
57- Plugin interface introduced, new plugins can be registed through `Vizzu.feature()`.
58- CSS parameter usage feature is disabled by default and can be enabled through
59 `Vizzu.feature()` with name `cssProperties`.
60- `shorthands`, `pointerEvents`, `pivotData`, `rendering` features can be disabled through
61 `Vizzu.feature()`
62- TypeScript interface made more typesafe, while the javascript api got ported to
63- TypeScript.
64- `pointeron` event removed, `pointerleave` event added.
65- `Vizzu.feature.htmlCanvas.element` introduced to expose the underlying HTML canvas element.
66- `Vizzu.feature.rendering.update()` introduced to trigger chart re-rendering.
67- `Vizzu.feature.coordSystem.toCanvas()`/`toRelative()` converter functions to convert
68 between canvas and relative coordinates.
69
70
71## [0.8.1] - 2023-08-15
72
73### Fixed
74
75- Unregistering was not working correctly when the same callback was added for
76 multiple events. (#75)
77- The plot.marker.label.color setting now works in a way that modifies the
78 previously calculated color based on the transparency channel of the color
79 setting. (#144)
80- When rapidly clicking multiple times while the selection animation has not
81 finished, the library is aborted due to an exception.
82- At times, the chosen marker would disappear from the selections during
83 rapid mouse actions, leading to an exception being triggered.
84- Sometimes, during mouse actions, when the tooltip animation disappeared, the
85 marker information was null. With a new mouse action, when other tooltip
86 appeared, the marker transformation went from null to null, which caused an
87 exception.
88
89## [0.8.0] - 2023-07-12
90
91### Fixed
92
93- Missing Area/line marker rewireing (on orientation change,
94 base dimension change) added.
95- Fixed line drawing for line segments partially outside of the plot.
96- Fixed label position for marker in polar origo.
97- Axis labels won't shift if their 'side' style changed but
98 their 'position' style is also changing or they are fading out anyway.
99- Axis labels won't fade in partially when fading out but their 'position'
100 style is also changing.
101- Axis titles fade-in/out when changing position instead of traveling through
102 the chart.
103- Axis titles are rotating with the axis during cartesian/polar coordinate
104 system change.
105- Fixed unintentional separate animation steps for specific dimension change
106 animations.
107- Fixed JS exception mishandling as C++ exception when thrown from webassembly.
108- Fixed showing big numbers greater than 18446744073709551615.
109- Fixed mouse events/selection on line-segment markers.
110- Vertical polar area chart tangential borders "follow" the coordinate system
111 instead of being forced to remain straight.
112
113### Added
114
115- New&renamed mouse events: pointeron, pointermove, pointerdown, pointerup
116- New drawing events: draw-begin, draw-complete, plot-area-draw
117- 'step' channel config parameter for set interlacing/tick/label intervals
118 on axises.
119- 'plot.areaColor' style parameter added.
120- Marker click works mid-animation.
121- Various aggregator functions for channels beside previous sole summing:
122 'min()', 'max()', 'mean()', 'sum()', 'count()', 'distinct()'.
123- New, fast bubble chart algorithm.
124- Data records can be specified via objects beside arrays.
125- Area/line rewiring animation (aka. connection) can be configured separately
126 in animation options.
127- WASM Binary size reduction.
128
129## [0.7.2] - 2023-05-09
130
131### Fixed
132
133- Animation finishes also it begining reached at reverse play.
134- Fixed garbage collection of stored charts and animations.
135- If dimension data series re-added, previously existed categories and order
136 will remains.
137
138### Added
139
140- New 'direction' anim option introduced.
141
142## [0.7.1] - 2023-02-24
143
144### Fixed
145
146- Title animation timing on first chart fixed.
147
148## [0.7.0] - 2023-02-23
149
150### Fixed
151
152- Fixed the UnPivot.convert method not modifying the original data object.
153- Axis line, labels, ticks, interlacing and guide can be set to auto.
154- Simple fade in case of empty target chart
155- Fixed length serialization in style() for % unit.
156- Fixed missing rendering update when duration is 0 in first animate call.
157- Fixed error on multiple calls of the JS chart's 'data' property.
158- Fixed disapearing title from empty charts.
159- Fixed animation cancelling, did not trigger promise rejection.
160- Fixed chart state reset on animation cancel. Used the target chart's config
161 further on despite the cancellation.
162- Fixed the type definition of Snapshot in the d.ts file.
163
164### Added
165
166- 'regroupStrategy' animation option introduced to control the algorithm for
167 transitioning between charts having the data grouped differently on them
168 (containing a different set of categorical dataseries).
169- Multi keyframe animation support (one animation through multiple chart).
170- 'style' property returns the style object only filled with the user-set
171 values, all the values (returned by this property till 0.6.x) can be get
172 using the new 'getComputedStyle()' method.
173- detach() method added to JS API for enabling proper garbage collection.
174- Actual animation can be stored for later reuse through Anim.Control.store()
175 method.
176- animate() returned promise is not an animation controller object from now on,
177 but has a member promise called 'activated', which resolves to the controller.
178- New style parameter, 'numberScale' has been introduced for setting the scale
179 system for big numbers e.g.: K M B T or k m bn tn.
180- Improved default options for animations: marker geometry, marker fade-in,
181 marker position, coordinate system, title.
182
183## [0.6.1] - 2022-11-22
184
185### Fixed
186
187- Treemap fixed for data series containing negative values.
188
189### Added
190
191- Transition (instead of fade) between chart showing different categorical
192 dataseries.
193
194## [0.6.0] - 2022-10-18
195
196### Fixed
197
198- Label side parameter animation fixed.
199- Parsing color palette string containing space fixed.
200- Fixed fontStyle change triggers animation now.
201- Fixed label angle setting with deg/grad/turn units.
202- Eliminated unnecessary turns in Label angle animation.
203- Fixed animation section wise easing settings.
204- Area/line marker label fade-in/out fixed.
205- Rare missing marker on polar scatterplot fixed.
206- Markers drawn even if data point is outside of the plot,
207 if the marker intersects it.
208- Fixed unwanted partial fade of non-changing legend when switched
209 between auto and explicit value.
210- Area/Line fade easing base made linear.
211- Fixed missing last interlacing lane in negative chart areas
212
213### Added
214
215- Axis line, labels, ticks, interlacing and guide can be switched on/off
216 via channel config parameters.
217- Padding defaults changed.
218- Marker labels added for some presets.
219
220## [0.5.2] - 2022-08-29
221
222### Fixed
223
224- Marker guides switch off on polar scatterplots for performance purposes.
225- Fixed unintentional size change of circle markers during polar-cartesian
226 coordinate system change and animation from/to treemap.
227- Fixed line width animation when geometry is changing.
228- Removed unwanted move around of marker linking first and last data point in
229 polar coordinates during animation.
230
231## [0.5.1] - 2022-07-14
232
233### Fixed
234
235- Typescript declaration files fixed.
236
237## [0.5.0] - 2022-07-13
238
239### Fixed
240
241- Allow more than 5 colors in TS color palette and gradient declaration.
242 The format won`t be checked in compile time, only in runtime.
243- animation-begin event called after actual animation is set up.
244- Animation control methods take effect immediately.
245- Wrong orientation after switching from circle geometry fixed.
246
247### Added
248
249- Presets introduced for specific chart types.
250- cancel() method added for animation causing the animation to reset back to
251 the start position and rejecting the animation promise.
252- Data series can be reset with new values, previously any attempt to set
253 series with existing name resulted in error.
254- Logging and rendering can be switched on/off through feature() method.
255- position animation parameter for setting starting position of the animation.
256- data property of the chart in JS API contains metadata about the data set.
257
258## [0.4.8] - 2022-06-30
259
260### Fixed
261
262- styles property of Vizzu class on JS API fixed (renamed to style).
263
264## [0.4.7] - 2022-03-18
265
266### Fixed
267
268- Runtime problem fixed for stacked charts.
269
270## [0.4.6] - 2022-03-12
271
272### Fixed
273
274- Fixed Vizzu.options() function signature in .d.ts file.
275
276## [0.4.5] - 2022-03-11
277
278### Fixed
279
280- Fixed canvas border clean on transparent background.
281
282### Added
283
284- URL of Wasm binary can be overriden using `Vizzu.options({ wasmUrl })`.
285
286## [0.4.4] - 2022-03-10
287
288### Fixed
289
290- User friendly error when methods called on unitialized library.
291- API throws exception instead of console log.
292
293### Added
294
295- Mouse event data contains mouse coordinates in plot coordinate system.
296- Mouse wheel event introduced.
297
298## [0.4.3] - 2022-01-31
299
300### Fixed
301
302- Transparent interlacing color prevented axis title draw - fixed.
303
304### Added
305
306- 3 hex character CSS color format support.
307- Vizzu logo is a link to the lib's web page.
308
309## [0.4.2] - 2021-12-22
310
311### Fixed
312
313- Fixed error on chart.animate({ style: null })
314
315## [0.4.1] - 2021-12-22 - deprecated
316
317## [0.4.0] - 2021-12-21
318
319### Fixed
320
321- Marker label fade-in/fade-out fixed, values are interpolated only if measure
322 is not changed on label channel.
323
324### Added
325
326- animate() method returns an animation control object,
327 animation control methods are chainable.
328- CSS properties can be used to style vizzu charts
329 E.g. `--vizzu-plot-marker-colorPalette: whatever` for `{style: {plot: {marker: {colorPalette: "whatever"}}}}`
330- `maxFractionDigits` style parameter added to labels showing numbers.
331- WASM build size reduction.
332
333## [0.3.3] - 2021-10-17
334
335### Fixed
336
337- NPM package and d.ts file fixed for TypeScript projects.
338
339## [0.3.2] - 2021-10-15
340
341### Fixed
342
343- Color range legend labels show min/max of color range instead of data min/max.
344- Logo bottom padding fixed.
345
346### Added
347
348- Parts of markers outside of plot area are getting clipped. This behaviour can
349 be controlled by style.plot.overflow parameter.
350- channel title parameter has "auto" value by default. "null" will switch the
351 title off.
352
353## [0.3.1] - 2021-09-24
354
355### Fixed
356
357- Data cube input recognition runtime error fixed.
358
359## [0.3.0] - 2021-09-23
360
361### Added
362
363- First public release