UNPKG

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