@swimlane/ngx-charts 22.0.0-alpha.1 → 23.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/CHANGELOG.md +760 -0
  2. package/fesm2022/swimlane-ngx-charts.mjs +289 -290
  3. package/fesm2022/swimlane-ngx-charts.mjs.map +1 -1
  4. package/index.d.ts +3887 -3
  5. package/package.json +8 -8
  6. package/lib/area-chart/area-chart-normalized.component.d.ts +0 -93
  7. package/lib/area-chart/area-chart-stacked.component.d.ts +0 -96
  8. package/lib/area-chart/area-chart.component.d.ts +0 -100
  9. package/lib/area-chart/area-chart.module.d.ts +0 -11
  10. package/lib/area-chart/area-series.component.d.ts +0 -33
  11. package/lib/bar-chart/bar-chart.module.d.ts +0 -19
  12. package/lib/bar-chart/bar-horizontal-2d.component.d.ts +0 -87
  13. package/lib/bar-chart/bar-horizontal-normalized.component.d.ts +0 -76
  14. package/lib/bar-chart/bar-horizontal-stacked.component.d.ts +0 -82
  15. package/lib/bar-chart/bar-horizontal.component.d.ts +0 -76
  16. package/lib/bar-chart/bar-label.component.d.ts +0 -28
  17. package/lib/bar-chart/bar-vertical-2d.component.d.ts +0 -87
  18. package/lib/bar-chart/bar-vertical-normalized.component.d.ts +0 -76
  19. package/lib/bar-chart/bar-vertical-stacked.component.d.ts +0 -84
  20. package/lib/bar-chart/bar-vertical.component.d.ts +0 -83
  21. package/lib/bar-chart/bar.component.d.ts +0 -48
  22. package/lib/bar-chart/series-horizontal.component.d.ts +0 -58
  23. package/lib/bar-chart/series-vertical.component.d.ts +0 -59
  24. package/lib/bar-chart/types/bar-chart-type.enum.d.ts +0 -5
  25. package/lib/bar-chart/types/bar.model.d.ts +0 -17
  26. package/lib/bar-chart/types/d0-type.enum.d.ts +0 -4
  27. package/lib/box-chart/box-chart.component.d.ts +0 -78
  28. package/lib/box-chart/box-chart.module.d.ts +0 -10
  29. package/lib/box-chart/box-series.component.d.ts +0 -42
  30. package/lib/box-chart/box.component.d.ts +0 -78
  31. package/lib/bubble-chart/bubble-chart.component.d.ts +0 -92
  32. package/lib/bubble-chart/bubble-chart.module.d.ts +0 -9
  33. package/lib/bubble-chart/bubble-chart.utils.d.ts +0 -4
  34. package/lib/bubble-chart/bubble-series.component.d.ts +0 -45
  35. package/lib/common/area.component.d.ts +0 -34
  36. package/lib/common/axes/axes.module.d.ts +0 -12
  37. package/lib/common/axes/axis-label.component.d.ts +0 -23
  38. package/lib/common/axes/ticks.helper.d.ts +0 -2
  39. package/lib/common/axes/x-axis-ticks.component.d.ts +0 -53
  40. package/lib/common/axes/x-axis.component.d.ts +0 -40
  41. package/lib/common/axes/y-axis-ticks.component.d.ts +0 -61
  42. package/lib/common/axes/y-axis.component.d.ts +0 -42
  43. package/lib/common/base-chart.component.d.ts +0 -45
  44. package/lib/common/chart-common.module.d.ts +0 -26
  45. package/lib/common/charts/chart.component.d.ts +0 -28
  46. package/lib/common/circle-series.component.d.ts +0 -80
  47. package/lib/common/circle.component.d.ts +0 -22
  48. package/lib/common/color.helper.d.ts +0 -15
  49. package/lib/common/constants/font-widths.d.ts +0 -88
  50. package/lib/common/count/count.directive.d.ts +0 -38
  51. package/lib/common/count/count.helper.d.ts +0 -10
  52. package/lib/common/domain.helper.d.ts +0 -18
  53. package/lib/common/grid-layout.helper.d.ts +0 -19
  54. package/lib/common/grid-panel-series.component.d.ts +0 -30
  55. package/lib/common/grid-panel.component.d.ts +0 -9
  56. package/lib/common/label.helper.d.ts +0 -12
  57. package/lib/common/legend/advanced-legend.component.d.ts +0 -38
  58. package/lib/common/legend/legend-entry.component.d.ts +0 -21
  59. package/lib/common/legend/legend.component.d.ts +0 -40
  60. package/lib/common/legend/scale-legend.component.d.ts +0 -19
  61. package/lib/common/shape.helper.d.ts +0 -7
  62. package/lib/common/svg-linear-gradient.component.d.ts +0 -16
  63. package/lib/common/svg-radial-gradient.component.d.ts +0 -19
  64. package/lib/common/tick-format.helper.d.ts +0 -1
  65. package/lib/common/timeline/timeline.component.d.ts +0 -36
  66. package/lib/common/tooltip/injection-registery.service.d.ts +0 -22
  67. package/lib/common/tooltip/injection.service.d.ts +0 -74
  68. package/lib/common/tooltip/position/index.d.ts +0 -2
  69. package/lib/common/tooltip/position/placement-type.enum.d.ts +0 -7
  70. package/lib/common/tooltip/position/position.d.ts +0 -56
  71. package/lib/common/tooltip/show.type.d.ts +0 -5
  72. package/lib/common/tooltip/style.type.d.ts +0 -4
  73. package/lib/common/tooltip/tooltip.component.d.ts +0 -30
  74. package/lib/common/tooltip/tooltip.directive.d.ts +0 -50
  75. package/lib/common/tooltip/tooltip.module.d.ts +0 -9
  76. package/lib/common/tooltip/tooltip.service.d.ts +0 -10
  77. package/lib/common/tooltip-area.component.d.ts +0 -47
  78. package/lib/common/trim-label.helper.d.ts +0 -1
  79. package/lib/common/types/bar-orientation.enum.d.ts +0 -4
  80. package/lib/common/types/gradient.interface.d.ts +0 -6
  81. package/lib/common/types/legend.model.d.ts +0 -16
  82. package/lib/common/types/orientation.enum.d.ts +0 -6
  83. package/lib/common/types/scale-type.enum.d.ts +0 -6
  84. package/lib/common/types/text-anchor.enum.d.ts +0 -5
  85. package/lib/common/types/view-dimension.interface.d.ts +0 -6
  86. package/lib/common/view-dimensions.helper.d.ts +0 -18
  87. package/lib/events.d.ts +0 -5
  88. package/lib/gauge/gauge-arc.component.d.ts +0 -31
  89. package/lib/gauge/gauge-axis.component.d.ts +0 -37
  90. package/lib/gauge/gauge.component.d.ts +0 -70
  91. package/lib/gauge/gauge.module.d.ts +0 -14
  92. package/lib/gauge/linear-gauge.component.d.ts +0 -49
  93. package/lib/gauge/percent-gauge/percent-gauge.component.d.ts +0 -47
  94. package/lib/heat-map/heat-map-cell-series.component.d.ts +0 -48
  95. package/lib/heat-map/heat-map-cell.component.d.ts +0 -34
  96. package/lib/heat-map/heat-map.component.d.ts +0 -94
  97. package/lib/heat-map/heat-map.module.d.ts +0 -10
  98. package/lib/line-chart/line-chart.component.d.ts +0 -104
  99. package/lib/line-chart/line-chart.module.d.ts +0 -10
  100. package/lib/line-chart/line-series.component.d.ts +0 -40
  101. package/lib/line-chart/line.component.d.ts +0 -21
  102. package/lib/models/chart-data.model.d.ts +0 -93
  103. package/lib/models/coordinates.model.d.ts +0 -8
  104. package/lib/ngx-charts.module.d.ts +0 -20
  105. package/lib/number-card/card-series.component.d.ts +0 -36
  106. package/lib/number-card/card.component.d.ts +0 -52
  107. package/lib/number-card/number-card.component.d.ts +0 -29
  108. package/lib/number-card/number-card.module.d.ts +0 -10
  109. package/lib/pie-chart/advanced-pie-chart.component.d.ts +0 -36
  110. package/lib/pie-chart/pie-arc.component.d.ts +0 -44
  111. package/lib/pie-chart/pie-chart.component.d.ts +0 -48
  112. package/lib/pie-chart/pie-chart.module.d.ts +0 -14
  113. package/lib/pie-chart/pie-grid-series.component.d.ts +0 -35
  114. package/lib/pie-chart/pie-grid.component.d.ts +0 -42
  115. package/lib/pie-chart/pie-label.component.d.ts +0 -39
  116. package/lib/pie-chart/pie-series.component.d.ts +0 -50
  117. package/lib/polar-chart/polar-chart.component.d.ts +0 -105
  118. package/lib/polar-chart/polar-chart.module.d.ts +0 -11
  119. package/lib/polar-chart/polar-series.component.d.ts +0 -64
  120. package/lib/polyfills.d.ts +0 -1
  121. package/lib/sankey/sankey.component.d.ts +0 -59
  122. package/lib/sankey/sankey.module.d.ts +0 -8
  123. package/lib/tree-map/tree-map-cell-series.component.d.ts +0 -43
  124. package/lib/tree-map/tree-map-cell.component.d.ts +0 -39
  125. package/lib/tree-map/tree-map.component.d.ts +0 -29
  126. package/lib/tree-map/tree-map.module.d.ts +0 -10
  127. package/lib/utils/calculate-width.d.ts +0 -1
  128. package/lib/utils/color-sets.d.ts +0 -8
  129. package/lib/utils/color-utils.d.ts +0 -25
  130. package/lib/utils/id.d.ts +0 -11
  131. package/lib/utils/sort.d.ts +0 -3
  132. package/lib/utils/throttle.d.ts +0 -18
  133. package/lib/utils/types.d.ts +0 -2
  134. package/lib/utils/visibility-observer.d.ts +0 -18
  135. package/public-api.d.ts +0 -118
package/CHANGELOG.md ADDED
@@ -0,0 +1,760 @@
1
+ # Changelog
2
+
3
+ ## HEAD (unreleased)
4
+
5
+ ## 23.0.0-alpha.0
6
+
7
+ - Enhancement: Added support for Angular 20
8
+ - Breaking: Removed support for Angular 17 and earlier versions
9
+
10
+ ## 22.0.0
11
+
12
+ - Enhancement: Support Angular 19, `standalone` now required in all `@Component`
13
+ - Enhancement: Update SASS and update for latest standard libraries
14
+ - Enhancement: Sankey Chart can now accept custom colors
15
+ - Fix: `update()` was not getting called on `@Input` changes
16
+
17
+ ## 21.1.3
18
+
19
+ - Fix: Fixed a bug where the mask ID for percent gauge chart would be regenerated on each update
20
+
21
+ ## 21.1.2
22
+
23
+ - Fix: Percent Gauge Chart: Ensures the circle mask ID is unique for each chart
24
+
25
+ ## 21.1.1
26
+
27
+ - Fix: Percent Gauge Chart: Fixes server-side-rendering
28
+ - Fix: Percent Gauge Chart: Fixes light theme
29
+ - Fix: Percent Gauge Chart: Makes target circle highlight only when target is reached
30
+
31
+ ## 21.1.0
32
+
33
+ - Feature: Add Percent Gauge chart type
34
+
35
+ ## 20.5.0
36
+
37
+ - Feature: Add Sankey diagram chart type
38
+
39
+ ## 20.4.1
40
+
41
+ - Bump: d3-array from 2.9.1 to 3.1.1
42
+ - Bump: d3-brush from 2.1.0 to 3.0.0
43
+ - Bump: d3-ease from 2.0.0 to 3.0.1
44
+ - Bump: d3-format from 2.0.0 to 3.1.0
45
+ - Bump: d3-hierarchy from 2.0.0 to 3.1.0
46
+ - Bump: d3-interpolate from 2.0.1 to 3.0.1
47
+ - Bump: d3-scale from 3.2.3 to 4.0.2
48
+ - Bump: d3-selection from 2.0.0 to 3.0.0
49
+ - Bump: d3-shape from 2.0.0 to 3.2.0
50
+ - Bump: d3-transition from 2.0.0 to 3.0.1
51
+ - Bump: moment-timezone from 0.5.28 to 0.5.40
52
+
53
+ ## 20.3.1
54
+
55
+ - Fix: In SSR mode, respect the tick length set and don't cut off the tick label.
56
+
57
+ ## 20.3.0
58
+
59
+ - Feature: ability to wrap ticks based on available space.
60
+
61
+ ## 20.1.2
62
+
63
+ - Bump: d3-color from 2.0.0 to 3.1.0 in library
64
+
65
+ ## 20.1.1
66
+
67
+ - Bump: d3-color from 2.0.0 to 3.1.0 in demo page
68
+
69
+ ## 20.1.0
70
+
71
+ - Fix: Cyclic import error caused by interface export in `PieGridComponent`.
72
+ - Fix: Remove angular animations when SSR on charts with series
73
+
74
+ ## 20.0.0
75
+
76
+ - Breaking: Upgrade Angular to v13
77
+
78
+ ## 19.2.0
79
+
80
+ - Fix: Change transition to CSS for Angular Universal fix
81
+
82
+ ## 19.1.0
83
+
84
+ - Feature: New Chart type: Box chart
85
+
86
+ ## 19.0.1
87
+
88
+ - Fix: remove remove barrel file causing issues running ngcc (#1667)
89
+
90
+ ## 19.0.0
91
+
92
+ - Chore: Remove inline styles on `heat-map-cell` and `tree-map-cell`
93
+ - Bug: Fix typing issues to support enabling `strictTemplates` option
94
+ - Breaking: Upgrade Angular to v12
95
+ - Bug: Fix `ColorHelper.customColors` typing to allow for functions or objects (#1641)
96
+ - Bug: Fix gradient background hover issue (#1158)
97
+
98
+ ## 18.0.1
99
+
100
+ - Bug: Use correct curve type
101
+ - Bug: include `@types/d3-shape` as a dependency in published package.
102
+
103
+ ## 18.0.0
104
+
105
+ - Breaking: Improve typing
106
+ - Bug: Fix timeline selection
107
+
108
+ ## 17.0.1
109
+
110
+ - Bug: Fix pie label component on SSR (#1583)
111
+ - Bug: Adjust scaleText for linear geauge and number cards on SSR (#1581)
112
+ - Bug: Disable animation on ssr and remove unnecesary call on ssr (#1579)
113
+
114
+ ## 17.0.0
115
+
116
+ - Breaking: Update to angular 11
117
+ - Bug: Improve SSR capabilities by approximating axis dimensions (#1567)
118
+ - Bug: Chart Tooltip does not work on touch devices (#1213)
119
+ - Chore: Remove bypassSecurityTrustStyle call (#1561)
120
+
121
+ ## 16.0.0
122
+
123
+ - Breaking: Update to angular 10
124
+ - Bug: Apply dataLabelFormatting to tooltip value in bar charts (#1419)
125
+
126
+ ## 14.0.0
127
+
128
+ - Chore: explicitly only suppot ng9
129
+
130
+ ## 13.0.3
131
+
132
+ - Chore: update dependecies
133
+ - Testing: update tests to not use animation
134
+
135
+ ## 13.0.2
136
+
137
+ - Regression bug: Allow ViewContainerRef as the injection service root
138
+
139
+ ## 13.0.1
140
+
141
+ - Bug: Fix AOT builds by removing barrel exports
142
+
143
+ ## 13.0.0
144
+
145
+ - Breaking: Upgrade to Angular 9. Add compatibility with Ivy
146
+ - Breaking: Remove deprecated force-directed graph chart
147
+ - Breaking: Remove release folder
148
+ - Bug: Sanitize tooltip labels (#1241)
149
+ - Bug: Fix line chart scaling on charts with large domain (#1204)
150
+ - Chore: Remove d3 dependency
151
+ - Chore: Update all d3 packages to latest versions
152
+
153
+ ## 12.1.0
154
+
155
+ - Enhancement: Sanitize tooltip labels (#1241)
156
+ - Bug: fix line chart scaling on charts with large domain (#1204)
157
+ - Bug: add check for undefined xScale in groupTransform (#1273)
158
+
159
+ ## 12.0.1
160
+
161
+ - Bug: Pass the correct number of parameters to fix production build (#1203)
162
+
163
+ ## 12.0.0
164
+
165
+ - Breaking: Upgrade to angular 8.0.0 (#1201)
166
+ - Breaking: Rework mouse events to make the format more consistent (#1185)
167
+ - Feature: Allow passing extra data to the data items and include it in click and activate events (#1185)
168
+
169
+ ## 11.2.0
170
+
171
+ - Feature: Made margins for pie chart component optional (#759)
172
+ - Feature: Added option to gauge to show or hide inner text (#1175)
173
+ - Feature: Added `noBarWhenZero` input to all bar related (#1086)
174
+ - Bug: Updated Color.Helper.ts to handle null values (#1167)
175
+ - Bug: Added missing export (#1193)
176
+ - Bug: Fixed chart height with large number of yAxisTicks (#1105)
177
+ - Chore: Bumped extract-text-plugin to version 3.0.2 (#861)
178
+ - Chore: Updated zone.js version to 0.9.1 (#1187)
179
+ - Docs: Deprecated force-directed graph chart (#1159)
180
+ - Docs: Fixed link typo in motivation.md (#1172)
181
+ - Docs: Added interactive bubble chart to demo (#1174)
182
+
183
+ ## 11.1.0
184
+
185
+ - Feature: added option to disable x axis tick rotation (#1139)
186
+ - Bug: Update peer dependency requirements
187
+
188
+ ## 11.0.1
189
+
190
+ - Bug: Fixes displaying of tooltip on IE 11 (#1157)
191
+
192
+ ## 11.0.0
193
+
194
+ - Breaking: Remove Angular location strategy from ChartCommonModule (#915)
195
+ - Any Angular applications, that rely on the pre-configured location strategy provided by ngx-charts, will need to set it separately
196
+ - Feature: Allow access to custom properties in tooltip templates (#555)
197
+ - Bug: Update tooltip positioning to correctly flip sides when there is not enough available space (#1136)
198
+ - Bug: Fixed combo Line and Bar chart not aligning (#1154)
199
+ - Chore: Removed unnecessary peer dependencies (#1140)
200
+ - Chore: Replaced bitwise operators with math.floor (#1151)
201
+ - Chore: Changed tree-map label class to avoid conflict (#1117)
202
+ - Chore: Remove unused property binding (#1120)
203
+ - Docs: motivation.md Typo fix (#1123)
204
+
205
+ ## 10.1.0
206
+
207
+ - Feature: Allow configuration of tick trimming on charts with X and Y axis (#870)
208
+ - Bug: Updated packages to remove event-stream vulnerability
209
+ - Bug: Fixed issue where advanced pie legend click emits the truncated (#1106)
210
+ - Bug: Fixed rotation to respect tick trimming
211
+ - Bug: Fixed Pie Chart flicker on Safari (#1068)
212
+ - Bug: Fixed issue where vertical bar chart is not showing X axis when all data values are negative (#1044)
213
+ - Chore: Removed unused param in GridPanelSeriesComponent (#1025)
214
+ - Chore: Added type check instead of truthy value for determining min/max in getRangeGenerator (#1042)
215
+ - Docs: Fixed typo (#1056)
216
+ - Docs: Fixed link in readme (#1053)
217
+ - Docs: Fixed documentation link (#1029)
218
+
219
+ ## 10.0.0
220
+
221
+ - Breaking: Upgraded to angular 7
222
+ - Feature: Implemented legend positioning
223
+ - Feature: Added accessibility attributes to bar charts (#977)
224
+ - Chore: Migrated to Renderer2 (#1021)
225
+ - Chore: getScaleType performance improvements (#995)
226
+ - Docs: Fixed value typo (#974)
227
+
228
+ ## 9.1.1
229
+
230
+ - Chore: Move d3 libraries back to dependencies (#1008)
231
+
232
+ ## 9.1.0
233
+
234
+ - Feature: Added ES Module Support (#1004)
235
+
236
+ ## 9.0.0
237
+
238
+ - Breaking: Changed the input of valueFormatting for the tree map chart from an object to number
239
+ - Feature: Added support for server side rendering (#919, #920, #921 )
240
+ - Bug: Fixed advanced-legend colors in print (#907)
241
+ - Bug: Fix value formatting for advanced legend (#906)
242
+ - Enhancement: Added option to set globalRootViewContainer in the InjectionService (#914)
243
+ - Chore: Added export for domain.helper (#894)
244
+ - Docs: Fixed Custom Charts Page link in README.md (#886)
245
+
246
+ ## 8.1.0
247
+
248
+ - Feature: Added configuration for label trimming on polar chart (#858)
249
+ - Feature: Added ability to set Min and Max values for heatmaps closes (#875)
250
+ - Fix: Export axes module (#872)
251
+ - Fix: Use animations for line-highlight depending on line-series animations (#856)
252
+
253
+ ## 8.0.2
254
+
255
+ - Bug: Fix pie chart label collision detection
256
+
257
+ ## 8.0.1
258
+
259
+ - Feature: Add dblclick to pie chart
260
+
261
+ ## 8.0.0
262
+
263
+ - Breaking: Upgrade to Angular 6
264
+
265
+ ## 7.4.0
266
+
267
+ - Feature: Data labels for bar charts (#752)
268
+ - Bug: Fix computation of X axis ticks angle (#820)
269
+
270
+ ## 7.3.0
271
+
272
+ - Feature: Added support for overriding x and y axis ticks (#723)
273
+ - Feature: Added support for area chart floor value (#684)
274
+ - Feature: Implemented min value scales for vertical and horizontal bar charts
275
+ - Enhancement: Performance improvements across multiple charts (#765, #758)
276
+ - Enhancement: Added support for overriding the min width of pie grid items (#762)
277
+ - Bug: Fixed error being thrown when results is undefined (#217)
278
+ - Bug: Fixed label input in pie-grid (#773)
279
+
280
+ ## 7.2.0
281
+
282
+ - Feature: Added bar-vertical yScaleMin (#732)
283
+ - Feature: Added support for label input in pie grid chart (#731)
284
+ - Bug: Avoid invalid paths when rect shape has 0 width or height (#742)
285
+ - Bug: Fix stacked bar chart negative values issue (#605)
286
+ - Chore: Added basic test of area-chart (#737)
287
+
288
+ ## 7.1.1
289
+
290
+ - Bug: Fixed template compile errors with fullTemplateTypeCheck (#730)
291
+
292
+ ## 7.1.0
293
+
294
+ - Feature: Added support for passing a function to the `customColors` input to all charts. (#676, #713)
295
+ - Feature: Added `trimLabels` and `maxLabelLength` inputs to pie chart (#716)
296
+ - Feature: Added inputs for formatting the name, value, and percentage in advanced pie chart (#719)
297
+ - Enhancement: Switched to using lettable rxjs operators (#683)
298
+ - Enhancement: Allow using the timeline for linear x scales (#624)
299
+ - Bug: Fixed line/area tooltip positioning in firefox (#671)
300
+ - Bug: Removed duplicate input declaration (#708)
301
+ - Bug: Fixed duplicate % sign in pie grid charts when animations are disabled (#685)
302
+
303
+ ## 7.0.1
304
+
305
+ - Fix: Export polyfills to fix AoT build issue with Angular 5 (#644)
306
+
307
+ ## 7.0.0
308
+
309
+ - Breaking: Added support for angular 5 (#633)
310
+ - Bug: Fixed 'ReferenceError: SVGElement is not defined' exception when using with angular universal (#587)
311
+ - Bug: Fixed NaN issue on Advanced Pie Chart (#597)
312
+ - Bug: Changed onDeactivate in the gauge component to emit the correct value instead of the event value from the global scope (#613)
313
+
314
+ ## 6.1.0
315
+
316
+ - Feature: Added inputs to control minimum and maximum values on the axes (#582, #359)
317
+ - Feature: Added input to enable/disable animations (#565)
318
+ - Feature: Added designatedTotal Input for Pie Grid (#554)
319
+ - Enhancement: Don't transform text to uppercase in legends and labels (#578)
320
+ - Enhancement: Changed legends and label colors (#578)
321
+ - Enhancement: Increased font size in advanced legend and number cards subtext (#578)
322
+ - Enhancement: Hide legend title when title is missing (#578)
323
+ - Enhancement: Added x-axis value to the context of a bubble chart tooltip (#530)
324
+ - Bug: Removed path from SVG refs to fix gradients not working when URL has queryString (#584)
325
+ - Bug: Fixed bug where value arc animation on gauge chart would start from 0 on update (#563)
326
+ - Bug: Removed date conversion for name-value at series-tooltip (#544)
327
+ - Bug: Added null check for rootComponents in injection service (#574)
328
+ - Bug: Fixed issue where the tooltip would not appear for certain points (#501)
329
+ - Bug: Fixed issue where pie chart colors would not update on color changes (#551)
330
+ - Bug: Added polyfill for SVGElement.prototype.contains (#386)
331
+ - Bug: Renamed ngOutletContext (deprecated) to ngTemplateOutletContext (#535)
332
+ - Docs: Added custom chart page
333
+
334
+ ## 6.0.1
335
+
336
+ - Bug: Fixed line chart stroke color
337
+ - Bug: Fixed timeline width and alignment
338
+ - Bug: Fixed truncation of legend text (#487)
339
+ - Chore: Removed patch numbers from peerDependencies (#478)
340
+
341
+ ## 6.0.0
342
+
343
+ - Breaking: Removed `showSeriesOnHover` option of line-chart
344
+ - Refactor: Improved performance of line and area chart tooltips (#463)
345
+ - Enhancement: Added `roundEdges` input property to bar charts (#408)
346
+ - Enhancement: Tooltip elements are not created if tooltips are disabled (#415)
347
+ - Enhancement: Added the option to define reference lines in line charts (#422)
348
+ - Enhancement: Improved animations
349
+ - Bug: Fixed timeline select issue (#425)
350
+ - Chore: Upgraded angular to 4.2.5
351
+ - Demo: Added timeline filter bar chart demo
352
+ - Demo: Added Combo chart (bar and line) demo (#432)
353
+
354
+ ## 5.3.1
355
+
356
+ - Bug: Fix bug where the axis component would not emit a dimensionsChanged event in some cases
357
+
358
+ ## 5.3.0
359
+
360
+ - Feature: Added option to pass custom ng-templates for tooltips to all charts
361
+ - Enhancement: Added 'label' input to advanced pie chart component
362
+ - Enhancement: Exposed xOrient and yOrient properties on axis components
363
+ - Enhancement: Set default dimensions if width or height are undefined or 0
364
+ - Enhancement: Set a default color scheme
365
+ - Bug: Fixed bubble chart overriding the view input
366
+ - Bug: Fixed linear color scheme when there are less than 3 colors
367
+ - Bug: Fixed gradient not applying to straight lines
368
+ - Demo: Added sparkline custom demo chart
369
+ - Demo: Added interactive treemap demo chart
370
+
371
+ ## 5.2.1
372
+
373
+ - Bug: Remove RGBColor type from color-util file (#394)
374
+
375
+ ## 5.2.0
376
+
377
+ - Feature: Added Polar/Radar chart type (#380)
378
+ - Enhancement: Disable pointer if no click events are attached to number cards (#378)
379
+ - Enhancement: Added gradient to tree map chart (#382)
380
+ - Enhancement: Added support for inverted colors from rgba values in number cards (#366)
381
+ - Enhancement: Added value and label formatting to tree map (#383)
382
+ - Refactor: loremess restrictive angular dependency versioning (#358)
383
+ - Bug: Fixed types in gauge chart (#364)
384
+ - Bug: Fixed axis and tooltips on bubble chart (#352)
385
+ - Bug: Added styleUrls and changeDetection to bubble chart
386
+ - Bug: Truncate dimension values
387
+ - Bug: Fixed number card count animation (#387)
388
+ - Bug: Added type to gauge chart valueFormatting parameter (#388)
389
+
390
+ ## 5.1.2
391
+
392
+ - Bug: Fix number card scaling in hybrid apps using ngUpgrade (#338)
393
+ - Bug: Fix label trimming and clipped SVGs (#340)
394
+
395
+ ## 5.1.1
396
+
397
+ - Bug: Add default value for label format (#334)
398
+
399
+ ## 5.1.0
400
+
401
+ - Enhancement: Added valueFormatting input to number card chart (#325)
402
+ - Enhancement: Added label formatting input to number card chart (#332)
403
+ - Enhancement: Added tooltipText to pie charts (#331)
404
+ - Enhancement: Added option in line-chart for disabling series on hover (#323)
405
+ - Enhancement: Added an input for custom legend title (#317)
406
+ - Bug: Fixed number card text scaling when values change (#330)
407
+ - Bug: Inverted y-axis on horizontal bar charts (#328)
408
+ - Bug: Fix division by zero in pie label component
409
+
410
+ ## 5.0.1
411
+
412
+ - Enhancement: `valueFormatting` applies to Gauge Arc Labels too
413
+
414
+ ## 5.0.0
415
+
416
+ - Breaking: Upgrade to angular 4
417
+
418
+ ## 4.4.0
419
+
420
+ - Feature: Added ability to set card text color in number card (#284)
421
+ - Enhancement: Added more heatmap options and support for various inputs for innerPadding (#297, #301)
422
+ - Enhancement: Added valueFormatting input to linear gauge chart
423
+ - Enhancement: Added valueFormatting input to gauge chart
424
+ - Enhancement: Added labelFormatting input to pie chart
425
+ - Enhancement: Updated pie chart label animations (#291)
426
+ - Bug: Fixed pie chart positioning
427
+ - Bug: Fixed ticks calculation on resize (#295)
428
+ - Bug: Fixed percentage value in pie grid when the total is 0 (#288)
429
+ - Bug: Fixed date formatting in bubble chart tooltips (#285)
430
+ - Bug: Fixed Scale.round error in line chart (#287)
431
+ - Chore: AOT error fixes
432
+
433
+ ## 4.3.0
434
+
435
+ - Enhancement: Improved pie chart label positioning (#273)
436
+ - Enhancement: Improved number card design and scaling (#272)
437
+ - Chore: Refactored charts to use d3 modules directly in library components (#270)
438
+
439
+ ## 4.2.1
440
+
441
+ - Bug: Fixed customColors mapping
442
+ - Chore: Various AoT compilation and build improvements (#255, #257, #258, #259, #256, #263, #260, #266)
443
+
444
+ ## 4.2.0
445
+
446
+ - Chore: AoT compilation compatibility improvements (#253, #252, #251)
447
+ - Enhancement: Added option to disable tooltips (#223)
448
+
449
+ ## 4.1.3
450
+
451
+ - Enhancement: Added option to override the value in gauge chart
452
+ - Bug: Fixed padding on bubble charts
453
+ - Chore: Compile SCSS into CSS before building
454
+ - Chore: Expor ChartComponent through the main module
455
+
456
+ ## 4.1.2
457
+
458
+ - Bug: Fix tooltip when axis labels are not shown in bubble chart
459
+ - Bug: Do not round scales when they are not linear
460
+ - Enhancement: Show Axis labels in bubble chart tooltip (#210)
461
+
462
+ ## 4.1.1
463
+
464
+ - Bug: Fix items not always deactivating on bubble chart
465
+ - Bug: Fix bubbles not showing for when y value is 0
466
+ - Bug: Fix realtime data generator on demo page for line and area charts
467
+
468
+ ## 4.1.0
469
+
470
+ - Feature: Added scatter/bubble chart (#197)
471
+ - Bug: Made line-area-tooltip anchor visible on light theme
472
+ - Bug: Fixed precision on pie grid percentage values (#202)
473
+
474
+ ## 4.0.3
475
+
476
+ - Bug: Update zone.js version
477
+
478
+ ## 4.0.2
479
+
480
+ - Bug: Fixed css scope
481
+ - Bug: Fixed vertical alignment issue of advanced pie legend
482
+ - Bug: Fixed AOT issue where scss files were missing in the release folder
483
+ - Chore: Made tooltip injector use Renderer
484
+ - Chore: Updated Angular to 2.4.5
485
+
486
+ ## 4.0.1
487
+
488
+ - Bug: Fixed regressions from CSS refactor
489
+
490
+ ## 4.0.0
491
+
492
+ - Enhancement: Added `barPadding` and `groupPadding` properties to bar-charts (#185)
493
+ - Enhancement: Added `innerPadding` property for heatmap, to control padding between cells (#165)
494
+ - Enhancement: Added `axisTickformatting` property to bar, area, line, gauge and heatmap charts, for custom axis tick formatting (#167)
495
+ - Enhancement: Added `innerRadius` property to pie charts, Fixes #104 (#162)
496
+ - Enhancement: Added `roundDomain` property to all charts with axis, allowing it to round the domains to nice values (#183)
497
+ - Enhancement: Added animation to areaTooltip anchors (#183)
498
+ - Bug: Charts not rendering if container is hidden by default (#170)
499
+ - Bug: Use old parent dimensions if new dimensions are undefined or 0
500
+ - Bug: Fixed axis number formatting (#171)
501
+ - Chore: Updated dependencies
502
+ - Chore: Replaced moment with d3 timeFormat. Moment.js is no longer a dependency (#173)
503
+ - Chore: Only include used Rxjs operators to decrease file size (#169)
504
+ - Chore: Refactored CSS and embedded it into the chart components. No need to import the css file separately any longer. [Breaking change]
505
+
506
+ ## 3.1.2
507
+
508
+ - Enhancement: Add `ngx-charts-outer` class to `ngx-charts` inner element
509
+ - Chore: Update dependencies
510
+
511
+ ## 3.1.1
512
+
513
+ - Fixed bug where activated lines and areas would not deactivate when mouse leaves the circle
514
+ - Added fade in animation to active circle line
515
+
516
+ ## 3.1.0
517
+
518
+ - Added min and max ranges option to line charts (#160)
519
+ - Added margin support for Gauge charts (#159)
520
+ - Added animation to pie chart label
521
+ - Replaced window.location with angular's Location provider
522
+ - Fixed axis tick overlap in gauge chart when the angle span is 360
523
+ - Replaced .children with .getElementsByTagName in area tooltip to fix error in IE11 (#157)
524
+
525
+ ## 3.0.7
526
+
527
+ - Changed arc colors on gauge charts to be based on name, not value
528
+
529
+ ## 3.0.6
530
+
531
+ - Fixed typo in circle series (#149)
532
+ - Fixed gradient bug in heatmap
533
+ - Updated Axis components to allow tick count to be an input
534
+ - Changed scaleText methods on gauge charts to not be recursive
535
+
536
+ ## 3.0.5
537
+
538
+ - Added the group name in grouped bar tooltips
539
+ - Added legend to gauge chart
540
+ - Added tooltips to gauge chart
541
+
542
+ ## 3.0.4
543
+
544
+ - Fixed broken count animation in number card
545
+ - Fixed tooltip for hybrid apps
546
+ - Cody lint updates
547
+
548
+ ## 3.0.3
549
+
550
+ - Namespaced the project to swimlane organization
551
+
552
+ ## 3.0.2
553
+
554
+ - Exported ColorHelper class
555
+
556
+ ## 3.0.1
557
+
558
+ - Updated tooltips to latest version from ngx-ui
559
+
560
+ ## 3.0.0
561
+
562
+ - Renamed project to ngx-charts
563
+ - Prefixed component selectors with ngx-charts-
564
+ - Upgraded angular to 2.4.1
565
+ - Implemented BaseChartComponent as an angular component and set up proper component inheritance
566
+ - Converted color helper to a class
567
+ - Implemented linear color schemes for bar, line and area charts and added schemeType input
568
+ - Added support for multiple values in gauge chart
569
+ - Implemented linear gauge chart
570
+ - Implemented triggering legend item activation when chart items are being hovered
571
+
572
+ ## 2.0.0
573
+
574
+ - BREAKING: Renamed `clickHandler` to `select` (#120)
575
+ - Bug: Tooltips show up in top left corner sometimes
576
+ - Polish: Tooltips have animation entry now
577
+ - Polish: Add highlight gradient and column when hovering a circle
578
+ - Polish: Remove outline on focus (#106)
579
+ - Polish: Make pie grid less ugly (#90)
580
+ - Polish: Highlighting a line/area chart in legend, defocuses others
581
+ - Polish: Radial gradients on pie charts vs linear
582
+ - Polish: Better sizing for heatmap legends
583
+ - Chore: Refactor Advanced Legend (#125)
584
+ - Chore: Webpack html templates for Google Analytics
585
+
586
+ ## 1.9.0
587
+
588
+ - Enhancement: Hover of legend doesn't highlight bar (#73)
589
+ - API: Added `activate` and `deactivate` events to chart for hovers
590
+ - Bug: Fix number card positioning due to count up
591
+ - Bug: Fix decimal places on advanced pie legend
592
+ - Chore: Fix rx mapping (#123)
593
+ - Polish: Tweak label color bg
594
+ - Polish: Tweak circle / heat map tooltip titles
595
+ - Perf: Improve perf of circles using ngIf
596
+
597
+ ## 1.8.2
598
+
599
+ - Bug: Fix for number cards not updating to last value
600
+ - Bug: Revert RxJS Import Optimized (#62) due to (#119)
601
+ - Polish: Added animation on treemap
602
+ - Polish: Better formatting for treemap values
603
+ - Polish: Added animation on advanced pie
604
+ - Polish: Added animation on pie grid
605
+
606
+ ## 1.8.1
607
+
608
+ - Polish: Treemap/Number card label color improvements
609
+ - Polish: Tooltip formatting improvements
610
+ - Backlog: RxJS Import Optimized (#62)
611
+ - Backlog: AoT fixes
612
+
613
+ ## 1.8.0
614
+
615
+ - Renamed CommonModule to ChartCommonModule to fix name conflicts with other frameworks #109
616
+ - Converted date objects to formatted strings in some charts
617
+ - Removed rounded corners on thin bars
618
+ - Improved on destroy hooks in tooltips
619
+ - Merged `legendLabelClick` output into `select` output
620
+ - Fixed legend click data format
621
+
622
+ ## 1.7.3
623
+
624
+ - Fixed pie chart labels going out of bounds
625
+ - Updated area tooltip formatting and legend colors for dates
626
+ - Updated numbercard height scale max size
627
+
628
+ ## 1.7.2
629
+
630
+ - Bug: Fix number card text scaling
631
+ - Added custom timeline background element
632
+ - Wrapped timeline updates in zone.run
633
+ - Style updates
634
+
635
+ ## 1.7.1
636
+
637
+ - Bug: Advanced Pie Legend not clickable
638
+ - Bug: Date equality not scaling properly
639
+
640
+ ## 1.7.0
641
+
642
+ - Enhancement: Added `legendLabelClick` event
643
+ - Enhancement: Properly format labels and numbers in axis, tooltips, and legends
644
+ - Bug: Fix typo in legend eye class
645
+ - Style: Hover styling for legend entries
646
+ - Chore: Upgrade to Angular 2.2.2
647
+ - Chore: Better Webpack Config
648
+ - Chore: Normalized exports
649
+
650
+ ## 1.6.3
651
+
652
+ - Bug: Wrap all updates in zone.run to fix issue in hybrid apps
653
+ - Perf: Add starting value to reduce calls
654
+ - Bug: Fix sorting in line and area charts
655
+ - Bug: Fix change detection in hybrid Angular applications
656
+ - Style: Better tooltip styling
657
+
658
+ ## 1.6.2
659
+
660
+ - Chore: Export BaseCharts
661
+ - Perf: Switch change detection strategy to OnPush
662
+
663
+ ## 1.6.1
664
+
665
+ - Bug: Don't do rounded edges on bars smaller than their radius
666
+ - Bug: Scale number cards by height
667
+ - Bug: Set text inside number cards to prevent overflow (#89)
668
+ - Bug: Format numbers and dates according to locale
669
+ - Bug: Fix timeline width when no legend is present
670
+ - Bug: Embed charts into timeline; Restyle timeline
671
+ - Bug: Show percentages in tooltips for normalized bar charts (#79)
672
+ - Chore: Change legend class name to prevent style conflicts (#98)
673
+ - Chore: Upgrade to Angular 2.2.1
674
+ - Chore: Fix tooltips in hybrid apps
675
+
676
+ ## 1.6.0
677
+
678
+ - Added gauge chart
679
+ - Fixed source map file name
680
+ - Fixed bug where grid panels in grouped bar chart would have the wrong size and position
681
+
682
+ ## 1.5.2
683
+
684
+ - Added fade in animation to charts
685
+ - Excluded d3 from the release bundle
686
+ - Decreased the pie grid doughnut width
687
+
688
+ ## 1.5.1
689
+
690
+ - Fixed bug where view dimension feedback would enter into a loop due to float decimals
691
+ - Fixed bug where tree map would not call update on the base chart
692
+ - Switched legend label truncation to css ellipsis
693
+ - Added maximum height to legend, and scrollbars on overflow
694
+ - Added a count up animation to number cards
695
+ - Fixed advanced pie layout
696
+ - Updated pie grid layout and padding
697
+ - Refactored pie grid to use the pie arc component
698
+ - Updated testing framework
699
+
700
+ ## 1.5.0
701
+
702
+ - Added force directed graph chart (#64)
703
+ - Fixed bug where tooltip would not work when library is used in an angular 1 application using ngUpgrade
704
+ - Fixed tooltip positioning
705
+ - Added line interpolation option for line and area charts (#52)
706
+ - Updated view dimension calculation to properly take into account the width and height of the axis tick labels.
707
+ - Various bug fixes and code style fixes
708
+
709
+ ## 1.4.0
710
+
711
+ - Chore: Upgrade Webpack 2.25
712
+ - Chore: Remove rollup in favor of webpack builds
713
+
714
+ ## 1.3.0
715
+
716
+ - Added option to resize charts to fit containers if `view` property is not set (#44)
717
+ - Fixed legend size and positioning (#47)
718
+ - Added scale legend to heat map chart
719
+ - Added option to show/hide the grid lines on the chart (#53)
720
+ - Added support for negative values in bar charts (#17)
721
+ - Fixed bug with reduce call (#56)
722
+ - Changed the tooltip to be hidden initially in order to avoid overflow and scrollbars. (#57)
723
+ - Fixed AOT bugs (#46)
724
+
725
+ ## 1.2.2
726
+
727
+ - Added AOT compilation support
728
+ - Fixed bug where BrowserModule was imported multiple times
729
+
730
+ ## 1.2.1
731
+
732
+ - Added transition animation to TreeMap chart
733
+ - Added tooltips to TreeMap, Line, Area, and Pie Grid charts
734
+ - Fixed TreeMap click event
735
+ - Updated TreeMap label positioning and style
736
+ - Changed the starting opacity of bars in bar chart
737
+ - Updated the circles behavior on Line and Area charts
738
+
739
+ ## 1.2.0
740
+
741
+ - Added Tooltips to charts
742
+ - Added TreeMap chart
743
+
744
+ ## 1.1.0
745
+
746
+ - Upgraded to Angular 2.0.0
747
+ - Upgraded to TypeScript 2.0.2
748
+ - Added timeline line and area charts
749
+ - Removed margin from inputs
750
+ - Prevented charts from double rendering on init
751
+ - Added transition animations to pie, line and area charts, and updated transitions on bar charts
752
+
753
+ ## 1.0.1
754
+
755
+ - Implemented smart axis labels (#32)
756
+ - Upgraded D3 to 4.0 (#6)
757
+
758
+ ## 1.0.0
759
+
760
+ - Initial release